/* ====================================================================== */
/*                                                                        */
/*   SUNDER - AUTH PAGES STYLESHEET                                       */
/*   File: css/auth.css                                                  */
/*                                                                        */
/*   Covers: register.html, login.html, dashboard.html                   */
/*   Color scheme: Green (#0d7c66) and Blue (#1e40af)                    */
/*                                                                        */
/* ====================================================================== */

/* ====================================================================== */
/* TABLE OF CONTENTS                                                      */
/* ====================================================================== */
/* 1.   GLOBAL AUTH PAGE STYLES                                           */
/* 2.   BACK TO HOME LINK                                                 */
/* 3.   AUTH CONTAINER (split layout)                                     */
/* 4.   AUTH BRAND PANEL (left side)                                      */
/* 5.   AUTH FORM PANEL (right side)                                      */
/* 6.   AUTH FORM ELEMENTS                                                */
/* 7.   AUTH INPUT FIELDS                                                 */
/* 8.   AUTH PASSWORD TOGGLE                                              */
/* 9.   AUTH PASSWORD STRENGTH                                            */
/* 10.  AUTH SUBMIT BUTTON                                                */
/* 11.  AUTH SUCCESS / ERROR MESSAGES                                     */
/* 12.  AUTH DIVIDER & SWITCH LINK                                        */
/* 13.  AUTH SPINNER                                                      */
/* 14.  DASHBOARD PAGE STYLES                                             */
/* 15.  DASHBOARD HEADER                                                   */
/* 16.  DASHBOARD WELCOME SECTION                                         */
/* 17.  DASHBOARD STATS                                                   */
/* 18.  DASHBOARD QUICK ACTIONS                                           */
/* 19.  DASHBOARD ACCOUNT INFO                                            */
/* 20.  DASHBOARD DANGER ZONE                                             */
/* 21.  DASHBOARD FOOTER                                                  */
/* 22.  DASHBOARD LOADING OVERLAY                                          */
/* 23.  ANIMATIONS                                                        */
/* 24.  RESPONSIVE DESIGN                                                 */
/* ====================================================================== */

/* ====================================================================== */
/* 1. GLOBAL AUTH PAGE STYLES                                             */
/* ====================================================================== */

.auth-page-body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    font-family: 'Inter', 'Poppins', sans-serif;
    background: linear-gradient(135deg, #0d7c66 0%, #1e40af 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
    position: relative;
    overflow-x: hidden;
}

.auth-page-body::before {
    content: '';
    position: absolute;
    top: -10%;
    right: -5%;
    width: 500px;
    height: 500px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 50%;
    pointer-events: none;
}

.auth-page-body::after {
    content: '';
    position: absolute;
    bottom: -10%;
    left: -5%;
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 50%;
    pointer-events: none;
}

/* ====================================================================== */
/* 2. BACK TO HOME LINK                                                    */
/* ====================================================================== */

.auth-back-home {
    position: fixed;
    top: 1.5rem;
    left: 1.5rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #ffffff;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    z-index: 100;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.auth-back-home:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateX(-3px);
    color: #ffffff;
}

.auth-back-home i {
    font-size: 0.875rem;
}

/* ====================================================================== */
/* 3. AUTH CONTAINER (split layout)                                        */
/* ====================================================================== */

.auth-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    max-width: 1000px;
    width: 100%;
    min-height: 600px;
    background: #ffffff;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 1;
}

/* ====================================================================== */
/* 4. AUTH BRAND PANEL (left side)                                        */
/* ====================================================================== */

.auth-brand-panel {
    background: linear-gradient(135deg, #0d7c66 0%, #095e4d 100%);
    color: #ffffff;
    padding: 3rem 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.auth-brand-panel-blue {
    background: linear-gradient(135deg, #1e40af 0%, #1e3a8a 100%);
}

.auth-brand-content {
    position: relative;
    z-index: 2;
}

.auth-brand-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.auth-brand-logo-img {
    width: 48px;
    height: 48px;
    object-fit: contain;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    padding: 4px;
}

.auth-brand-logo-text {
    font-family: 'Poppins', sans-serif;
    font-size: 1.75rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.02em;
}

.auth-brand-title {
    font-family: 'Poppins', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 1rem;
    color: #ffffff;
}

.auth-brand-description {
    font-size: 0.95rem;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 2rem;
}

.auth-brand-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.auth-brand-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1rem;
}

.auth-brand-features li i {
    color: #6ee7b7;
    font-size: 1.125rem;
    flex-shrink: 0;
}

.auth-brand-panel-blue .auth-brand-features li i {
    color: #93c5fd;
}

/* Brand panel decorative shapes */
.auth-brand-shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.08;
    pointer-events: none;
}

.auth-brand-shape-1 {
    width: 300px;
    height: 300px;
    background: #ffffff;
    top: -100px;
    right: -100px;
    animation: authFloat 20s ease-in-out infinite;
}

.auth-brand-shape-2 {
    width: 200px;
    height:!200px;
    background: #ffffff;
    bottom: -50px;
    left: -50px;
    animation: authFloat 25s ease-in-out infinite reverse;
}

.auth-brand-shape-3 {
    width: 150px;
    height: 150px;
    background: #ffffff;
    top: 40%;
    right: 20%;
    animation: authFloat 15s ease-in-out infinite;
}

/* ====================================================================== */
/* 5. AUTH FORM PANEL (right side)                                        */
/* ====================================================================== */

.auth-form-panel {
    padding: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
}

.auth-form-wrapper {
    width: 100%;
    max-width: 400px;
}

/* Mobile logo (hidden on desktop) */
.auth-mobile-logo {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.auth-mobile-logo-img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    border-radius: 8px;
}

.auth-mobile-logo-text {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #0d7c66 0%, #1e40af 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Form header */
.auth-form-header {
    margin-bottom: 2rem;
}

.auth-form-title {
    font-family: 'Poppins', sans-serif;
    font-size: 1.75rem;
    font-weight: 800;
    color: #111827;
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.auth-form-subtitle {
    font-size: 0.9rem;
    color: #6b7280;
    line-height: 1.6;
}

/* ====================================================================== */
/* 6. AUTH FORM ELEMENTS                                                   */
/* ====================================================================== */

.auth-form {
    width: 100%;
}

.auth-form-group {
    margin-bottom: 1.25rem;
}

.auth-form-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.5rem;
}

.auth-form-label i {
    color: #0d7c66;
    font-size: 0.875rem;
}

/* ====================================================================== */
/* 7. AUTH INPUT FIELDS                                                    */
/* ====================================================================== */

.auth-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.auth-input-icon {
    position: absolute;
    left: 1rem;
    color: #9ca3af;
    font-size: 1rem;
    pointer-events: none;
    transition: color 0.2s ease;
    z-index: 1;
}

.auth-input {
    width: 100%;
    padding: 0.875rem 1rem 0.875rem 2.875rem;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    font-size: 0.95rem;
    color: #111827;
    background: #ffffff;
    transition: all 0.2s ease;
    font-family: 'Inter', sans-serif;
}

.auth-input:focus {
    border-color: #0d7c66;
    box-shadow: 0 0 0 4px rgba(13, 124, 102, 0.1);
    outline: none;
}

.auth-input:focus ~ .auth-input-icon {
    color: #0d7c66;
}

.auth-input::placeholder {
    color: #9ca3af;
}

.auth-input.auth-input-error {
    border-color: #ef4444;
    box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.1);
}

.auth-input.auth-input-error ~ .auth-input-icon {
    color: #ef4444;
}

/* Field error text */
.auth-field-error {
    display: block;
    font-size: 0.75rem;
    color: #ef4444;
    margin-top: 0.375rem;
    min-height: 1rem;
    font-weight: 500;
}

/* ====================================================================== */
/* 8. AUTH PASSWORD TOGGLE                                                 */
/* ====================================================================== */

.auth-password-toggle {
    position: absolute;
    right: 1rem;
    background: none;
    border: none;
    color: #9ca3af;
    cursor: pointer;
    font-size: 1rem;
    padding: 0.25rem;
    transition: color 0.2s ease;
    z-index: 1;
}

.auth-password-toggle:hover {
    color: #0d7c66;
}

/* ====================================================================== */
/* 9. AUTH PASSWORD STRENGTH                                               */
/* ====================================================================== */

.auth-password-strength {
    margin-top: 0.625rem;
}

.auth-password-strength-bar {
    width: 100%;
    height: 4px;
    background: #e5e7eb;
    border-radius: 50px;
    overflow: hidden;
}

.auth-password-strength-fill {
    height: 100%;
    width: 0%;
    background: #ef4444;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.auth-password-strength-text {
    display: block;
    font-size: 0.75rem;
    color: #6b7280;
    margin-top: 0.25rem;
}

/* ====================================================================== */
/* 10. AUTH SUBMIT BUTTON                                                  */
/* ====================================================================== */

.auth-submit-btn {
    width: 100%;
    padding: 0.875rem 1.5rem;
    background: linear-gradient(135deg, #0d7c66 0%, #14b8a6 100%);
    color: #ffffff;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: 'Poppins', sans-serif;
    margin-top: 0.5rem;
    position: relative;
    overflow: hidden;
}

.auth-submit-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.auth-submit-btn:hover::before {
    width: 400px;
    height: 400px;
}

.auth-submit-btn:hover {
    background: linear-gradient(135deg, #095e4d 0%, #0d7c66 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(13, 124, 102, 0.4);
}

.auth-submit-btn:active {
    transform: translateY(0);
}

.auth-submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.auth-submit-btn-blue {
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
}

.auth-submit-btn-blue:hover {
    background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 100%);
    box-shadow: 0 8px 25px rgba(30, 64, 175, 0.4);
}

.auth-submit-btn-text {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
    z-index: 1;
}

.auth-submit-btn-spinner {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ====================================================================== */
/* 11. AUTH SUCCESS / ERROR MESSAGES                                       */
/* ====================================================================== */

/* Success message */
.auth-success-message {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    background: #ecfdf5;
    border: 2px solid #6ee7b7;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    animation: authSlideDown 0.4s ease;
}

.auth-success-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    background: #0d7c66;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.auth-success-content {
    flex: 1;
}

.auth-success-title {
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: #065f46;
    margin-bottom: 0.25rem;
}

.auth-success-text {
    font-size: 0.85rem;
    color: #047857;
    line-height: 1.5;
    margin: 0;
}

.auth-success-spinner {
    flex-shrink: 0;
}

/* Error message */
.auth-error-message {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    background: #fef2f2;
    border: 2px solid #fca5a5;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    animation: authShake 0.4s ease;
}

.auth-error-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    background: #ef4444;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.auth-error-content {
    flex: 1;
}

.auth-error-title {
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: #991b1b;
    margin-bottom: 0.25rem;
}

.auth-error-text {
    font-size: 0.85rem;
    color: #b91c1c;
    line-height: 1.5;
    margin: 0;
    word-break: break-word;
}

/* ====================================================================== */
/* 12. AUTH DIVIDER & SWITCH LINK                                         */
/* ====================================================================== */

.auth-divider {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 1.5rem 0;
}

.auth-divider-line {
    flex: 1;
    height: 1px;
    background: #e5e7eb;
}

.auth-divider-text {
    font-size: 0.85rem;
    color: #9ca3af;
    font-weight: 500;
}

.auth-switch-text {
    text-align: center;
    font-size: 0.9rem;
    color: #6b7280;
    margin: 0;
}

.auth-switch-link {
    color: #0d7c66;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    transition: all 0.2s ease;
}

.auth-switch-link:hover {
    color: #095e4d;
    text-decoration: underline;
}

.auth-switch-link i {
    font-size: 0.75rem;
    transition: transform 0.2s ease;
}

.auth-switch-link:hover i {
    transform: translateX(3px);
}

/* Form options row (remember me + forgot password) */
.auth-form-options {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.auth-checkbox {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-size: 0.85rem;
    color: #4b5563;
}

.auth-checkbox input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.auth-checkbox-custom {
    width: 18px;
    height: 18px;
    border: 2px solid #d1d5db;
    border-radius: 4px;
    position: relative;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.auth-checkbox input[type="checkbox"]:checked + .auth-checkbox-custom {
    background: linear-gradient(135deg, #0d7c66 0%, #14b8a6 100%);
    border-color: #0d7c66;
}

.auth-checkbox input[type="checkbox"]:checked + .auth-checkbox-custom::after {
    content: '\2713';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #ffffff;
    font-size: 0.7rem;
    font-weight: bold;
}

.auth-checkbox-label {
    line-height: 1.5;
}

.auth-forgot-link {
    font-size: 0.85rem;
    color: #1e40af;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s ease;
}

.auth-forgot-link:hover {
    color: #1e3a8a;
    text-decoration: underline;
}

/* ====================================================================== */
/* 13. AUTH SPINNER                                                       */
/* ====================================================================== */

.auth-spinner {
    width: 24px;
    height: 24px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top-color: #ffffff;
    border-radius: 50%;
    animation: authSpin 0.8s linear infinite;
}

.auth-spinner-small {
    width: 20px;
    height: 20px;
    border-width: 2px;
    border-top-color: #ffffff;
}

.auth-spinner-large {
    width: 50px;
    height: 50px;
    border-width: 4px;
    border-color: rgba(13, 124, 102, 0.2);
    border-top-color: #0d7c66;
}

/* ====================================================================== */
/* 14. DASHBOARD PAGE STYLES                                              */
/* ====================================================================== */

.dashboard-page-body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    font-family: 'Inter', 'Poppins', sans-serif;
    background: #f9fafb;
    color: #111827;
}

/* ====================================================================== */
/* 15. DASHBOARD HEADER                                                   */
/* ====================================================================== */

.dashboard-header {
    background: #ffffff;
    border-bottom: 1px solid #e5e7eb;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.dashboard-header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.dashboard-header-left {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.dashboard-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.dashboard-logo-img {
    width: 36px;
    height: 36px;
    object-fit: contain;
    border-radius: 6px;
}

.dashboard-logo-text {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #0d7c66 0%, #1e40af 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.dashboard-badge {
    padding: 0.25rem 0.75rem;
    background: #ecfdf5;
    color: #0d7c66;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border: 1px solid #a7f3d0;
}

.dashboard-header-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.dashboard-user-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.dashboard-user-avatar {
    width: 44px;
    height: 44px;
    min-width: 44px;
    background: linear-gradient(135deg, #0d7c66 0%, #14b8a6 100%);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.125rem;
    box-shadow: 0 2px 8px rgba(13, 124, 102, 0.3);
}

.dashboard-user-details {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
}

.dashboard-user-name {
    font-size: 0.875rem;
    font-weight: 700;
    color: #111827;
}

.dashboard-user-email {
    font-size: 0.75rem;
    color: #6b7280;
}

/* Logout button */
.dashboard-logout-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1.25rem;
    background: linear-gradient(135deg, #0d7c66 0%, #14b8a6 100%);
    color: #ffffff;
    border: none;
    border-radius: 10px;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
}

.dashboard-logout-btn:hover {
    background: linear-gradient(135deg, #095e4d 0%, #0d7c66 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(13, 124, 102, 0.3);
}

.dashboard-logout-btn:active {
    transform: translateY(0);
}

.dashboard-logout-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.dashboard-logout-btn-danger {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
}

.dashboard-logout-btn-danger:hover {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.3);
}

/* Mobile toggle */
.dashboard-mobile-toggle {
    display: none;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    font-size: 1.25rem;
    color: #374151;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    transition: background 0.2s ease;
}

.dashboard-mobile-toggle:hover {
    background: #f3f4f6;
}

/* ====================================================================== */
/* 16. DASHBOARD WELCOME SECTION                                          */
/* ====================================================================== */

.dashboard-main {
    padding: 2rem 1.5rem 3rem;
}

.dashboard-container {
    max-width: 1200px;
    margin: 0 auto;
}

.dashboard-welcome-section {
    margin-bottom: 2.5rem;
}

.dashboard-welcome-card {
    background: linear-gradient(135deg, #0d7c66 0%, #1e40af 100%);
    border-radius: 20px;
    padding: 2.5rem;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(13, 124, 102, 0.2);
}

.dashboard-welcome-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -5%;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

.dashboard-welcome-card::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: 10%;
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 50%;
}

.dashboard-welcome-icon {
    width: 70px;
    height: 70px;
    min-width: 70px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    z-index: 1;
}

.dashboard-welcome-text {
    position: relative;
    z-index: 1;
}

.dashboard-welcome-title {
    font-family: 'Poppins', sans-serif;
    font-size: 1.75rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.dashboard-welcome-subtitle {
    font-size: 0.95rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    max-width: 700px;
}

/* ====================================================================== */
/* 17. DASHBOARD STATS                                                    */
/* ====================================================================== */

.dashboard-stats-section {
    margin-bottom: 2.5rem;
}

.dashboard-section-title {
    font-family: 'Poppins', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.dashboard-section-title-danger {
    color: #ef4444;
}

.dashboard-section-title i {
    font-size: 1.125rem;
}

.dashboard-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.dashboard-stat-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s ease;
}

.dashboard-stat-card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0,!0.08);
    transform: translateY(-3px);
    border-color: #d1d5db;
}

.dashboard-stat-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: #ffffff;
}

.dashboard-stat-icon-green {
    background: linear-gradient(135deg, #0d7c66 0%, #14b8a6 100%);
}

.dashboard-stat-icon-blue {
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
}

.dashboard-stat-content {
    display: flex;
   !    flex-direction: column;
    gap: 0.125rem;
}

.dashboard-stat-number {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    color: #111827;
    line-height: 1;
}

.dashboard-stat-label {
    font-size: 0.8rem;
    color: #6b7280;
    font-weight: 500;
}

/* ====================================================================== */
/* 18. DASHBOARD QUICK ACTIONS                                            */
/* ====================================================================== */

.dashboard-actions-section {
    margin-bottom: 2.5rem;
}

.dashboard-actions-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.dashboard-action-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 1.75rem;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.dashboard-action-card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transform: translateY(-3px);
    border-color: #0d7c66;
}

.dashboard-action-card-disabled {
    opacity: 0.7;
    cursor: default;
}

.dashboard-action-card-disabled:hover {
    box-shadow: none;
    transform: none;
    border-color: #e5e7eb;
}

.dashboard-action-icon {
    width: 50px;
    height: 50px;
    background: #ecfdf5;
    color: #0d7c66;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.dashboard-action-card:nth-child(even) .dashboard-action-icon {
    background: #eff6ff;
    color: #1e40af;
}

.dashboard-action-title {
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: #111827;
    margin: 0;
}

.dashboard-action-text {
    font-size: 0.85rem;
    line-height: 1.6;
    color: #6b7280;
    margin: 0;
    flex: 1;
}

.dashboard-action-link {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: #0d7c66;
    margin-top: 0.5rem;
}

.dashboard-action-link i {
    font-size: 0.75rem;
    transition: transform 0.2s ease;
}

.dashboard-action-card:hover .dashboard-action-link i {
    transform: translateX(3px);
}

.dashboard-action-link-soon {
    color: #9ca3af;
}

/* ====================================================================== */
/* 19. DASHBOARD ACCOUNT INFO                                             */
/* ====================================================================== */

.dashboard-account-section {
    margin-bottom: 2.5rem;
}

.dashboard-account-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    overflow: hidden;
}

.dashboard-account-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
    gap: 1rem;
}

.dashboard-account-divider {
    height: 1px;
    background: #f3f4f6;
}

.dashboard-account-label {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: #374151;
}

.dashboard-account-label i {
    color: #0d7c66;
    font-size: 1rem;
    width: 20px;
    text-align: center;
}

.dashboard-account-value {
    font-size: 0.875rem;
    color: #6b7280;
    text-align: right;
    word-break: break-word;
}

.dashboard-account-status {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.25rem 0.75rem;
    background: #ecfdf5;
    color: #0d7c66;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 50px;
    border: 1px solid #a7f3d0;
}

.dashboard-account-status::before {
    content: '';
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
    animation: authPulse 2s ease infinite;
}

/* ====================================================================== */
/* 20. DASHBOARD DANGER ZONE                                              */
/* ====================================================================== */

.dashboard-danger-section {
    margin-bottom: 2rem;
}

.dashboard-danger-card {
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 16px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.dashboard-danger-content {
    flex: 1;
}

.dashboard-danger-title {
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: #991b1b;
    margin-bottom: 0.25rem;
}

.dashboard-danger-text {
    font-size: 0.85rem;
    color: #b91c1c;
    margin: 0;
    line-height: 1.5;
}

/* ====================================================================== */
/* 21. DASHBOARD FOOTER                                                   */
/* ====================================================================== */

.dashboard-footer {
    background: #111827;
    color: #9ca3af;
    padding: 1.5rem 0;
}

.dashboard-footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.dashboard-footer-text {
    font-size: 0.85rem;
    margin: 0;
}

.dashboard-footer-links {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.dashboard-footer-link {
    font-size: 0.85rem;
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.2s ease;
}

.dashboard-footer-link:hover {
    color: #ffffff;
}

.dashboard-footer-divider {
    color: #4b5563;
}

/* ====================================================================== */
/* 22. DASHBOARD LOADING OVERLAY                                          */
/* ====================================================================== */

.dashboard-loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #f9fafb;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.dashboard-loading-content {
    text-align: center;
}

.dashboard-loading-text {
    margin-top: 1.5rem;
    font-size: 1rem;
    color: #6b7280;
    font-family: 'Poppins', sans-serif;
}

/* ====================================================================== */
/* 23. ANIMATIONS                                                         */
/* ====================================================================== */

@keyframes authSpin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes authFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(20px, -20px) scale(1.05); }
    66% { transform: translate(-15px, 15px) scale(0.95); }
}

@keyframes authSlideDown {
    0% {
        opacity: 0;
        transform: translateY(-15px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes authShake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

@keyframes authPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(1.3); }
}

@keyframes authFadeIn {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ====================================================================== */
/* 24. RESPONSIVE DESIGN                                                  */
/* ====================================================================== */

/* ------------------------------------------------------------------- */
/* TABLET: 768px and below                                             */
/* ------------------------------------------------------------------- */
@media (max-width: 768px) {

    .auth-container {
        grid-template-columns: 1fr;
        max-width: 450px;
    }

    .auth-brand-panel {
        display: none;
    }

    .auth-mobile-logo {
        display: flex;
    }

    .auth-form-panel {
        padding: 2rem 1.5rem;
    }

    .auth-form-title {
        font-size: 1.5rem;
    }

    .auth-back-home {
        top: 1rem;
        left: 1rem;
        padding: 0.4rem 0.875rem;
        font-size: 0.8rem;
    }

    /* Dashboard */
    .dashboard-header-content {
        padding: 0.875rem 1rem;
    }

    .dashboard-user-details {
        display: none;
    }

    .dashboard-mobile-toggle {
        display: flex;
    }

    .dashboard-welcome-card {
        flex-direction: column;
        text-align: center;
        padding: 2rem 1.5rem;
    }

    .dashboard-welcome-title {
        font-size: 1.5rem;
    }

    .dashboard-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .dashboard-actions-grid {
        grid-template-columns: 1fr;
    }

    .dashboard-logout-btn span {
        display: none;
    }

    .dashboard-logout-btn {
        padding: 0.625rem 0.875rem;
    }

    .dashboard-danger-card {
        flex-direction: column;
        align-items: stretch;
        text-align: left;
    }

    .dashboard-danger-card .dashboard-logout-btn {
        width: 100%;
        justify-content: center;
    }

    .dashboard-danger-card .dashboard-logout-btn span {
        display: inline;
    }

    .dashboard-footer-content {
        flex-direction: column;
        text-align: center;
    }
}

/* ------------------------------------------------------------------- */
/* MOBILE: 576px and below                                             */
/* ------------------------------------------------------------------- */
@media (max-width: 576px) {

    .auth-page-body {
        padding: 1rem 0.5rem;
    }

    .auth-container {
        border-radius: 16px;
        min-height: auto;
    }

    .auth-form-panel {
        padding: 1.5rem 1.25rem;
    }

    .auth-form-title {
        font-size: 1.35rem;
    }

    .auth-form-subtitle {
        font-size: 0.85rem;
    }

    .auth-input {
        font-size: 0.9rem;
        padding: 0.75rem 1rem 0.75rem 2.75rem;
    }

    .auth-submit-btn {
        font-size: 0.95rem;
        padding: 0.75rem 1.25rem;
    }

    .auth-success-message,
    .auth-error-message {
        padding: 1rem 1.25rem;
        gap: 0.75rem;
    }

    .auth-success-icon,
    .auth-error-icon {
        width: 40px;
        height: 40px;
        min-width: 40px;
        font-size: 1.25rem;
    }

    .dashboard-main {
        padding: 1.5rem 1rem 2rem;
    }

    .dashboard-welcome-card {
        padding: 1.75rem 1.25rem;
    }

    .dashboard-welcome-title {
        font-size: 1.35rem;
    }

    .dashboard-welcome-subtitle {
        font-size: 0.85rem;
    }

    .dashboard-stats-grid {
        grid-template-columns: 1fr;
    }

    .dashboard-account-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.375rem;
    }

    .dashboard-account-value {
        text-align: left;
    }

    .dashboard-badge {
        display: none;
    }
}

/* ------------------------------------------------------------------- */
/* EXTRA SMALL: 375px and below                                       */
/* ------------------------------------------------------------------- */
@media (max-width: 375px) {

    .auth-form-title {
        font-size: 1.25rem;
    }

    .dashboard-welcome-title {
        font-size: 1.2rem;
    }

    .dashboard-welcome-icon {
        width: 56px;
        height: 56px;
        min-width: 56px;
        font-size: 1.5rem;
    }
}

/* ------------------------------------------------------------------- */
/* REDUCED MOTION                                                      */
/* ------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}