/* ==========================================================================
   IASinergia - Módulo de Gestión de Cupones (cupones.css)
   ========================================================================== */

.coupons-page {
    min-height: 100vh;
    background-color: var(--bg-dark);
    display: flex;
    flex-direction: column;
}

.coupons-header {
    border-bottom: 1px solid var(--border-color);
    background: rgba(10, 11, 16, 0.95);
    backdrop-filter: blur(12px);
    position: sticky;
    top: 0;
    z-index: 100;
}

.coupons-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.coupons-nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.coupons-main {
    flex: 1;
    padding: 2.5rem 0 4rem 0;
}

/* Breadcrumb & Title */
.coupons-top-bar {
    margin-bottom: 2rem;
}

.coupons-breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
}

.coupons-breadcrumb a {
    color: var(--accent-cyan);
    text-decoration: none;
    transition: var(--transition-smooth);
}

.coupons-breadcrumb a:hover {
    text-decoration: underline;
}

.coupons-page-title {
    font-family: var(--font-title);
    font-size: 2.2rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.02em;
    margin-bottom: 0.5rem;
}

.coupons-page-subtitle {
    color: var(--text-muted);
    font-size: 0.95rem;
    max-width: 650px;
    line-height: 1.5;
}

/* Stats Overview */
.coupons-stats-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    margin-bottom: 2.5rem;
}

.coupon-stat-card {
    background: rgba(18, 20, 29, 0.6);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm, 8px);
    padding: 1.25rem 1.4rem;
    display: flex;
    align-items: center;
    gap: 1.15rem;
    transition: transform 0.25s ease, border-color 0.25s ease;
}

.coupon-stat-card:hover {
    border-color: rgba(0, 242, 254, 0.35);
    transform: translateY(-2px);
}

.coupon-stat-icon {
    width: 46px;
    height: 46px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.coupon-stat-icon.cyan {
    background: rgba(0, 242, 254, 0.12);
    color: var(--accent-cyan);
}

.coupon-stat-icon.emerald {
    background: rgba(16, 185, 129, 0.12);
    color: var(--accent-emerald, #10b981);
}

.coupon-stat-icon.purple {
    background: rgba(192, 132, 252, 0.12);
    color: var(--accent-purple);
}

.coupon-stat-info {
    display: flex;
    flex-direction: column;
}

.coupon-stat-num {
    font-family: var(--font-title);
    font-size: 1.75rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.1;
}

.coupon-stat-label {
    font-size: 0.82rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* Two-column Layout */
.coupons-grid {
    display: grid;
    grid-template-columns: 390px 1fr;
    gap: 2rem;
    align-items: start;
}

/* Form Card */
.coupon-form-card {
    background: rgba(18, 20, 29, 0.8);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm, 8px);
    padding: 1.75rem;
    position: sticky;
    top: 90px;
}

.coupon-card-header {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.coupon-card-header h3 {
    font-family: var(--font-title);
    font-size: 1.2rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
}

.coupon-form {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.form-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-main);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.label-hint {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 400;
}

.form-input {
    width: 100%;
    background: rgba(9, 10, 15, 0.9);
    border: 1px solid var(--border-color);
    color: var(--text-main);
    padding: 0.75rem 1rem;
    border-radius: var(--border-radius-sm, 8px);
    font-family: var(--font-body);
    font-size: 0.95rem;
    outline: none;
    transition: var(--transition-smooth);
}

.form-input:focus {
    border-color: var(--accent-cyan);
    box-shadow: 0 0 12px rgba(0, 242, 254, 0.18);
}

.form-input.code-input {
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.05em;
}

/* Quick percent buttons */
.quick-percent-row {
    display: flex;
    gap: 0.45rem;
    margin-top: 0.35rem;
}

.quick-percent-btn {
    flex: 1;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    font-size: 0.78rem;
    font-weight: 600;
    padding: 0.35rem 0.5rem;
    border-radius: 6px;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.quick-percent-btn:hover {
    background: rgba(0, 242, 254, 0.1);
    border-color: var(--accent-cyan);
    color: var(--accent-cyan);
}

/* Validity Inputs (Días y Horas) */
.validity-inputs-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.65rem;
}

.validity-input-box {
    position: relative;
    display: flex;
    align-items: center;
}

.validity-input-box .form-input {
    padding-right: 3rem;
}

.validity-unit {
    position: absolute;
    right: 0.85rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
    pointer-events: none;
}

.quick-validity-row {
    display: flex;
    gap: 0.35rem;
    margin-top: 0.45rem;
    flex-wrap: wrap;
}

.quick-validity-btn {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    font-size: 0.74rem;
    font-weight: 600;
    padding: 0.3rem 0.6rem;
    border-radius: 6px;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.quick-validity-btn:hover {
    background: rgba(217, 70, 239, 0.1);
    border-color: var(--accent-purple);
    color: var(--accent-purple);
}

.quick-validity-btn.active {
    background: rgba(0, 242, 254, 0.15);
    border-color: var(--accent-cyan);
    color: #ffffff;
}

/* Toggle Switch */
.toggle-field {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.toggle-label {
    display: flex;
    flex-direction: column;
}

.toggle-title {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-main);
}

.toggle-sub {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.switch {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
    flex-shrink: 0;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.15);
    transition: .3s;
    border-radius: 24px;
}

.slider:before {
    position: absolute;
    content: '';
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .3s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: var(--accent-emerald, #10b981);
}

input:checked + .slider:before {
    transform: translateX(20px);
}

.btn-submit-coupon {
    width: 100%;
    margin-top: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-height: 46px;
    border-radius: var(--border-radius-sm, 8px);
}

/* Form Message */
.form-alert {
    padding: 0.65rem 0.85rem;
    border-radius: 6px;
    font-size: 0.82rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    line-height: 1.35;
}

.form-alert.error {
    background: rgba(239, 68, 68, 0.12);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #f87171;
}

.form-alert.success {
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: #34d399;
}

/* List Column */
.coupons-list-card {
    background: rgba(18, 20, 29, 0.8);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm, 8px);
    padding: 1.75rem;
}

.list-header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.25rem;
    gap: 1rem;
    flex-wrap: wrap;
}

.list-header-title {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.list-header-title h3 {
    font-family: var(--font-title);
    font-size: 1.2rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
}

.coupons-count-badge {
    background: rgba(0, 242, 254, 0.12);
    border: 1px solid rgba(0, 242, 254, 0.25);
    color: var(--accent-cyan);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 20px;
}

.list-search-wrapper {
    position: relative;
    width: 260px;
    max-width: 100%;
}

.list-search-icon {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    width: 16px;
    height: 16px;
    pointer-events: none;
}

.list-search-input {
    width: 100%;
    background: rgba(9, 10, 15, 0.85);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm, 8px);
    padding: 0.5rem 0.85rem 0.5rem 2.1rem;
    color: var(--text-main);
    font-size: 0.85rem;
    outline: none;
    transition: var(--transition-smooth);
}

.list-search-input:focus {
    border-color: var(--accent-cyan);
}

/* Coupon Items */
.coupons-items-list {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    min-height: 120px;
}

.coupon-item-row {
    background: rgba(10, 11, 16, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--border-radius-sm, 8px);
    padding: 1.15rem 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.coupon-item-row:hover {
    background: rgba(14, 16, 24, 0.9);
    border-color: rgba(255, 255, 255, 0.16);
}

.coupon-item-row.is-inactive {
    opacity: 0.55;
    border-style: dashed;
    border-color: rgba(255, 255, 255, 0.1);
}

.coupon-info-block {
    display: flex;
    align-items: flex-start;
    gap: 1.15rem;
    flex: 1;
    min-width: 0;
}

.coupon-code-badge {
    background: rgba(0, 242, 254, 0.12);
    border: 1px solid rgba(0, 242, 254, 0.35);
    color: #ffffff;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    padding: 0.45rem 0.85rem;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
}

.btn-copy-code {
    background: transparent;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    padding: 2px;
    transition: color 0.2s ease;
}

.btn-copy-code:hover {
    color: var(--accent-cyan);
}

.coupon-meta {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    min-width: 0;
}

.coupon-tags-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.coupon-discount-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.35);
    color: var(--accent-emerald, #10b981);
    font-weight: 700;
    font-size: 0.82rem;
    padding: 2px 8px;
    border-radius: 4px;
}

.coupon-validity-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.78rem;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 4px;
}

.coupon-validity-pill.active {
    background: rgba(0, 242, 254, 0.1);
    border: 1px solid rgba(0, 242, 254, 0.25);
    color: var(--accent-cyan);
}

.coupon-validity-pill.warning {
    background: rgba(245, 158, 11, 0.15);
    border: 1px solid rgba(245, 158, 11, 0.35);
    color: #fbbf24;
}

.coupon-validity-pill.expired {
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.35);
    color: #f87171;
}

.coupon-validity-pill.permanent {
    background: rgba(192, 132, 252, 0.1);
    border: 1px solid rgba(192, 132, 252, 0.25);
    color: var(--accent-purple);
}

.coupon-note {
    font-size: 0.82rem;
    color: var(--text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.coupon-meta-sub {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.72rem;
    color: rgba(161, 161, 170, 0.65);
}

.meta-dot {
    opacity: 0.4;
}

.coupon-actions-block {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
}

/* Status Pill Button */
.status-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 0.75rem;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 700;
    cursor: pointer;
    border: 1px solid transparent;
    transition: var(--transition-smooth);
}

.status-btn.active {
    background: rgba(16, 185, 129, 0.15);
    border-color: rgba(16, 185, 129, 0.35);
    color: #10b981;
}

.status-btn.inactive {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.15);
    color: var(--text-muted);
}

.status-btn:disabled {
    cursor: not-allowed;
    opacity: 0.6;
}

.status-btn:not(:disabled):hover {
    filter: brightness(1.2);
}

.btn-delete-coupon {
    background: transparent;
    border: 1px solid rgba(239, 68, 68, 0.25);
    color: #f87171;
    border-radius: var(--border-radius-sm, 8px);
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.btn-delete-coupon:hover {
    background: rgba(239, 68, 68, 0.15);
    border-color: #ef4444;
}

/* Empty State */
.coupons-empty-state {
    text-align: center;
    padding: 3rem 1.5rem;
    color: var(--text-muted);
}

.coupons-empty-state i {
    width: 44px;
    height: 44px;
    color: var(--text-muted);
    opacity: 0.4;
    margin-bottom: 0.75rem;
}

.coupons-empty-state h4 {
    font-size: 1.1rem;
    color: var(--text-main);
    margin-bottom: 0.35rem;
}

.coupons-empty-state p {
    font-size: 0.85rem;
    max-width: 350px;
    margin: 0 auto;
}

/* Footer of List Card */
.coupons-list-footer {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin-top: 1.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    flex-wrap: wrap;
    gap: 0.75rem;
}

.btn-reset-coupons {
    background: transparent;
    border: 1px dashed var(--border-color);
    color: var(--text-muted);
    font-size: 0.8rem;
    padding: 0.45rem 0.85rem;
    border-radius: 6px;
    cursor: pointer;
    transition: var(--transition-smooth);
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.btn-reset-coupons:hover {
    border-color: var(--accent-cyan);
    color: var(--accent-cyan);
}

/* Toast Notification */
.coupon-toast {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background: rgba(18, 20, 29, 0.95);
    border: 1px solid rgba(0, 242, 254, 0.3);
    backdrop-filter: blur(12px);
    color: #ffffff;
    padding: 0.75rem 1.25rem;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    gap: 0.65rem;
    font-size: 0.88rem;
    font-weight: 600;
    z-index: 9999;
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
}

.coupon-toast.show {
    transform: translateY(0);
    opacity: 1;
}

.coupon-toast i {
    color: var(--accent-emerald, #10b981);
    width: 18px;
    height: 18px;
}

/* Responsive */
@media (max-width: 991px) {
    .coupons-grid {
        grid-template-columns: 1fr;
    }

    .coupon-form-card {
        position: static;
    }

    .coupons-stats-row {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
}

@media (max-width: 640px) {
    .coupon-item-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.85rem;
    }

    .coupon-actions-block {
        width: 100%;
        justify-content: space-between;
        padding-top: 0.75rem;
        border-top: 1px solid rgba(255, 255, 255, 0.06);
    }

    .list-search-wrapper {
        width: 100%;
    }
}

/* ==========================================================================
   LOGIN ADMINISTRATIVO (cupones.html)
   ========================================================================== */

/* Control de visualización por autenticación (anti-flicker) */
#admin-login-screen {
    display: flex !important;
}

#coupons-admin-app {
    display: none !important;
}

html.is-authenticated #admin-login-screen,
body.is-authenticated #admin-login-screen,
.is-authenticated #admin-login-screen {
    display: none !important;
}

html.is-authenticated #coupons-admin-app,
body.is-authenticated #coupons-admin-app,
.is-authenticated #coupons-admin-app {
    display: block !important;
}

.admin-login-screen {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1.25rem;
    background: radial-gradient(circle at 50% 20%, rgba(0, 242, 254, 0.08) 0%, rgba(139, 92, 246, 0.04) 50%, transparent 75%), #090a0f;
    position: relative;
    z-index: 10;
}

.admin-login-card {
    width: 100%;
    max-width: 440px;
    background: rgba(15, 18, 28, 0.96);
    border: 1.5px solid rgba(0, 242, 254, 0.3);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.85), 0 0 35px rgba(0, 242, 254, 0.15);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    animation: loginFadeIn 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes loginFadeIn {
    from {
        opacity: 0;
        transform: translateY(16px) scale(0.97);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.login-brand-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.75rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.login-badge {
    font-size: 0.75rem;
    font-weight: 700;
    color: #00f2fe;
    background: rgba(0, 242, 254, 0.1);
    border: 1px solid rgba(0, 242, 254, 0.3);
    border-radius: 20px;
    padding: 4px 10px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    box-shadow: 0 0 10px rgba(0, 242, 254, 0.2);
}

.login-badge i {
    width: 13px;
    height: 13px;
}

.login-text-wrap {
    margin-bottom: 1.5rem;
}

.login-title {
    font-family: var(--font-title);
    font-size: 1.45rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.35rem;
    letter-spacing: -0.02em;
}

.login-subtitle {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.45;
    margin: 0;
}

.admin-login-form {
    display: flex;
    flex-direction: column;
    gap: 1.15rem;
}

.login-error-box {
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.4);
    color: #fca5a5;
    padding: 0.75rem 1rem;
    border-radius: 10px;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    line-height: 1.35;
    animation: loginShake 0.35s ease;
}

.login-error-box i {
    width: 18px;
    height: 18px;
    color: #ef4444;
    flex-shrink: 0;
}

@keyframes loginShake {
    0%, 100% { transform: translateX(0); }
    20%, 60% { transform: translateX(-6px); }
    40%, 80% { transform: translateX(6px); }
}

.login-field-group {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.login-label {
    font-size: 0.82rem;
    font-weight: 600;
    color: #cbd5e1;
}

.login-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.login-input-icon {
    position: absolute;
    left: 14px;
    width: 17px;
    height: 17px;
    color: #64748b;
    pointer-events: none;
    transition: color 0.2s ease;
}

.login-input {
    width: 100%;
    padding: 0.8rem 2.75rem 0.8rem 2.65rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: #ffffff;
    font-size: 0.92rem;
    font-family: inherit;
    transition: all 0.2s ease;
}

.login-input:focus {
    outline: none;
    background: rgba(0, 242, 254, 0.05);
    border-color: #00f2fe;
    box-shadow: 0 0 16px rgba(0, 242, 254, 0.25);
}

.login-input:focus ~ .login-input-icon {
    color: #00f2fe;
}

.login-pwd-toggle {
    position: absolute;
    right: 10px;
    background: transparent;
    border: none;
    color: #64748b;
    cursor: pointer;
    padding: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    transition: color 0.2s ease;
}

.login-pwd-toggle:hover {
    color: #00f2fe;
}

.login-pwd-toggle i {
    width: 16px;
    height: 16px;
}

.btn-login-submit {
    width: 100%;
    margin-top: 0.4rem;
    padding: 0.85rem 1.25rem;
    font-size: 0.95rem;
    font-weight: 700;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    box-shadow: 0 8px 24px rgba(0, 242, 254, 0.35);
}

.login-card-footer {
    margin-top: 1.75rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
}

.login-return-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.82rem;
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.2s ease;
}

.login-return-link i {
    width: 14px;
    height: 14px;
}

.login-return-link:hover {
    color: #00f2fe;
}

/* Botón Cerrar Sesión en Header */
.btn-logout {
    color: #fca5a5 !important;
    border-color: rgba(239, 68, 68, 0.3) !important;
    transition: all 0.2s ease !important;
}

.btn-logout:hover {
    background: rgba(239, 68, 68, 0.15) !important;
    border-color: #ef4444 !important;
    color: #ffffff !important;
    box-shadow: 0 0 14px rgba(239, 68, 68, 0.3) !important;
}
