
/* Basico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;

}

.container {
    width: 100%;
    max-width: 1200px;
}

label {
    display: block;
    color: #333;
    font-weight: 500;
    margin-bottom: 8px;
    font-size: 0.95rem;
}

label span {
    color: #2F6DEA;
}

input {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

input:focus {
    outline: none;
    border-color: #2F6DEA;
}

.w-100 {
    width: 100%;
}

/* Botones */
.btn-primary-yellow {
    padding: 16px;
    background: #ffc107;
    border: none;
    border-radius: 8px;
    color: #333;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: 0.3s;
}

.btn-primary-yellow:hover {
    background: #ffb300;
}

.btn-primary-blue {
    padding: 16px;
    background: #2b4a9e;
    border: none;
    border-radius: 8px;
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: 0.3s;
}

.btn-primary-blue:hover {
    background: #1f43a7;
}

.btn-secondary-yellow {
    width: 100%;
    padding: 16px;
    background: #fff;
    border: 2px solid #ffc107;
    border-radius: 8px;
    color: #444444;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s;
    margin-top: 12px;
}

.btn-secondary-yellow:hover {
    background: #ffc107;
    color: #2B2B2B;

}


.btn-secondary-blue {
    width: 100%;
    padding: 16px;
    background: white;
    border: 2px solid #2b4a9e;
    border-radius: 8px;
    color: #444444;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s;
    margin-top: 12px;
}

.btn-secondary-blue:hover {
    background: #2b4a9e;
    color: white;
}

.phone-btn {
    background: white;
    padding: 12px 24px;
    border-radius: 99px;
    text-decoration: none;
    color: #333;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px solid #e0e0e0;
    display: none;
}

.phone-btn i {
    color: #2B4A9E;
    font-size: 16px;
}

.help-text {
    margin-top: 20px;
    color: #666;
    font-size: 0.95rem;
    line-height: 1.5rem;
}

.help-text a {
    color: #2b4a9e;
    text-decoration: none;
    font-weight: 600;
}

/* Header */
header {
    z-index: 10;
    width: 100%;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 8px;
}



.logo img {
    height: 70px;
}

.side-img {
    width: 100%;
    max-width: 520px;
    margin-left: auto;
    display: block;
}

/* Inicio */

.main-body {
    background-image: url('../img/bg-certificado.jpg');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
}


.main-content {
    padding: 20px;
}

.main-content .main-row {
    min-height: calc(100vh - 186px);
    padding-bottom: 30px;
}


.white-box {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    background: #fff;
    padding: 30px;
    border-radius: 12px;
}

form .btn-primary-yellow {
    margin-top: 16px;
}

h1 {
    color: #2b4a9e;
    font-size: 2.5rem;
    margin-bottom: 12px;
    font-weight: 700;
}

.subtitle {
    color: #555;
    font-size: 1rem;
    line-height: 1.5rem;
    padding-bottom: 12px;
}

/* Listado y vista previa */

.sidebar-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1c1d1f;
    margin-bottom: 20px;
}

.recipient-info {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.recipient-avatar {
    width: 60px;
    height: 60px;
    background: #284473;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
}

.recipient {
    font-size: 1rem;
    line-height: 1.6rem;
    font-weight: 600;
    color: #1c1d1f;
}

.doc,
.certificate-date {
    font-weight: 400;
    color: #444444;
}

.certificate-card {
    padding: 16px;
    transition: transform 0.2s, box-shadow 0.2s;
    border-bottom: solid 1px #cecece;
}

.certificate-card:last-child {
    border: none;
}

.certificate-instructor,
.certificate-title,
.certificate-header {
    padding: 4px 0;
}

.certificate-image {
    width: 100%;
}

.cf-turnstile{
        margin-top: 20px;
    justify-content: center;
    display: flex;
    border-radius: 5px;
}



@media (max-width: 1024px) {

    .side-img {
        margin: 0;
    }

}

@media (max-width: 768px) {
    .main-container {
        background: white;
    }


    .phone-btn {
        position: fixed;
        bottom: 20px;
        right: 20px;
        z-index: 1000;
    }

    h1 {
        font-size: 2rem;
    }

    .image-section {
        display: none;
    }

    .help-text, .helpnes{
        background: white;
        padding: 10px;
        border-radius: 10px;
        border: 1px solid rgb(216, 216, 216);
    } 
}