/**
 * Styles des pages d'authentification - variante claire inspiree de Products.
 * Surfaces blanches, contraste lisible, formulaires mieux cadres.
 */

@import url("../../web/css/variables.4fde13bac762.css");

/* ======================================
   AUTH SECTION BACKGROUND
====================================== */
.auth-page-section {
    background:
        linear-gradient(180deg, #ecf2f7 0%, #e2ebf2 100%),
        linear-gradient(rgba(var(--primary-rgb), 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(var(--primary-rgb), 0.04) 1px, transparent 1px);
    background-size: auto, 44px 44px, 44px 44px;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    padding: 6rem 0;
}

.auth-page-section::before {
    content: '';
    position: absolute;
    top: -12%;
    right: -12%;
    width: 620px;
    height: 620px;
    background: radial-gradient(circle, rgba(var(--primary-rgb), 0.13) 0%, transparent 72%);
    pointer-events: none;
    z-index: 0;
}

.auth-page-section::after {
    content: '';
    position: absolute;
    bottom: -18%;
    left: -10%;
    width: 560px;
    height: 560px;
    background: radial-gradient(circle, rgba(var(--accent-rgb), 0.1) 0%, transparent 74%);
    pointer-events: none;
    z-index: 0;
}

.auth-page-section .container {
    position: relative;
    z-index: 1;
}

/* ======================================
   AUTH CARD STYLES
====================================== */
.auth-page-section .card {
    position: relative;
    background: rgba(255, 255, 255, 0.985) !important;
    border: 1px solid rgba(var(--primary-rgb), 0.18) !important;
    border-radius: calc(var(--border-radius-lg) + 0.15rem) !important;
    box-shadow: 0 28px 64px rgba(22, 35, 51, 0.14), 0 8px 24px rgba(var(--primary-rgb), 0.06) !important;
    overflow: hidden;
}

.auth-page-section .card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.28), rgba(var(--accent-rgb), 0.18));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.auth-page-section .card-body {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.99) 0%, rgba(241, 246, 250, 0.96) 100%) !important;
    position: relative;
}

.auth-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.95rem;
    margin-bottom: 2rem;
}

.auth-brand-logo {
    height: 56px;
    width: auto;
    filter: drop-shadow(0 10px 18px rgba(var(--primary-rgb), 0.12));
}

.auth-brand-mark,
.auth-icon-badge {
    width: 80px;
    height: 80px;
    border-radius: 1.45rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 16px 28px rgba(22, 35, 51, 0.1);
    border: 1px solid rgba(var(--primary-rgb), 0.12);
}

.auth-brand-mark {
    background: linear-gradient(180deg, var(--primary-light) 0%, var(--light-bg) 100%);
    color: var(--primary-dark);
}

.auth-icon-badge {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(237, 243, 248, 0.9) 100%);
    color: var(--text-emphasis);
}

.auth-icon-badge--primary {
    background: linear-gradient(180deg, var(--primary-light) 0%, rgba(255, 255, 255, 0.98) 100%);
    color: var(--primary-dark);
    border-color: rgba(var(--primary-rgb), 0.22);
}

.auth-icon-badge--success {
    background: linear-gradient(180deg, var(--secondary-light) 0%, rgba(255, 255, 255, 0.98) 100%);
    color: var(--secondary-dark);
    border-color: rgba(var(--secondary-rgb), 0.22);
}

.auth-icon-badge--warning {
    background: linear-gradient(180deg, #fff1e4 0%, rgba(255, 255, 255, 0.98) 100%);
    color: #9a5b22;
    border-color: rgba(181, 108, 48, 0.22);
}

.auth-icon-badge--danger {
    background: linear-gradient(180deg, #ffe8e8 0%, rgba(255, 255, 255, 0.98) 100%);
    color: #b42318;
    border-color: rgba(239, 68, 68, 0.22);
}

.auth-subtitle {
    color: var(--text-muted);
    max-width: 34rem;
    margin: 0 auto;
    line-height: 1.7;
}

.auth-divider {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 1.75rem 0;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: rgba(var(--primary-rgb), 0.14);
}

.auth-divider span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.3rem 0.85rem;
    border-radius: var(--border-radius-pill);
    background: rgba(235, 242, 248, 0.96);
    border: 1px solid rgba(var(--primary-rgb), 0.18);
    color: var(--text-muted);
    font-size: 0.72rem;
    font-weight: var(--font-weight-bold);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    box-shadow: var(--shadow-sm);
}

.auth-provider-grid {
    display: grid;
    gap: 0.95rem;
}

.auth-provider-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    justify-content: flex-start;
    width: 100%;
    padding: 0.95rem 1.15rem !important;
    border-radius: 1rem !important;
    font-weight: var(--font-weight-semibold) !important;
    color: var(--text-emphasis) !important;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(236, 243, 248, 0.96) 100%) !important;
    border: 1px solid rgba(var(--primary-rgb), 0.18) !important;
    box-shadow: 0 10px 24px rgba(22, 35, 51, 0.07), inset 0 1px 0 rgba(255, 255, 255, 0.78) !important;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast), background var(--transition-fast) !important;
}

.auth-provider-btn:hover {
    color: var(--text-emphasis) !important;
    background: linear-gradient(180deg, rgba(255, 255, 255, 1) 0%, rgba(242, 248, 252, 0.98) 100%) !important;
    border-color: rgba(var(--primary-rgb), 0.3) !important;
    box-shadow: 0 16px 32px rgba(22, 35, 51, 0.1), 0 6px 18px rgba(var(--primary-rgb), 0.08) !important;
}

.auth-provider-btn i {
    width: 1.1rem;
    text-align: center;
}

.auth-provider-btn--google i {
    color: #fbbc05;
}

.auth-provider-btn--oidc i {
    color: #8fdff0;
}

.auth-footer {
    margin-top: 1.75rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(var(--primary-rgb), 0.1);
    text-align: center;
}

.auth-footer-note {
    color: var(--text-muted);
    margin: 0;
}

.auth-footer-link {
    display: inline-block;
    margin-top: 0.4rem;
    font-weight: var(--font-weight-semibold);
    color: var(--primary-dark) !important;
}

.auth-panel {
    background: linear-gradient(180deg, rgba(241, 246, 250, 0.98) 0%, rgba(232, 239, 245, 0.96) 100%);
    border: 1px solid rgba(91, 113, 135, 0.16);
    border-radius: 1.3rem;
    padding: 1.35rem;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.86), 0 12px 28px rgba(22, 35, 51, 0.06);
}

.auth-panel + .auth-panel {
    margin-top: 1rem;
}

.auth-panel-title {
    color: var(--text-emphasis);
    font-weight: var(--font-weight-semibold);
    margin-bottom: 0.35rem;
}

.auth-panel-subtitle {
    color: var(--text-muted);
    font-size: 0.92rem;
    margin-bottom: 1rem;
}

.auth-choice-list {
    display: grid;
    gap: 0.85rem;
}

.auth-choice-card {
    display: block;
    padding: 1rem 1.1rem;
    border-radius: 1rem;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(241, 246, 250, 0.96) 100%);
    border: 1px solid rgba(91, 113, 135, 0.18);
    transition: all var(--transition-fast);
    cursor: pointer;
}

.auth-choice-card:hover {
    background: linear-gradient(180deg, rgba(255, 255, 255, 1) 0%, rgba(245, 249, 252, 0.98) 100%);
    border-color: rgba(var(--primary-rgb), 0.28);
    box-shadow: 0 12px 26px rgba(22, 35, 51, 0.07);
}

.auth-choice-card.is-active {
    border-color: rgba(var(--primary-rgb), 0.34);
    background: linear-gradient(180deg, rgba(248, 252, 253, 0.98) 0%, rgba(235, 244, 248, 0.98) 100%);
    box-shadow: 0 0 0 4px rgba(var(--primary-rgb), 0.08), 0 10px 24px rgba(22, 35, 51, 0.06);
}

.auth-choice-card .form-check-input {
    margin-top: 0.15rem;
}

.auth-choice-main {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.auth-choice-title {
    color: var(--text-emphasis);
    font-weight: var(--font-weight-semibold);
    line-height: 1.45;
    word-break: break-word;
}

.auth-choice-meta {
    color: var(--text-muted);
    font-size: 0.84rem;
}

.auth-choice-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.auth-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.28rem 0.65rem;
    border-radius: var(--border-radius-pill);
    font-size: 0.72rem;
    font-weight: var(--font-weight-bold);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    border: 1px solid transparent;
}

.auth-pill--primary {
    background: rgba(var(--primary-rgb), 0.12);
    border-color: rgba(var(--primary-rgb), 0.2);
    color: var(--primary-dark);
}

.auth-pill--success {
    background: rgba(var(--secondary-rgb), 0.12);
    border-color: rgba(var(--secondary-rgb), 0.2);
    color: var(--secondary-dark);
}

.auth-pill--warning {
    background: rgba(181, 108, 48, 0.12);
    border-color: rgba(181, 108, 48, 0.2);
    color: #9a5b22;
}

.auth-pill--danger {
    background: rgba(239, 68, 68, 0.1);
    border-color: rgba(239, 68, 68, 0.18);
    color: #b42318;
}

.auth-pill--neutral {
    background: rgba(237, 243, 248, 0.9);
    border-color: rgba(91, 113, 135, 0.12);
    color: var(--text-muted);
}

.auth-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.auth-actions > * {
    flex: 1 1 180px;
}

.auth-note {
    border-radius: 1rem;
    padding: 1rem 1.1rem;
    font-size: 0.92rem;
    line-height: 1.65;
    border: 1px solid transparent;
}

.auth-note--info {
    background: rgba(var(--primary-rgb), 0.08);
    border-color: rgba(var(--primary-rgb), 0.16);
    color: var(--text-color);
}

.auth-note--warning {
    background: rgba(181, 108, 48, 0.1);
    border-color: rgba(181, 108, 48, 0.18);
    color: #8b4c17;
}

.auth-note--danger {
    background: rgba(239, 68, 68, 0.08);
    border-color: rgba(239, 68, 68, 0.16);
    color: #9f1d1d;
}

.auth-note a {
    color: inherit !important;
    text-decoration: underline !important;
}

.auth-empty-state {
    text-align: center;
}

.auth-back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    color: var(--text-muted) !important;
}

.auth-back-link:hover {
    color: var(--primary-dark) !important;
}

/* ======================================
   AUTH HEADER STYLES
====================================== */
.auth-page-section .card-body img {
    filter: drop-shadow(0 10px 18px rgba(var(--primary-rgb), 0.14));
    transition: filter var(--transition-fast), transform var(--transition-fast);
}

.auth-page-section .card-body img:hover {
    filter: drop-shadow(0 14px 24px rgba(var(--primary-rgb), 0.18));
}

.auth-page-section .section-title {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.auth-page-section .section-title::after {
    content: '';
    width: 64px;
    height: 3px;
    margin-top: 1.1rem;
    border-radius: var(--border-radius-pill);
    background: linear-gradient(90deg, rgba(var(--primary-rgb), 0.18), rgba(var(--primary-rgb), 0.8), rgba(var(--accent-rgb), 0.42));
}

.auth-page-section h1 {
    color: var(--text-emphasis) !important;
    font-weight: var(--font-weight-extrabold) !important;
    font-size: 2rem !important;
    margin: 1rem 0 0.5rem 0 !important;
    background: none !important;
    -webkit-text-fill-color: var(--text-emphasis) !important;
}

.auth-page-section .card-body > .text-muted {
    color: var(--text-muted) !important;
    font-size: 0.95rem !important;
}

.auth-page-section p.text-muted {
    color: var(--text-muted) !important;
}

.auth-page-section .text-muted {
    color: var(--text-muted) !important;
}

/* ======================================
   PROFILE STYLES
====================================== */
.auth-page-section .profile-card {
    isolation: isolate;
}

.auth-page-section .profile-hero {
    margin-bottom: 2.75rem;
}

.auth-page-section .profile-avatar-shell {
    width: 132px;
    height: 132px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, rgba(var(--primary-rgb), 0.14) 0%, rgba(255, 255, 255, 0.98) 100%);
    border: 1px solid rgba(var(--primary-rgb), 0.2);
    box-shadow: 0 18px 34px rgba(22, 35, 51, 0.08);
    color: var(--primary-dark);
    font-size: 3.15rem;
}

.auth-page-section .profile-avatar-shell--empty {
    background: linear-gradient(180deg, rgba(var(--primary-rgb), 0.12) 0%, rgba(235, 244, 248, 0.98) 100%);
}

.auth-page-section .profile-avatar {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid rgba(var(--primary-rgb), 0.18);
    box-shadow: 0 14px 28px rgba(22, 35, 51, 0.12);
}

.auth-page-section .profile-subtitle {
    max-width: 32rem;
}

.auth-page-section .profile-data-grid {
    margin-bottom: 0;
}

.auth-page-section .profile-field-card {
    height: 100%;
    padding: 1.1rem 1.15rem;
    border-radius: 1.15rem;
    background: linear-gradient(180deg, rgba(248, 251, 253, 0.99) 0%, rgba(238, 245, 249, 0.97) 100%);
    border: 1px solid rgba(91, 113, 135, 0.18);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.88), 0 10px 22px rgba(22, 35, 51, 0.05);
}

.auth-page-section .profile-field-card--accent {
    background: linear-gradient(180deg, rgba(var(--primary-rgb), 0.08) 0%, rgba(239, 247, 251, 0.98) 100%);
    border-color: rgba(var(--primary-rgb), 0.22);
}

.auth-page-section .profile-field-label {
    display: block;
    margin-bottom: 0.45rem;
    color: var(--text-muted);
    font-size: 0.73rem;
    font-weight: var(--font-weight-bold);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.auth-page-section .profile-field-value {
    color: var(--text-emphasis);
    font-weight: var(--font-weight-semibold);
    line-height: 1.55;
    word-break: break-word;
}

.auth-page-section .profile-field-value--muted {
    color: var(--text-muted);
    font-weight: var(--font-weight-medium);
}

.auth-page-section .profile-country {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
}

.auth-page-section .profile-country-flag {
    width: 20px;
    height: 15px;
    border-radius: 0.2rem;
    box-shadow: 0 2px 6px rgba(22, 35, 51, 0.12);
    object-fit: cover;
}

.auth-page-section .profile-panels {
    margin-top: 2rem;
}

.auth-page-section .profile-panel {
    height: 100%;
}

.auth-page-section .profile-panel--danger {
    background: linear-gradient(180deg, rgba(255, 242, 242, 0.98) 0%, rgba(250, 235, 235, 0.96) 100%);
    border-color: rgba(239, 68, 68, 0.16);
}

.auth-page-section .profile-panel-title {
    margin: 0 0 0.4rem;
    color: var(--text-emphasis);
    font-size: 1.05rem;
    font-weight: var(--font-weight-bold);
}

.auth-page-section .profile-panel-text {
    margin: 0 0 1rem;
    color: var(--text-muted);
    line-height: 1.65;
}

.auth-page-section .profile-actions-group {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
}

.auth-page-section .profile-actions-group .btn {
    flex: 1 1 200px;
}

.auth-page-section .profile-form {
    gap: 1.3rem;
}

.auth-page-section .profile-form-actions {
    margin-top: 0.35rem;
    padding-top: 1.35rem;
    border-top: 1px solid rgba(var(--primary-rgb), 0.12);
}

.auth-page-section .profile-logout-link {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.7rem 1rem;
    border-radius: 999px;
    background: rgba(230, 237, 243, 0.92);
    border: 1px solid rgba(91, 113, 135, 0.14);
    color: var(--text-muted) !important;
    font-size: 0.9rem;
    font-weight: var(--font-weight-medium);
}

.auth-page-section .profile-logout-link:hover {
    color: var(--primary-dark) !important;
    background: rgba(236, 244, 248, 0.98);
    border-color: rgba(var(--primary-rgb), 0.18);
}

/* ======================================
   AVATAR STYLES
====================================== */

.auth-page-section .avatar {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border: 4px solid rgba(6, 182, 212, 0.2);
}

.auth-page-section .avatar-circle {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 50%;
}

.auth-page-section .avatar-circle-border {
    border: 4px solid rgba(6, 182, 212, 0.2);
}

.auth-page-section .avatar-circle-border-hover {
    border: 4px solid rgba(6, 182, 212, 0.4);
}

.auth-page-section .avatar-circle-border-hover:hover {
    border: 4px solid rgba(6, 182, 212, 0.6);
}

.auth-page-section .avatar-circle-border-hover:hover:active {
    border: 4px solid rgba(6, 182, 212, 0.8);
}

/* ======================================
   FORM STYLES
====================================== */
.auth-page-section .form-control,
.auth-page-section .form-select,
.auth-page-section textarea.form-control {
    background: rgba(255, 255, 255, 0.99) !important;
    border: 1px solid rgba(91, 113, 135, 0.24) !important;
    color: var(--text-emphasis) !important;
    padding: 0.75rem 1rem !important;
    transition: all var(--transition-fast) !important;
    min-height: 3.2rem !important;
    border-radius: 0.95rem !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 1px 2px rgba(22, 35, 51, 0.04) !important;
}

.auth-page-section .form-control:focus,
.auth-page-section .form-select:focus,
.auth-page-section textarea.form-control:focus {
    background: var(--light-bg) !important;
    border-color: rgba(var(--primary-rgb), 0.42) !important;
    box-shadow: var(--focus-ring) !important;
    color: var(--text-emphasis) !important;
}

.auth-page-section .form-select {
    padding-right: 3rem !important;
}

.auth-page-section textarea.form-control {
    min-height: 8.75rem !important;
    resize: vertical;
}

.auth-page-section .form-control[type="file"] {
    padding: 0.4rem 0.5rem !important;
}

.auth-page-section .form-control[type="file"]::file-selector-button {
    margin-right: 0.85rem;
    padding: 0.68rem 1rem;
    border: 0;
    border-radius: 0.8rem;
    background: rgba(var(--primary-rgb), 0.12);
    color: var(--primary-dark);
    font-weight: var(--font-weight-semibold);
}

.auth-page-section .form-control::placeholder,
.auth-page-section textarea.form-control::placeholder {
    color: rgba(97, 117, 138, 0.74) !important;
}

.auth-page-section label {
    color: var(--text-emphasis) !important;
    font-weight: var(--font-weight-semibold) !important;
    margin-bottom: 0.5rem !important;
}

.auth-page-section .form-text {
    color: var(--text-muted) !important;
    font-size: 0.875rem !important;
}

.auth-page-section .input-group-text {
    background: rgba(227, 236, 243, 0.98) !important;
    border: 1px solid rgba(91, 113, 135, 0.2) !important;
    color: var(--text-muted) !important;
}

.auth-page-section .invalid-feedback,
.auth-page-section .text-danger {
    color: #b42318 !important;
    font-size: 0.84rem !important;
    font-weight: var(--font-weight-medium) !important;
}

.auth-page-section .form-control.is-invalid,
.auth-page-section .form-select.is-invalid,
.auth-page-section .was-validated .form-control:invalid,
.auth-page-section .was-validated .form-select:invalid {
    border-color: rgba(239, 68, 68, 0.42) !important;
    box-shadow: 0 0 0 0.22rem rgba(239, 68, 68, 0.14) !important;
}

.auth-page-section .errorlist {
    list-style: none;
    margin: 0 0 1rem;
    padding: 0.9rem 1rem;
    border-radius: 1rem;
    border: 1px solid rgba(239, 68, 68, 0.16);
    background: rgba(239, 68, 68, 0.08);
    color: #9f1d1d;
}

.auth-page-section .errorlist li + li {
    margin-top: 0.45rem;
}

.auth-page-section .form-shell {
    display: flex;
    flex-direction: column;
    gap: 1.15rem;
}

.auth-page-section .auth-form-panel {
    background: linear-gradient(180deg, rgba(237, 243, 248, 0.96) 0%, rgba(229, 237, 244, 0.94) 100%);
    border: 1px solid rgba(91, 113, 135, 0.16);
    border-radius: 1.15rem;
    padding: 1.2rem;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 10px 24px rgba(22, 35, 51, 0.05);
}

.auth-page-section .form-shell .mb-3,
.auth-page-section .form-shell .mb-2 {
    margin-bottom: 0 !important;
}

.auth-page-section .form-grid {
    display: grid;
    gap: 1.1rem 1.25rem;
}

.auth-page-section .form-grid--2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.auth-page-section .form-field--full {
    grid-column: 1 / -1;
}

/* ======================================
   BUTTON STYLES
====================================== */
.auth-page-section .btn-primary {
    background: var(--primary-gradient) !important;
    border-color: transparent !important;
    color: var(--text-light) !important;
    font-weight: var(--font-weight-semibold) !important;
    padding: 0.75rem 1.5rem !important;
    border-radius: 0.95rem !important;
    box-shadow: 0 14px 28px rgba(var(--primary-rgb), 0.18) !important;
    transition: all var(--transition-fast) !important;
}

.auth-page-section .btn-primary:hover {
    background: var(--primary-gradient) !important;
    border-color: transparent !important;
    box-shadow: 0 18px 34px rgba(var(--primary-rgb), 0.26) !important;
    transform: translateY(-1px) !important;
}

.auth-page-section .btn-outline-secondary {
    color: var(--text-emphasis) !important;
    border-color: rgba(91, 113, 135, 0.22) !important;
    background: linear-gradient(180deg, rgba(247, 250, 252, 0.98) 0%, rgba(234, 240, 245, 0.96) 100%) !important;
    border-radius: 0.95rem !important;
    transition: all var(--transition-fast) !important;
}

.auth-page-section .btn-outline-secondary:hover {
    color: var(--primary-dark) !important;
    background: var(--light-bg) !important;
    border-color: rgba(var(--primary-rgb), 0.24) !important;
    box-shadow: var(--shadow-sm) !important;
}

.auth-page-section .btn-outline-primary {
    color: var(--primary-dark) !important;
    border-color: rgba(var(--primary-rgb), 0.28) !important;
    background: linear-gradient(180deg, rgba(var(--primary-rgb), 0.08) 0%, rgba(var(--primary-rgb), 0.12) 100%) !important;
    border-radius: 0.95rem !important;
}

.auth-page-section .btn-outline-primary:hover {
    color: var(--primary-dark) !important;
    background: rgba(var(--primary-rgb), 0.12) !important;
    border-color: rgba(var(--primary-rgb), 0.3) !important;
    box-shadow: var(--shadow-sm) !important;
}

.auth-page-section .btn-outline-danger {
    color: #b42318 !important;
    border-color: rgba(239, 68, 68, 0.2) !important;
    background: rgba(239, 68, 68, 0.05) !important;
    font-weight: var(--font-weight-semibold) !important;
    padding: 0.75rem 1.5rem !important;
    border-radius: 0.95rem !important;
    transition: all var(--transition-fast) !important;
}

.auth-page-section .btn-outline-danger:hover {
    color: #9f1d1d !important;
    background: rgba(239, 68, 68, 0.1) !important;
    border-color: rgba(239, 68, 68, 0.28) !important;
    box-shadow: var(--shadow-sm) !important;
}

/* ======================================
   LIST GROUP STYLES
====================================== */
.auth-page-section .list-group-item {
    background: linear-gradient(180deg, rgba(248, 251, 253, 0.98) 0%, rgba(239, 245, 249, 0.96) 100%) !important;
    border: 1px solid rgba(91, 113, 135, 0.18) !important;
    color: var(--text-emphasis) !important;
    padding: 0.75rem 1rem !important;
    transition: all var(--transition-fast) !important;
}


.auth-page-section .list-group-item:hover {
    background: var(--light-bg) !important;
    border-color: rgba(var(--primary-rgb), 0.26) !important;
    color: var(--text-emphasis) !important;
}

.auth-page-section .alert {
    background: linear-gradient(180deg, rgba(248, 251, 253, 0.98) 0%, rgba(239, 245, 249, 0.96) 100%) !important;
    border: 1px solid rgba(91, 113, 135, 0.16) !important;
    color: var(--text-color) !important;
    border-radius: 1rem !important;
}

.auth-page-section .alert-info {
    background: rgba(var(--primary-rgb), 0.08) !important;
    border-color: rgba(var(--primary-rgb), 0.14) !important;
    color: var(--text-color) !important;
}

.auth-page-section .alert-success {
    background: rgba(var(--secondary-rgb), 0.08) !important;
    border-color: rgba(var(--secondary-rgb), 0.14) !important;
    color: var(--secondary-dark) !important;
}

.auth-page-section .alert-warning {
    background: rgba(181, 108, 48, 0.08) !important;
    border-color: rgba(181, 108, 48, 0.14) !important;
    color: #8b4c17 !important;
}

.auth-page-section .alert-danger {
    background: rgba(239, 68, 68, 0.08) !important;
    border-color: rgba(239, 68, 68, 0.16) !important;
    color: #9f1d1d !important;
}


/* ======================================
   DIVIDER STYLES
====================================== */
.auth-page-section hr {
    border-color: rgba(var(--primary-rgb), 0.1) !important;
}

.auth-page-section .position-absolute.bg-white {
    background: rgba(255, 255, 255, 0.96) !important;
    color: var(--text-muted) !important;
}

/* ======================================
   LINK STYLES
====================================== */
.auth-page-section a {
    color: var(--primary-color) !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
}

.auth-page-section a:hover {
    color: #0b7285 !important;
}

/* ======================================
   CHECKBOX/RADIO STYLES
====================================== */
.auth-page-section .form-check-input {
    background-color: rgba(255, 255, 255, 0.98) !important;
    border-color: rgba(91, 113, 135, 0.2) !important;
    cursor: pointer !important;
}

.auth-page-section .form-check-input:checked {
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
}

.auth-page-section .form-check-label {
    color: var(--text-color) !important;
    cursor: pointer !important;
}

/* ======================================
   RESPONSIVE
====================================== */
@media (max-width: 768px) {
    .auth-page-section {
        min-height: auto;
        padding: 3rem 0;
    }

    .auth-page-section h1 {
        font-size: 1.5rem !important;
    }

    .auth-page-section .card-body {
        padding: 2rem 1rem !important;
    }

    .auth-page-section .auth-form-panel {
        padding: 1rem;
    }

    .auth-page-section .profile-avatar-shell {
        width: 116px;
        height: 116px;
        font-size: 2.65rem;
    }

    .auth-page-section .profile-avatar {
        width: 104px;
        height: 104px;
    }

    .auth-page-section .profile-actions-group .btn {
        flex-basis: 100%;
    }

    .auth-actions > * {
        flex-basis: 100%;
    }

    .auth-page-section .form-grid--2 {
        grid-template-columns: 1fr;
    }
}

