html, body {
    height: 100%;
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: #f3f3f3;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}


main {
    flex: 1;
    position: relative;
}

/* HEADER */
.custom-top-wrapper {
    background: #f3f3f3;
}

/* .custom-top-title {
    height: 34px;
    display: flex;
    align-items: center;
    padding: 0 14px;
    color: #cfcfcf;
    font-size: 15px;
    font-weight: 500;
} */

.custom-topbar {
    height: 72px;
    background: #a90d0d;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 0 18px;
}

.custom-topbar .help-icon {
    color: #ffffff;
    font-size: 22px;
    font-weight: 700;
    text-decoration: none;
    line-height: 1;
}
.topbar-left {
    position: absolute;
    left: 20px;
}

.menu-logo {
    height: 26px;
    object-fit: contain;
}

.topbar-right {
    margin-left: auto;
}
/* CONTENT AREA */
.page-bg {
    min-height: calc(100vh - 72px - 74px);
    background: #f3f3f3;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

/* CARD */
.activation-card {
    width: 400px;
    background: #f5f5f5;
    border-radius: 10px;
    padding: 50px 40px 30px;
    text-align: center;
}

/* ICONO */
.activation-icon {
    width: 90px;
    height: 90px;
    margin: 0 auto 20px;
    position: relative;
    background: rgba(200, 0, 0, 0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* icono tipo cohete + check usando emoji (simple y elegante) */
.activation-icon span {
    font-size: 42px;
}

/* TITULO */
.activation-card h2 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 30px;
    color: #222;
}

/* TEXTO */
.activation-card p {
    font-size: 14px;
    color: #333;
    margin-bottom: 10px;
}

/* BOTON */
.activation-btn {
    margin-top: 35px;
    width: 100%;
    height: 44px;
    border-radius: 6px;
    background: #0d5aa7;
    border: none;
    color: #fff;
    font-size: 16px;
    transition: 0.2s;
}

.activation-btn:hover {
    background: #0b4c8d;
}


/* FOOTER EXACTO */
.custom-footer {
    height: 74px;
    background: #efefef;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 40px;
}

.footer-container {
    display: flex;
    align-items: stretch;
}

.footer-logo {
    background: white;
    display: flex;
    align-items: center;
    padding: 0 12px;
}

.footer-logo img {
    height: 48px;
}

.footer-box-1 {
    background: #595A5C;
    color: white;
    font-size: 12px;
    padding: 10px 14px;
    display: flex;
    align-items: center;
    line-height: 1.2;
}

.footer-box-2 {
    background: #9a9b9c;
    color: white;
    font-size: 12px;
    padding: 10px 14px;
    display: flex;
    align-items: center;
    line-height: 1.2;
}

/* LOGIN PAGE */
.login-page {
    min-height: calc(100vh - 72px - 74px); /* header + footer */
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f3f3f3;
    padding: 30px 20px;
}

.login-wrapper {
    width: 380px;
    position: relative;
    z-index: 2;
}

.login-card {
    background: #f5f5f5;
    border-radius: 8px;
    padding: 28px 28px 26px;
    margin-bottom: 22px;
}

.doc-switch {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border: 1px solid #7f8791;
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 18px;
}

.doc-option {
    height: 46px;
    border: none;
    background: #f5f5f5;
    color: #6f7782;
    font-size: 18px;
}

.doc-option.active {
    background: #7f8791;
    color: #fff;
}

.login-label {
    display: block;
    font-size: 15px;
    color: #222;
    margin-bottom: 8px;
}

.input-shell {
    height: 48px;
    border: 1px solid #b9c0c8;
    border-radius: 6px;
    display: flex;
    align-items: center;
    background: #f5f5f5;
    padding: 0 12px;
    margin-bottom: 14px;
}

.input-shell .left-icon,
.input-shell .right-icon {
    color: #7f8791;
    font-size: 20px;
    display: flex;
    align-items: center;
}

.input-shell .left-icon {
    margin-right: 10px;
}

.input-shell .right-icon {
    margin-left: 10px;
    cursor: pointer;
}

.input-shell input {
    border: none;
    outline: none;
    background: transparent;
    flex: 1;
    font-size: 15px;
    color: #222;
}

.input-shell input::placeholder {
    color: #8f96a0;
}

.forgot-link {
    display: inline-block;
    margin: 2px 0 20px;
    font-size: 14px;
    color: #005bbb;
    text-decoration: none;
}

.forgot-link:hover {
    text-decoration: underline;
}

.login-btn {
    width: 100%;
    height: 48px;
    border: none;
    border-radius: 6px;
    background: #8fb1d5;
    color: #fff;
    font-size: 18px;
}

.support-card {
    background: #f5f5f5;
    border-radius: 8px;
    padding: 22px 24px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.support-icon-wrap {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: #e9eef7;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #005bbb;
    font-size: 30px;
    flex-shrink: 0;
}

.support-text {
    font-size: 14px;
    color: #5f6770;
    line-height: 1.45;
}

.support-text a {
    color: #005bbb;
    text-decoration: none;
}

.support-text a:hover {
    text-decoration: underline;
}

.login-alert {
    margin-bottom: 14px;
    font-size: 14px;
}

/* PROFILE PAGE */
.profile-body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #f3f3f3;
}

.profile-layout {
    display: flex;
    min-height: 100vh;
}

.profile-sidebar {
    width: 78px;
    background: #f8f8f8;
    border-right: 1px solid #e3e3e3;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.sidebar-top {
    height: 72px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sidebar-menu-icon {
    font-size: 24px;
    color: #5b8edb;
}

.sidebar-icons {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 20px;
    width: 100%;
    align-items: center;
}

.sidebar-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #606a75;
    font-size: 22px;
}

.sidebar-icon.active {
    background: #fdeeee;
    color: #d65f5f;
}

.profile-main {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.profile-topbar {
    height: 72px;
    background: #a90d0d;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 0 28px;
}

.profile-topbar-right {
    display: flex;
    align-items: center;
    gap: 14px;
    color: white;
}

.topbar-help,
.topbar-bell,
.topbar-user {
    font-size: 22px;
    line-height: 1;
}

.topbar-user-info {
    color: white;
    font-size: 14px;
    line-height: 1.2;
    margin-left: 6px;
}

.topbar-user-info small {
    font-size: 13px;
    color: #f1f1f1;
}

.profile-content {
    padding: 18px 34px 24px;
}

.profile-breadcrumb {
    font-size: 14px;
    color: #555;
    margin-bottom: 8px;
}

.profile-title {
    font-size: 30px;
    font-weight: 700;
    color: #222;
    margin-bottom: 24px;
}

.profile-card {
    background: #f8f8f8;
    border-radius: 10px;
    padding: 28px 22px 26px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

.profile-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 28px;
    padding: 10px 14px 0;
}

.profile-avatar {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: #c9d6f4;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 42px;
    color: #5d84de;
    flex-shrink: 0;
}

.profile-header-info h2 {
    font-size: 24px;
    font-weight: 700;
    color: #222;
    margin: 0;
}

.profile-name-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 6px;
}

.status-badge {
    background: #dff1e4;
    color: #2d7a45;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 14px;
}

.profile-role {
    font-size: 17px;
    color: #4e5862;
    margin-bottom: 4px;
}

.profile-org {
    font-size: 16px;
    color: #4e5862;
}

.profile-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    border-bottom: 1px solid #cdd3d9;
    margin-bottom: 24px;
}

.profile-tab {
    text-align: center;
    padding: 12px 10px;
    color: #7e8792;
    font-size: 16px;
}

.profile-tab.active {
    color: #005bbb;
    border-bottom: 3px solid #005bbb;
    font-weight: 600;
}

.profile-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px 16px;
    padding: 0 12px;
}

.profile-field label {
    display: block;
    font-size: 15px;
    color: #222;
    margin-bottom: 8px;
}

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

.profile-value,
.profile-input-empty,
.profile-select-empty {
    min-height: 42px;
    border-radius: 6px;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    padding: 0 14px;
    font-size: 15px;
    color: #49515a;
}

.profile-input-empty {
    border: 1px solid #c4cbd3;
    background: #f8f8f8;
}

.profile-phone-row {
    display: flex;
    gap: 10px;
}

.profile-phone-row .profile-select-empty {
    width: 90px;
    justify-content: space-between;
}

.profile-phone-row .profile-input-empty {
    flex: 1;
}

.profile-footer {
    margin-top: 30px;
    display: flex;
    justify-content: flex-start;
}

@media (max-width: 1200px) {
    .profile-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .profile-sidebar {
        display: none;
    }

    .profile-content {
        padding: 16px;
    }

    .profile-grid {
        grid-template-columns: 1fr;
    }

    .profile-tabs {
        grid-template-columns: 1fr;
    }

    .profile-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .profile-name-row {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* ERRORES LOGIN */
.input-error {
    border: 2px solid #ff2a2a !important;
}

.field-error {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #d90000;
    font-size: 14px;
    margin: -4px 0 18px;
}

.field-error-icon {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #d90000;
    color: white;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: bold;
    line-height: 1;
}

/* CUENTA BLOQUEADA */
.blocked-card {
    background: #f5f5f5;
    border-radius: 8px;
    padding: 36px 34px 40px;
    text-align: center;
}

.blocked-icon-wrap {
    display: flex;
    justify-content: center;
    margin-bottom: 24px;
}

.blocked-icon-bg {
    width: 108px;
    height: 108px;
    border-radius: 50%;
    background: #eef2fb;
    display: flex;
    align-items: center;
    justify-content: center;
}

.blocked-card h2 {
    font-size: 28px;
    font-weight: 700;
    color: #1f2430;
    line-height: 1.25;
    margin-bottom: 26px;
}

.blocked-card p {
    font-size: 16px;
    line-height: 1.6;
    color: #404756;
    max-width: 390px;
    margin: 0 auto;
}

/* SIDEBAR LOGOUT */
.sidebar-bottom {
    margin-top: auto;
    padding-bottom: 20px;
    display: flex;
    justify-content: center;
}

.sidebar-logout {
    font-size: 22px;
    color: #8b949e;
    text-decoration: none;
    transition: 0.2s;
}

.sidebar-logout:hover {
    color: #d90000;
}

.login-btn {
    width: 100%;
    height: 48px;
    border: none;
    border-radius: 6px;
    background: #0d5aa7; /* azul base más fuerte */
    color: #fff;
    font-size: 18px;
    transition: 0.2s;
}

/* HOVER */
.login-btn:hover {
    background: #084a8c; /* azul más oscuro */
    cursor: pointer;
}

/* ACTIVE (cuando hace click) */
.login-btn:active {
    background: #063d74;
}