/* Chase Bank Clone - Professional Styling */

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --chase-blue: #0047BB;
    --chase-dark-blue: #002D6E;
    --chase-light-blue: #E8F4FF;
    --white: #FFFFFF;
    --gray-50: #F9FAFB;
    --gray-100: #F3F4F6;
    --gray-200: #E5E7EB;
    --gray-300: #D1D5DB;
    --gray-400: #9CA3AF;
    --gray-500: #6B7280;
    --gray-600: #4B5563;
    --gray-700: #374151;
    --gray-800: #1F2937;
    --gray-900: #111827;
    --success: #059669;
    --warning: #D97706;
    --error: #DC2626;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --background-subdued: #003c69;
    --text-subdued: #565a5d;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: var(--gray-50);
    color: var(--gray-800);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.hidden {
    display: none !important;
}

/* Login Page Styles */
.login-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
    font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.login-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('new_york_night_6.png') center center no-repeat;
    background-size: cover;
    z-index: -1;
}

.logo-centered {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
}

.chase-logo-png {
    width: 200px;
    height: auto;
}

.login-container {
    background: var(--white);
    border-radius: 8px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    padding: 16px;
    width: 341px;
    height: 430px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    margin: 0;
    z-index: 2;
    box-sizing: border-box;
}

.login-content {
    margin-bottom: 0;
}

.warning-message {
    background: #fff3cd;
    border: 1px solid #ffc107;
    border-radius: 4px;
    padding: 4px 8px;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: #856404;
}

.warning-message i {
    font-size: 16px;
}

.login-form {
    background: #fff;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

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

.form-group label {
    font-size: 12px;
    font-weight: 600;
    color: var(--gray-700);
}

.form-group input,
.form-group select {
    padding: 6px 8px;
    border: 1px solid var(--gray-300);
    border-radius: 4px;
    font-size: 13px;
    transition: all 0.2s ease;
    font-family: inherit;
    width: 100%;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--chase-blue);
    box-shadow: 0 0 0 2px rgba(0, 71, 187, 0.1);
}

.password-field {
    position: relative;
}

.password-field input {
    padding-right: 50px;
}

.show-password {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--chase-blue);
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
}

.show-password:hover {
    text-decoration: underline;
}

.checkbox-group {
    display: flex;
    gap: 12px;
    margin-top: 2px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: var(--gray-700);
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    width: 16px;
    height: 16px;
    cursor: pointer;
}

.login-btn {
    background: var(--chase-blue);
    color: var(--white);
    border: none;
    padding: 6px 24px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-top: 0px;
}

.login-btn:hover {
    background: var(--chase-dark-blue);
}

.or-separator {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 2px 0;
}

.or-separator::before,
.or-separator::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--gray-300);
}

.or-separator span {
    font-size: 14px;
    color: var(--gray-500);
    font-weight: 500;
}

.passwordless-btn {
    background: var(--white);
    color: var(--chase-blue);
    border: 2px solid var(--chase-blue);
    padding: 6px 24px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.passwordless-btn:hover {
    background: var(--chase-blue);
    color: var(--white);
}

.login-links {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-top: 2px;
}

.login-links a {
    color: var(--chase-blue);
    text-decoration: none;
    font-size: 12px;
    font-weight: 500;
    transition: color 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.login-links a:hover {
    color: var(--chase-dark-blue);
    text-decoration: underline;
}

.login-links a i {
    font-size: 12px;
}

.login-footer {
    background: #f5f7f8;
    padding: 6px 20px;
    text-align: center;
    position: absolute;
    bottom: 0;
    width: 100%;
    z-index: 1;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
    margin-bottom: 8px;
}

.footer-links a {
    color: #565a5d;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: var(--chase-blue);
    text-decoration: underline;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 8px;
}

.social-icons a {
    color: #565a5d;
    text-decoration: none;
    font-size: 20px;
    transition: color 0.2s ease;
}

.social-icons a:hover {
    color: var(--chase-blue);
}

.login-footer p {
    font-size: 12px;
    color: #565a5d;
}

.footer-bottom {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-bottom: 6px;
}

.footer-bottom span {
    font-size: 12px;
    color: #565a5d;
    font-weight: 500;
}

/* Loading Spinner */
.logon-spin {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
}

.logon-spin-start {
    background: rgba(255, 255, 255, .7);
}

.logon-spinner {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 40px;
    height: 40px;
    margin-top: -20px;
    margin-left: -20px;
    border: solid 5px #cfd0d1;
    border-bottom-color: #1c87c9;
    border-radius: 50%;
    animation: logon-spinner 1.5s linear infinite;
}

@keyframes logon-spinner {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* Dashboard Styles */
.dashboard {
    min-height: 100vh;
    background: var(--gray-50);
}

/* Navigation */
.navbar {
    background: var(--white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.chase-logo-small {
    width: 40px;
    height: 40px;
}

.nav-brand span {
    font-size: 24px;
    font-weight: 700;
    color: var(--chase-blue);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 8px;
}

.nav-item {
    position: relative;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    color: var(--gray-600);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.nav-link:hover {
    background: var(--gray-100);
    color: var(--gray-800);
}

.nav-item.active .nav-link {
    background: var(--chase-blue);
    color: var(--white);
}

.nav-user {
    display: flex;
    align-items: center;
    gap: 16px;
}

.user-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-700);
}

.logout-btn {
    background: none;
    border: none;
    color: var(--gray-500);
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.logout-btn:hover {
    background: var(--gray-100);
    color: var(--error);
}

/* Main Content */
.main-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 32px 24px;
}

/* Welcome Section */
.welcome-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
}

.welcome-text h1 {
    font-size: 32px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 4px;
}

.welcome-text p {
    color: var(--gray-500);
    font-size: 16px;
}

.date-display {
    font-size: 14px;
    color: var(--gray-500);
    font-weight: 500;
}

/* Account Cards */
.accounts-section {
    margin-bottom: 40px;
}

.accounts-section h2 {
    font-size: 24px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 24px;
}

.accounts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}

.account-card {
    background: var(--white);
    border-radius: 16px;
    padding: 28px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border: 1px solid var(--gray-100);
}

.account-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.account-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.account-icon {
    width: 48px;
    height: 48px;
    background: var(--chase-light-blue);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--chase-blue);
    font-size: 20px;
}

.account-type {
    font-size: 16px;
    font-weight: 600;
    color: var(--gray-700);
}

.account-balance {
    margin-bottom: 16px;
}

.balance-label {
    font-size: 13px;
    color: var(--gray-500);
    font-weight: 500;
    display: block;
    margin-bottom: 4px;
}

.balance-amount {
    font-size: 36px;
    font-weight: 700;
    color: var(--gray-900);
}

.account-number {
    font-size: 14px;
    color: var(--gray-500);
    font-family: 'Courier New', monospace;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.account-actions {
    display: flex;
    gap: 12px;
}

.action-btn {
    flex: 1;
    padding: 12px 16px;
    background: var(--gray-100);
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-700);
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.action-btn:hover {
    background: var(--gray-200);
}

.account-card.checking .account-icon {
    background: #DBEAFE;
    color: #1E40AF;
}

.account-card.savings .account-icon {
    background: #D1FAE5;
    color: #065F46;
}

.account-card.credit .account-icon {
    background: #FEF3C7;
    color: #92400E;
}

/* Quick Actions */
.quick-actions {
    margin-bottom: 40px;
}

.quick-actions h2 {
    font-size: 24px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 24px;
}

.actions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
}

.quick-action {
    background: var(--white);
    border-radius: 12px;
    padding: 24px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-100);
}

.quick-action:hover {
    background: var(--chase-blue);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.quick-action:hover i,
.quick-action:hover span {
    color: var(--white);
}

.quick-action i {
    font-size: 28px;
    color: var(--chase-blue);
    margin-bottom: 12px;
    display: block;
    transition: color 0.2s ease;
}

.quick-action span {
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-700);
    display: block;
    transition: color 0.2s ease;
}

/* Transactions Section */
.transactions-section {
    margin-bottom: 40px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.section-header h2 {
    font-size: 24px;
    font-weight: 700;
    color: var(--gray-900);
}

.view-all {
    color: var(--chase-blue);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: color 0.2s ease;
}

.view-all:hover {
    color: var(--chase-dark-blue);
}

.transactions-list {
    background: var(--white);
    border-radius: 16px;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.transaction-item {
    display: flex;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid var(--gray-100);
    transition: background 0.2s ease;
}

.transaction-item:last-child {
    border-bottom: none;
}

.transaction-item:hover {
    background: var(--gray-50);
}

.transaction-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 16px;
    font-size: 18px;
}

.transaction-icon.grocery {
    background: #DBEAFE;
    color: #1E40AF;
}

.transaction-icon.deposit {
    background: #D1FAE5;
    color: #065F46;
}

.transaction-icon.dining {
    background: #FEF3C7;
    color: #92400E;
}

.transaction-icon.shopping {
    background: #FCE7F3;
    color: #9D174D;
}

.transaction-icon.gas {
    background: #E0E7FF;
    color: #3730A3;
}

.transaction-icon.transfer {
    background: #F3F4F6;
    color: #4B5563;
}

.transaction-details {
    flex: 1;
}

.transaction-name {
    font-size: 15px;
    font-weight: 600;
    color: var(--gray-800);
    display: block;
}

.transaction-date {
    font-size: 13px;
    color: var(--gray-500);
}

.transaction-amount {
    font-size: 16px;
    font-weight: 700;
}

.transaction-amount.positive {
    color: var(--success);
}

.transaction-amount.negative {
    color: var(--gray-800);
}

/* Spending Section */
.spending-section {
    margin-bottom: 40px;
}

.spending-section h2 {
    font-size: 24px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 24px;
}

.spending-categories {
    background: var(--white);
    border-radius: 16px;
    padding: 28px;
    box-shadow: var(--shadow);
}

.category-item {
    margin-bottom: 24px;
}

.category-item:last-child {
    margin-bottom: 0;
}

.category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.category-name {
    font-size: 15px;
    font-weight: 600;
    color: var(--gray-700);
    display: flex;
    align-items: center;
    gap: 8px;
}

.category-amount {
    font-size: 16px;
    font-weight: 700;
    color: var(--gray-900);
}

.progress-bar {
    height: 8px;
    background: var(--gray-200);
    border-radius: 4px;
    overflow: hidden;
}

.progress {
    height: 100%;
    background: linear-gradient(90deg, var(--chase-blue), var(--chase-dark-blue));
    border-radius: 4px;
    transition: width 0.5s ease;
}

/* Modal Styles */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    backdrop-filter: blur(4px);
}

.modal-content {
    background: var(--white);
    border-radius: 16px;
    padding: 32px;
    width: 100%;
    max-width: 480px;
    box-shadow: var(--shadow-xl);
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.modal-header h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--gray-900);
}

.close-modal {
    background: none;
    border: none;
    font-size: 28px;
    color: var(--gray-400);
    cursor: pointer;
    padding: 4px;
    line-height: 1;
    transition: color 0.2s ease;
}

.close-modal:hover {
    color: var(--gray-600);
}

.modal-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.submit-btn {
    background: var(--chase-blue);
    color: var(--white);
    border: none;
    padding: 16px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-top: 8px;
}

.submit-btn:hover {
    background: var(--chase-dark-blue);
    transform: translateY(-1px);
    box-shadow: var(--shadow);
}

.upload-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.upload-box {
    border: 2px dashed var(--gray-300);
    border-radius: 12px;
    padding: 32px 16px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.upload-box:hover {
    border-color: var(--chase-blue);
    background: var(--chase-light-blue);
}

.upload-box i {
    font-size: 32px;
    color: var(--gray-400);
    margin-bottom: 12px;
    display: block;
}

.upload-box span {
    font-size: 14px;
    color: var(--gray-600);
    font-weight: 500;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .nav-container {
        padding: 0 16px;
    }
    
    .nav-menu {
        display: none;
    }
    
    .main-content {
        padding: 24px 16px;
    }
    
    .welcome-section {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .accounts-grid {
        grid-template-columns: 1fr;
    }
    
    .actions-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .login-container {
        padding: 32px 20px;
        margin: 16px;
        max-width: 100%;
    }
    
    .chase-logo-img {
        width: 80px;
    }
    
    .checkbox-group {
        flex-direction: column;
        gap: 12px;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 12px;
    }
    
    .modal-content {
        margin: 16px;
        padding: 24px;
    }
    
    .upload-section {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .actions-grid {
        grid-template-columns: 1fr;
    }
    
    .account-actions {
        flex-direction: column;
    }
    
    .welcome-text h1 {
        font-size: 24px;
    }
    
    .balance-amount {
        font-size: 28px;
    }
}

/* Custom Additions for Dashboard Revamp */
.nav-chase-logo {
    height: 28px;
    width: auto;
    /* Translate white image to Chase Blue */
    filter: brightness(0) saturate(100%) invert(21%) sepia(83%) saturate(2329%) hue-rotate(203deg) brightness(97%) contrast(106%);
}

.dark-mode-btn {
    background: none;
    border: none;
    color: var(--gray-500);
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    transition: all 0.2s ease;
    font-size: 16px;
    margin-right: 8px;
}

.dark-mode-btn:hover {
    background: var(--gray-100);
    color: var(--chase-blue);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

body.dark-mode {
    --white: #1F2937;
    --gray-50: #111827;
    --gray-100: #374151;
    --gray-200: #4B5563;
    --gray-300: #6B7280;
    --gray-400: #9CA3AF;
    --gray-500: #D1D5DB;
    --gray-600: #E5E7EB;
    --gray-700: #F3F4F6;
    --gray-800: #F9FAFB;
    --gray-900: #FFFFFF;
    --chase-blue: #60A5FA;
    --chase-dark-blue: #93C5FD;
    --chase-light-blue: #1E3A8A;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.3);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.4), 0 2px 4px -1px rgba(0, 0, 0, 0.2);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.4), 0 4px 6px -2px rgba(0, 0, 0, 0.2);
}

body.dark-mode .nav-chase-logo {
    /* Translate white to white (reset) */
    filter: brightness(0) saturate(100%) invert(100%);
}

body.dark-mode .modal-content,
body.dark-mode .transaction-list {
    background: var(--white);
    color: var(--gray-900);
}

body.dark-mode .form-group input,
body.dark-mode .form-group select {
    background: var(--gray-50);
    color: var(--gray-900);
    border-color: var(--gray-200);
}

body.dark-mode .transaction-item {
    border-color: var(--gray-100);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--gray-600);
    font-size: 20px;
    cursor: pointer;
    margin-right: 12px;
}

/* Cards Tab Styling */
.cards-layout {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    margin-top: 24px;
}

.card-module {
    flex: 1 1 300px;
    max-width: 400px;
}

.credit-card-ui {
    width: 100%;
    aspect-ratio: 1.586;
    border-radius: 12px;
    padding: 24px;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    position: relative;
    overflow: hidden;
    margin-bottom: 16px;
    box-sizing: border-box;
}

.credit-card-ui::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 100%);
    pointer-events: none;
}

.credit-card-ui.sapphire {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
}

.credit-card-ui.freedom {
    background: linear-gradient(135deg, #0072ff 0%, #00c6ff 100%);
}

.card-chip {
    font-size: 32px;
    color: #ffd700;
}

.card-logo {
    font-size: 16px;
    font-weight: 700;
    text-align: right;
    margin-top: -36px;
}

.card-number {
    font-family: 'Courier New', Courier, monospace;
    font-size: 22px;
    letter-spacing: 2px;
    margin-top: auto;
    margin-bottom: 12px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.card-details {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.card-info-box {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    padding: 16px;
    box-shadow: var(--shadow-sm);
}

.info-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    font-size: 14px;
    color: var(--gray-600);
}

.info-val {
    font-weight: 600;
    color: var(--gray-900);
}

.card-actions-row {
    display: flex;
    gap: 12px;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--gray-200);
}

/* Dark mode overrides for cards */
body.dark-mode .card-info-box {
    background: var(--white);
    border-color: var(--gray-100);
}
body.dark-mode .info-val {
    color: var(--gray-900);
}
body.dark-mode .mobile-menu-toggle {
    color: var(--gray-500);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }
    
    .nav-container {
        flex-wrap: wrap;
    }
    
    .nav-menu {
        display: none;
        width: 100%;
        flex-direction: column;
        padding-top: 16px;
    }
    
    .nav-menu.show {
        display: flex;
    }
    
    .nav-item {
        width: 100%;
    }
    
    .nav-link {
        justify-content: center;
        padding: 12px;
    }
    
    .welcome-section {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
}
