* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
}

body {
    font-family: 'Open Sans', 'Helvetica Neue', Arial, sans-serif;
    background-color: #F5F7FA;
    color: #333;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* ===== HEADER ===== */
.top-header {
    background-color: #FFFFFF;
    width: 100%;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 50px 12px 75px;
    max-width: 1300px;
    margin: 0 auto;
    width: 100%;
}

.header-left {
    display: flex;
    align-items: center;
}

.header-logo-img {
    height: 85px;
    width: auto;
    display: block;
}

.cdmx-logo {
    display: flex;
    align-items: center;
    gap: 6px;
}

.shield-svg {
    width: 70px;
    height: 70px;
}

.flower-svg {
    width: 70px;
    height: 70px;
    margin-left: -4px;
}

.cdmx-text {
    display: flex;
    flex-direction: column;
    margin-left: 8px;
    line-height: 1.1;
}

.cdmx-title {
    font-size: 13px;
    font-weight: 700;
    color: #6B1730;
    letter-spacing: 0.5px;
}

.cdmx-subtitle {
    font-size: 8px;
    font-weight: 600;
    color: #6B1730;
    letter-spacing: 0.3px;
    margin-top: 2px;
}

.vertical-divider {
    width: 1px;
    height: 35px;
    background-color: #B0B0B0;
    margin: 0 14px;
}

.secretaria-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.secretaria-line {
    font-size: 11px;
    font-weight: 700;
    color: #555;
    letter-spacing: 0.3px;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-right: 30px;
}

.nav-link {
    color: #555;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.nav-link:hover {
    color: #9F2241;
}

.nav-separator {
    color: #888;
    font-size: 13px;
}

.red-line {
    width: 100%;
    height: 8px;
    background-color: #9F2241;
}

/* ===== MAIN CONTENT ===== */
.main-content {
    flex: 1;
    padding: 90px 50px 80px 50px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.container {
    display: flex;
    gap: 180px;
    width: 100%;
    max-width: 1300px;
    justify-content: center;
    align-items: stretch;
}

.card {
    background-color: #FFFFFF;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    border: 1px solid #E5E5E5;
}

/* ===== DATOS PERSONALES CARD ===== */
.datos-card {
    width: 340px;
    height: 420px;
    padding: 0;
    background-color: #FFFFFF;
    border: 1px solid #E5E5E5;
    border-radius: 4px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.card-header {
    text-align: center;
    padding: 14px 26px;
    margin-bottom: 0;
    background-color: #F7F7F7;
    border-bottom: 1px solid #ECECEC;
}

.card-header h2 {
    color: #4FC3F7;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 1.2px;
    font-family: 'Open Sans', 'Helvetica Neue', Arial, sans-serif;
}

.card-body {
    padding: 22px 26px 22px 26px;
    display: flex;
    flex-direction: column;
    gap: 18px;
    flex: 1;
    justify-content: space-evenly;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-size: 12px;
    font-weight: 400;
    color: #555;
    margin-bottom: 6px;
    letter-spacing: 0.3px;
    font-family: 'Open Sans', 'Helvetica Neue', Arial, sans-serif;
}

.form-group input {
    background-color: #EEEEEE;
    border: 1px solid #DDDDDD;
    border-radius: 4px;
    padding: 9px 12px;
    font-size: 13px;
    color: #555;
    font-family: 'Open Sans', 'Helvetica Neue', Arial, sans-serif;
    font-weight: 400;
    cursor: not-allowed;
}

.form-group input:focus {
    outline: none;
}

/* ===== VALIDACIÓN CARD ===== */
.validacion-card {
    width: 580px;
    height: 420px;
    padding: 22px 26px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0;
    border: 1px solid #ECECEC;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
    background-color: #FFFFFF;
    border-radius: 4px;
}

.validacion-title {
    color: #C8102E;
    font-size: 24px;
    font-weight: 600;
    line-height: 1.2;
}

.license-icon {
    width: 100%;
    display: flex;
    justify-content: center;
}

.license-icon svg,
.license-icon-img {
    width: 100%;
    height: auto;
    display: block;
}

/* ===== FOOTER ===== */
.bottom-footer {
    width: 100%;
    margin-top: auto;
}

.footer-band {
    width: 100%;
    height: 8px;
    background-color: #D4B888;
}

.footer-content {
    background-color: #FFFFFF;
    padding: 16px 50px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding-left: 25%;
}

.footer-logo-img {
    height: 85px;
    width: auto;
    display: block;
}

.footer-logo {
    justify-content: flex-start;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
    .container {
        flex-direction: column;
        align-items: center;
    }

    .header-inner {
        padding: 12px 20px;
    }

    .secretaria-text {
        display: none;
    }

    .vertical-divider {
        display: none;
    }
}
