/* CSS Variables - Modern Design System */
:root {
    /* Modern Color Palette */
    --primary-color: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-light: #93c5fd;
    --gold: #d4af37;
    --gold-dark: #b7950b;
    --gold-light: #f8e9a1;
    --silver: #c0c0c0;
    --platinum: #e5e4e2;
    
    /* Neutral Colors */
    --text-color: #1f2937;
    --text-secondary: #6b7280;
    --text-muted: #9ca3af;
    --bg-light: #f8fafc;
    --bg-white: #ffffff;
    --bg-gray: #f1f5f9;
    --border-color: #e5e7eb;
    
    /* Status Colors */
    --success: #10b981;
    --success-light: #d1fae5;
    --warning: #f59e0b;
    --warning-light: #fef3c7;
    --danger: #ef4444;
    --danger-light: #fee2e2;
    --info: #3b82f6;
    --info-light: #dbeafe;
    
    /* Gradients */
    --primary-gradient: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    --gold-gradient: linear-gradient(135deg, #d4af37 0%, #f9d423 100%);
    --success-gradient: linear-gradient(135deg, #059669 0%, #10b981 100%);
    --premium-gradient: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 6px 12px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px -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);
    
    /* Border Radius */
    --radius-sm: 4px;
    --radius: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    
    /* Transitions */
    --transition: all 0.3s ease;
    --transition-slow: all 0.5s ease;
    --transition-bounce: all 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    
    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    
    /* Typography */
    --font-family-base: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
    --font-family-heading: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
    --font-size-xs: 0.75rem;
    --font-size-sm: 0.875rem;
    --font-size-base: 1rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    --font-size-2xl: 1.5rem;
    --font-size-3xl: 1.875rem;
    --font-size-4xl: 2.25rem;
    --font-weight-normal: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    --line-height-tight: 1.25;
    --line-height-normal: 1.5;
    --line-height-relaxed: 1.75;
    
    /* Layout */
    --max-width: 1200px;
    --header-height: 80px;
    --sidebar-width: 280px;
    --content-padding: 2rem;
    
    /* Z-index */
    --z-dropdown: 1000;
    --z-sticky: 1020;
    --z-modal: 1030;
    --z-popover: 1040;
    --z-tooltip: 1050;
}

/* Modern Typography and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-family-base);
    font-size: var(--font-size-base);
    line-height: var(--line-height-normal);
    color: var(--text-color);
    background: var(--bg-light);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Typography Scale */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-family-heading);
    font-weight: var(--font-weight-semibold);
    line-height: var(--line-height-tight);
    color: var(--text-color);
    margin-bottom: var(--space-md);
}

h1 { font-size: var(--font-size-4xl); }
h2 { font-size: var(--font-size-3xl); }
h3 { font-size: var(--font-size-2xl); }
h4 { font-size: var(--font-size-xl); }
h5 { font-size: var(--font-size-lg); }
h6 { font-size: var(--font-size-base); }

p {
    margin-bottom: var(--space-md);
    color: var(--text-secondary);
}

/* Modern Scroll Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.fade-in.appear {
    opacity: 1;
    transform: translateY(0);
}

.slide-up {
    opacity: 0;
    transform: translateY(60px);
    transition: all 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.slide-up.appear {
    opacity: 1;
    transform: translateY(0);
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.slide-in-left.appear {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.slide-in-right.appear {
    opacity: 1;
    transform: translateX(0);
}

.scale-in {
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.scale-in.appear {
    opacity: 1;
    transform: scale(1);
}
body {
     font-family: 'Poppins', sans-serif;
     margin: 0;
     padding: 0;
     box-sizing: border-box;
     background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%); /* Modern gradient background */
     color: #333333;
     line-height: 1.6;
 }
 
 .container {
     max-width: 1200px;
     margin: 0 auto;
     padding: 0 20px;
 }

 /* Modern Card Styles */
 .modern-card {
     background: rgba(255, 255, 255, 0.95);
     backdrop-filter: blur(10px);
     border-radius: 20px;
     padding: 2rem;
     box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
     border: 1px solid rgba(255, 255, 255, 0.2);
     transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
 }

 .modern-card:hover {
     transform: translateY(-10px);
     box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
 }

 /* Glassmorphism Effect */
 .glass-effect {
     background: rgba(255, 255, 255, 0.1);
     backdrop-filter: blur(15px);
     border: 1px solid rgba(255, 255, 255, 0.2);
     border-radius: 15px;
 }
 
 /* Modern Header Styles */
.site-header {
	background: var(--bg-white);
	backdrop-filter: blur(20px);
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: var(--z-sticky);
	padding: 0;
	transition: all 0.3s ease;
	border-bottom: 1px solid var(--border-color);
	box-shadow: var(--shadow-lg);
	height: var(--header-height);
}

.site-header.scrolled {
	background: var(--bg-white);
	box-shadow: var(--shadow-xl);
}

.site-header .container {
	display: flex;
	justify-content: space-between;
	align-items: center;
	max-width: var(--max-width);
	margin: 0 auto;
	padding: 0 var(--content-padding);
	height: 100%;
}

.site-header .logo {
	display: flex;
	align-items: center;
	gap: var(--space-sm);
	font-size: var(--font-size-2xl);
	font-weight: var(--font-weight-bold);
	color: var(--primary-color);
	text-decoration: none;
	transition: var(--transition);
}

.site-header .logo::before {
	content: '';
	width: 48px;
	height: 48px;
	background: url('favicon/hammad.png') no-repeat center center;
	background-size: contain;
	font-size: 0;
}

.site-header .logo:hover {
	opacity: 0.95;
	transform: translateY(-1px);
	color: var(--primary-dark);
}

.site-header .main-nav ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	align-items: center;
	gap: var(--space-md);
}

.site-header .main-nav li {
	margin: 0;
}

.site-header .main-nav a {
	color: var(--text-secondary);
	text-decoration: none;
	font-weight: var(--font-weight-medium);
	font-size: var(--font-size-sm);
	position: relative;
	padding: var(--space-sm) var(--space-md);
	border-radius: var(--radius);
	transition: var(--transition);
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.site-header .main-nav a::after {
	content: '';
	position: absolute;
	left: 50%;
	bottom: 0;
	width: 0;
	height: 2px;
	border-radius: 2px;
	background-color: var(--primary-color);
	transition: width 0.25s ease-in-out;
	transform: translateX(-50%);
}

.site-header .main-nav a:hover,
.site-header .main-nav a.current {
	color: var(--primary-color);
	background: var(--primary-light);
}

.site-header .main-nav a:hover::after,
.site-header .main-nav a.current::after {
	width: 20px;
}

/* User Menu and Actions */
.user-actions {
	display: flex;
	align-items: center;
	gap: var(--space-md);
}

.user-menu {
	display: flex;
	align-items: center;
	gap: var(--space-sm);
	padding: var(--space-sm) var(--space-md);
	background: var(--bg-gray);
	border-radius: var(--radius-lg);
	cursor: pointer;
	transition: var(--transition);
}

.user-menu:hover {
	background: var(--border-color);
	transform: translateY(-1px);
}

.user-avatar {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: var(--primary-gradient);
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--bg-white);
	font-weight: var(--font-weight-semibold);
	font-size: var(--font-size-lg);
	letter-spacing: 0.04em;
	line-height: 1;
	text-transform: uppercase;
}

.user-avatar svg {
	width: 20px;
	height: 20px;
	fill: currentColor;
}

.user-info {
	display: flex;
	flex-direction: column;
}

.user-name {
	font-weight: var(--font-weight-semibold);
	font-size: var(--font-size-sm);
	color: var(--text-color);
}

.user-role {
	font-size: var(--font-size-xs);
	color: var(--text-muted);
}

/* Modern Logout Button */
.logout-link {
	background: linear-gradient(135deg, #ff4757, #ff3838);
	color: white !important;
	padding: 10px 20px;
	border-radius: 999px;
	text-decoration: none;
	font-weight: var(--font-weight-semibold);
	font-size: var(--font-size-sm);
	box-shadow: 0 8px 25px rgba(255, 56, 56, 0.35);
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	border: none;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	gap: var(--space-xs);
}

.logout-link:hover {
	background: linear-gradient(135deg, #ff3838, #ff1e1e);
	transform: translateY(-2px);
	box-shadow: 0 12px 35px rgba(255, 56, 56, 0.5);
}

.logout-link:active {
	transform: translateY(0);
	box-shadow: 0 4px 15px rgba(255, 56, 56, 0.3);
}

.logout-link::before {
	content: "🚪";
	font-size: var(--font-size-md);
}

/* Theme Toggle */
.theme-toggle {
	background: none;
	border: none;
	padding: var(--space-sm);
	border-radius: var(--radius);
	cursor: pointer;
	transition: var(--transition);
	color: var(--text-secondary);
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.theme-toggle-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.theme-toggle .theme-icon {
	display: none;
	fill: currentColor;
}

.theme-toggle .theme-icon--moon {
	display: block;
}

.theme-toggle[data-theme="dark"] .theme-icon--moon {
	display: none;
}

.theme-toggle[data-theme="dark"] .theme-icon--sun {
	display: block;
}

.theme-toggle:hover {
	background: var(--bg-gray);
	color: var(--primary-color);
	transform: rotate(15deg);
}

.site-header .apply-now-btn {
	background: linear-gradient(135deg, var(--gold), var(--dark-gold));
	color: #000000;
	padding: 10px 22px;
	border-radius: 999px;
	text-decoration: none;
	font-weight: 700;
	font-size: 0.95rem;
	box-shadow: 0 12px 30px rgba(212, 175, 55, 0.45);
	transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.site-header .apply-now-btn:hover {
	transform: translateY(-1px);
	filter: brightness(1.05);
	box-shadow: 0 18px 40px rgba(212, 175, 55, 0.6);
}
 

  

 

 

 


/* ===== PROFILE DROPDOWN STYLES ===== */

.profile-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    width: 280px;
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--border-color);
    z-index: 1200;
    margin-top: 8px;
    animation: dropdownSlideIn 0.2s ease-out;
}

@keyframes dropdownSlideIn {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dropdown-header {
    display: flex;
    align-items: center;
    padding: 16px;
    border-bottom: 1px solid var(--border-color);
}

.dropdown-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: bold;
    color: #000;
    margin-right: 12px;
    border: 2px solid var(--gold);
    text-transform: uppercase;
}

.dropdown-user-info {
    flex: 1;
}

.dropdown-name {
    display: block;
    font-weight: 600;
    color: var(--text-color);
    font-size: 14px;
    margin-bottom: 2px;
}

.dropdown-role {
    display: block;
    color: var(--text-secondary);
    font-size: 12px;
}

.dropdown-divider {
    height: 1px;
    background-color: var(--border-color);
    margin: 8px 0;
}

.dropdown-menu {
    list-style: none;
    padding: 8px 0;
    margin: 0;
}

.dropdown-item {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    color: var(--text-color);
    text-decoration: none;
    font-size: 14px;
    transition: all 0.2s ease;
    border: none;
    background: none;
    width: 100%;
    text-align: left;
    cursor: pointer;
}

.dropdown-item:hover,
.dropdown-item:focus {
    background-color: var(--bg-gray);
    color: var(--primary-color);
}

.dropdown-item:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: -2px;
}

.dropdown-icon {
    margin-right: 12px;
    font-size: 16px;
    width: 20px;
    text-align: center;
}

.logout-item {
    color: var(--danger) !important;
}

.logout-item:hover,
.logout-item:focus {
    background-color: var(--danger-light) !important;
    color: var(--danger) !important;
}

/* User avatar active state */
.user-avatar.active {
    background-color: rgba(255, 215, 0, 0.2);
    outline: 2px solid var(--gold);
}

/* Responsive design */
@media (max-width: 768px) {
    .profile-dropdown {
        position: fixed;
        top: auto;
        bottom: 0;
        left: 0;
        right: 0;
        width: 100%;
        border-radius: var(--radius-lg) var(--radius-lg) 0 0;
        margin-top: 0;
        animation: dropdownSlideUp 0.3s ease-out;
    }
    
    @keyframes dropdownSlideUp {
        from {
            transform: translateY(100%);
            opacity: 0;
        }
        to {
            transform: translateY(0);
            opacity: 1;
        }
    }
    
    .dropdown-header {
        padding: 20px 16px;
    }
    
    .dropdown-menu {
        padding: 16px 0;
    }
    
    .dropdown-item {
        padding: 16px;
        font-size: 16px;
    }
}
 }

 .mobile-menu-overlay .mobile-user-name {
     font-size: 18px;
     font-weight: 600;
     color: #FFFFFF;
     margin-bottom: 4px;
 }
 
 .mobile-menu-overlay .mobile-user-role {
     font-size: 14px;
     color: #FFD700;
     margin-bottom: 16px;
     opacity: 0.9;
 }
 
 .mobile-menu-overlay .mobile-logout-btn {
     display: inline-block;
     padding: 12px 24px;
     background: rgba(255, 215, 0, 0.2);
     color: #FFD700;
     text-decoration: none;
     border-radius: 8px;
     font-weight: 600;
     border: 2px solid #FFD700;
     transition: all 0.3s ease;
     min-width: 120px;
 }
 
 .mobile-menu-overlay .mobile-logout-btn:hover,
 .mobile-menu-overlay .mobile-logout-btn:focus {
     background: #FFD700;
     color: #000;
     transform: translateY(-2px);
 }
 
 .mobile-menu-overlay .mobile-logout-btn:focus-visible {
     outline: 3px solid #FFD700;
     outline-offset: 2px;
 }
 
 .mobile-menu-overlay .mobile-apply-btn {
     background-color: #FFD700; /* Gold button */
     color: #000000; /* Black text */
     padding: 15px 30px;
     border: none;
     border-radius: 5px;
     font-weight: 700;
     font-size: 20px;
     margin-top: 30px;
     transition: background-color 0.3s ease-in-out, color 0.3s ease-in-out;
 }
 
 .mobile-menu-overlay .mobile-apply-btn:hover {
     background-color: #e6c200; /* Slightly darker gold on hover */
 }
 
 /* Hero Section */
 .career-hero {
     background-color: #f8f8f8; /* Faded white background */
     color: #333333;
     text-align: center;
     padding: 150px 0 100px;
     min-height: 500px;
     display: flex;
     align-items: center;
     justify-content: center;
 }
 
 .career-hero h1 {
     font-size: 60px;
     color: #FFD700; /* Gold headline */
     margin-bottom: 20px;
 }
 
 .career-hero p {
     font-size: 24px;
     margin-bottom: 40px;
 }
 
 .career-hero .btn-gold-outline {
     border: 2px solid #FFD700; /* Gold outline */
     color: #FFD700; /* Gold text */
     padding: 15px 30px;
     text-decoration: none;
     font-weight: 700;
     border-radius: 5px;
     transition: background-color 0.3s ease-in-out, color 0.3s ease-in-out;
 }
 
 .career-hero .btn-gold-outline:hover {
     background-color: #FFD700; /* Gold fill on hover */
     color: #000000; /* Black text on hover */
 }
 
 /* Why Work With Us Section */
 .why-work-with-us {
     background-color: #f8f8f8; /* Faded white background */
     padding: 80px 0;
     text-align: center;
 }
 
 .why-work-with-us h2 {
     font-size: 45px;
     color: #FFD700; /* Gold heading */
     margin-bottom: 60px;
 }
 
 .why-work-with-us .feature-boxes {
     display: grid;
     grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
     gap: 30px;
 }
 
 .why-work-with-us .feature-box {
     background-color: #ffffff; /* White box */
     padding: 40px;
     border-radius: 10px;
     box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
     transition: transform 0.3s ease-in-out;
 }
 
 .why-work-with-us .feature-box:hover {
     transform: translateY(-10px);
 }
 
 .why-work-with-us .feature-box .icon {
     font-size: 50px;
     color: #FFD700; /* Gold icon */
     margin-bottom: 20px;
 }
 
 .why-work-with-us .feature-box h3 {
     font-size: 24px;
     color: #333333;
     margin-bottom: 15px;
 }
 
 .why-work-with-us .feature-box p {
     font-size: 16px;
     color: #666666;
 }
 
 /* Career Content (Job Listings) */
 .career-content {
     background-color: #f8f8f8; /* Faded white background */
     padding: 80px 0;
 }
 
 .career-content h2 {
     font-size: 45px;
     color: #FFD700; /* Gold heading */
     text-align: center;
     margin-bottom: 60px;
 }
 
 .career-content .job-listings {
     display: grid;
     grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
     gap: 30px;
 }
 
 .career-content .job-card {
     background-color: #ffffff; /* White card */
     padding: 30px;
     border-radius: 10px;
     box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
     transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
 }
 
 .career-content .job-card:hover {
     transform: translateY(-10px);
     box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
 }
 
 .career-content .job-card h3 {
     font-size: 28px;
     color: #FFD700; /* Gold job title */
     margin-bottom: 10px;
 }
 
 .career-content .job-card p {
     font-size: 16px;
     color: #666666;
     margin-bottom: 10px;
 }
 
 .career-content .job-card ul {
     list-style: none;
     padding: 0;
     margin-bottom: 20px;
 }
 
 .career-content .job-card ul li {
     color: #666666;
     margin-bottom: 5px;
 }
 
 .career-content .job-card .apply-job-btn {
     display: inline-block;
     border: 2px solid #FFD700; /* Gold outline */
     color: #FFD700; /* Gold text */
     padding: 10px 20px;
     text-decoration: none;
     font-weight: 700;
     border-radius: 5px;
     transition: background-color 0.3s ease-in-out, color 0.3s ease-in-out;
 }
 
 .career-content .job-card .apply-job-btn:hover {
     background-color: #FFD700; /* Gold fill on hover */
     color: #000000; /* Black text on hover */
 }
 
 /* Contact Section */
 .contact {
     background-color: #f8f8f8; /* Faded white background */
     padding: 80px 0;
     color: #333333;
 }
 
 .contact h2 {
     font-size: 45px;
     color: #FFD700; /* Gold heading */
     margin-bottom: 20px;
 }
 
 .contact p {
     font-size: 18px;
     margin-bottom: 40px;
 }
 
 .contact .contact-container {
     display: flex;
     flex-wrap: wrap;
     gap: 40px;
     justify-content: center;
 }
 
 .contact .contact-info {
     flex: 1;
     min-width: 300px;
     display: flex;
     flex-direction: column;
     gap: 25px;
 }
 
 .contact .contact-item {
     display: flex;
     align-items: center;
     gap: 15px;
 }
 
 .contact .contact-item .contact-icon {
     font-size: 30px;
     color: #FFD700; /* Gold icon */
 }
 
 .contact .contact-item h4 {
     font-size: 20px;
     color: #FFD700; /* Gold heading */
     margin-bottom: 5px;
 }
 
 .contact .contact-item p {
     font-size: 16px;
     color: #666666;
     margin: 0;
 }
 
 .contact .contact-form {
     flex: 1;
     min-width: 300px;
     background-color: #ffffff; /* White form background */
     padding: 40px;
     border-radius: 10px;
     box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
 }
 
 .contact .contact-form h3 {
     font-size: 28px;
     color: #FFD700; /* Gold heading */
     margin-bottom: 30px;
     text-align: center;
 }
 
 .contact .contact-form .form-group {
     margin-bottom: 20px;
 }
 
 .contact .contact-form label {
     display: block;
     font-size: 16px;
     color: #333333;
     margin-bottom: 8px;
 }
 
 .contact .contact-form input[type="text"],
 .contact .contact-form input[type="email"],
 .contact .contact-form textarea {
     width: calc(100% - 20px);
     padding: 12px;
     border: 1px solid #cccccc; /* Lighter gray border */
     border-radius: 5px;
     background-color: #ffffff; /* White input background */
     color: #333333;
     font-size: 16px;
 }
 
 .contact .contact-form textarea {
     resize: vertical;
     min-height: 120px;
 }
 
 .contact .contact-form .btn {
     background-color: #FFD700; /* Gold button */
     color: #000000; /* Black text */
     padding: 15px 30px;
     border: none;
     border-radius: 5px;
     font-size: 18px;
     font-weight: 700;
     cursor: pointer;
     transition: background-color 0.3s ease-in-out, color 0.3s ease-in-out;
     width: 100%;
 }
 
 .contact .contact-form .btn:hover {
     background-color: #e6c200; /* Slightly darker gold on hover */
 }
 
 .contact .contact-form .error-message {
     color: #ff4d4d; /* Red error message */
     font-size: 14px;
     margin-top: 5px;
     display: none; /* Hidden by default */
 }
 
 @media (max-width: 768px) {
     .contact h2 {
         font-size: 35px;
     }
 
     .contact p {
         font-size: 16px;
     }
 
     .contact .contact-container {
         flex-direction: column;
     }
 
     .contact .contact-info,
     .contact .contact-form {
         min-width: unset;
         width: 100%;
     }
 }
 
 @media (max-width: 480px) {
     .contact h2 {
         font-size: 30px;
     }
 
     .contact .contact-form {
         padding: 30px;
     }
 
     .contact .contact-form h3 {
         font-size: 24px;
     }
 
     .contact .contact-form .btn {
         padding: 12px 25px;
         font-size: 16px;
     }
 }
 
 /* Footer Styles */
 footer {
     background-color: #f8f8f8; /* Faded white background */
     color: #333333;
     padding: 60px 0 20px;
     font-size: 15px;
 }
 
 footer .container {
     display: grid;
     grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
     gap: 30px;
     margin-bottom: 40px;
 }
 
 footer .footer-section h3 {
     color: #FFD700; /* Gold headings */
     font-size: 20px;
     margin-bottom: 20px;
 }
 
 footer .footer-section ul {
     list-style: none;
     padding: 0;
 }
 
 footer .footer-section ul li {
     margin-bottom: 10px;
 }
 
 footer .footer-section a {
     color: #666666;
     text-decoration: none;
     transition: color 0.3s ease-in-out;
 }
 
 footer .footer-section a:hover {
     color: #FFD700; /* Gold on hover */
 }
 
 footer .social-icons a {
     font-size: 24px;
     margin-right: 15px;
     color: #FFD700; /* Gold social icons */
     transition: color 0.3s ease-in-out;
 }
 
 footer .social-icons a:hover {
     color: #f4f4f4; /* White on hover */
 }
 
 .copy-right {
     text-align: center;
     border-top: 1px solid #e0e0e0;
     padding-top: 20px;
     color: #666666;
 }
 
 /* Enhanced Responsive Design */
 @media (max-width: 768px) {
     /* Enhanced Mobile Header */
     .site-header .container {
         padding: 0 16px;
     }
     
     .site-header .main-nav,
     .site-header .apply-now-btn,
     .site-header .user-actions .user-info {
         display: none;
     }
 
     .hamburger-menu {
         display: flex;
         margin-left: auto;
         margin-right: 12px;
     }
     
     /* Enhanced User Actions for Mobile */
     .site-header .user-actions {
         display: flex;
         align-items: center;
         gap: 12px;
     }
     
     .site-header .theme-toggle {
         width: 48px;
         height: 48px;
         border-radius: 50%;
         display: flex;
         align-items: center;
         justify-content: center;
         font-size: 20px;
         background: rgba(255, 215, 0, 0.1);
         border: 2px solid #FFD700;
         transition: all 0.3s ease;
     }
     
     .site-header .theme-toggle:hover,
     .site-header .theme-toggle:focus {
         background: #FFD700;
         color: #000;
         transform: scale(1.1);
     }
     
     .site-header .theme-toggle:focus-visible {
         outline: 3px solid #FFD700;
         outline-offset: 2px;
     }
     
     .site-header .user-menu {
         display: flex;
         align-items: center;
         gap: 8px;
     }
     
     .site-header .user-avatar {
         width: 40px;
         height: 40px;
         border-radius: 50%;
         background: linear-gradient(135deg, #FFD700 0%, #D4AF37 100%);
         display: flex;
         align-items: center;
         justify-content: center;
         font-weight: bold;
         color: #000;
         border: 2px solid rgba(255, 255, 255, 0.3);
     }
     
     .site-header .logout-link {
         display: none !important; /* Hide desktop logout, show in mobile menu */
     }
 
     .career-hero h1 {
         font-size: 45px;
     }
 
     .career-hero p {
         font-size: 20px;
     }
 
     .why-work-with-us h2,
     .career-content h2,
     .apply-section h2 {
         font-size: 35px;
     }
 
     .why-work-with-us .feature-boxes,
     .career-content .job-listings {
         grid-template-columns: 1fr;
     }
 
     footer .container {
         grid-template-columns: 1fr;
         text-align: center;
     }
 
     footer .footer-section ul {
         margin-bottom: 30px;
     }
 }
 
 @media (max-width: 480px) {
     /* Enhanced Mobile Header */
     .site-header .logo {
         font-size: 20px;
         max-width: 180px;
         white-space: nowrap;
         overflow: hidden;
         text-overflow: ellipsis;
     }

     .site-header .container {
         padding: 0 12px;
     }

     .site-header .user-avatar {
         width: 36px;
         height: 36px;
         font-size: 14px;
     }

     .site-header .theme-toggle {
         width: 40px;
         height: 40px;
         font-size: 18px;
     }

     .hamburger-menu {
         width: 44px;
         height: 44px;
         padding: 10px;
     }

     /* Enhanced Mobile Menu */
     .mobile-menu-overlay {
         padding: 70px 16px 30px;
     }

     .mobile-menu-overlay .close-btn {
         top: 20px;
         right: 20px;
         width: 40px;
         height: 40px;
         font-size: 30px;
     }

     .mobile-menu-overlay .mobile-nav-list {
         margin: 30px 0 40px;
         max-width: 280px;
     }

     .mobile-menu-overlay .mobile-nav-list a {
         font-size: 20px;
         padding: 14px 20px;
     }

     .mobile-menu-overlay .mobile-user-section {
         max-width: 280px;
         padding: 20px;
     }

     .mobile-menu-overlay .mobile-user-avatar {
         width: 56px;
         height: 56px;
         font-size: 20px;
     }

     .mobile-menu-overlay .mobile-user-name {
         font-size: 16px;
     }

     .mobile-menu-overlay .mobile-user-role {
         font-size: 13px;
     }

     .mobile-menu-overlay .mobile-logout-btn {
         padding: 10px 20px;
         font-size: 14px;
         min-width: 100px;
     }

     /* Content adjustments */
     .career-hero h1 {
         font-size: 35px;
     }

     .career-hero p {
         font-size: 18px;
     }

     .career-hero .btn-gold-outline {
         padding: 12px 25px;
         font-size: 16px;
     }

     .why-work-with-us h2,
     .career-content h2,
     .apply-section h2 {
         font-size: 30px;
     }

     .why-work-with-us .feature-box,
     .career-content .job-card {
         padding: 25px;
     }

     .mobile-menu-overlay .mobile-apply-btn {
         padding: 12px 25px;
         font-size: 18px;
     }
 }

 /* =====================================================================
   Auth Pages (Login & Signup) Shared Styles
   ===================================================================== */
   :root {
       /* Extended palette for auth pages */
       --royal-blue: #003366;
       --dark-gold: #AA8C2C;
       --light-gray: #F5F5F5;
       --dark-gray: #333333;
   }

   body.auth-page {
       --gold: #D4AF37;
       --royal-blue: #003366;
       --light-gold: #F5E7A3;
       --dark-gold: #AA8C2C;
       --white: #FFFFFF;
       --black: #000000;
       --light-gray: #F5F5F5;
       --dark-gray: #333333;
   }

   body.auth-page {
       background: var(--white);
       color: var(--dark-gray);
   }

   body.auth-page .site-header {
       background: var(--royal-blue);
       border-bottom: 0;
       box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
   }

   body.auth-page .site-header .logo {
       color: var(--gold);
   }

   body.auth-page .site-header .logo:hover {
       color: var(--light-gold);
   }

   body.auth-page .site-header .logo::before {
       width: 64px;
       height: 64px;
   }

   body.auth-page .site-header .main-nav a {
       color: var(--white);
   }

   body.auth-page .site-header .main-nav a::after {
       background-color: var(--gold);
   }

   body.auth-page .site-header .main-nav a:hover,
   body.auth-page .site-header .main-nav a.current {
       color: var(--gold);
       background: rgba(255, 255, 255, 0.1);
   }
   
   /* Generic Form Group */
   .form-group {
       display: grid;
       gap: 0.5rem;
   }
   .form-group label {
       font-weight: 600;
       color: var(--royal-blue);
       font-size: 0.95rem;
   }
   .form-group input,
   .form-group select,
   .form-group textarea {
       padding: 15px 20px;
       border: 2px solid #e1e5e9;
       border-radius: 10px;
       font-size: 1rem;
       transition: all 0.3s ease;
       background: var(--light-gray);
   }
   .form-group input:focus,
   .form-group select:focus,
   .form-group textarea:focus {
       border-color: var(--gold);
       box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.2);
       background: var(--white);
   }

   /* Form Validation States */
   .form-group input:invalid:not(:placeholder-shown),
   .form-group select:invalid:not(:placeholder-shown) {
       border-color: var(--danger);
       box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.2);
   }

   .form-group input:valid:not(:placeholder-shown),
   .form-group select:valid:not(:placeholder-shown) {
       border-color: var(--success);
       box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
   }

   .form-message {
       padding: 12px 16px;
       border-radius: 8px;
       margin: 1rem 0;
       font-weight: 500;
   }

   .form-message.success {
       background: var(--success-light);
       color: var(--success);
       border: 1px solid var(--success);
   }

   .form-message.error {
       background: var(--danger-light);
       color: var(--danger);
       border: 1px solid var(--danger);
   }

   .form-message.info {
       background: var(--info-light);
       color: var(--info);
       border: 1px solid var(--info);
   }

   /* Password Strength Meter */
   .password-strength {
       height: 4px;
       background: var(--border-color);
       border-radius: 2px;
       margin-top: 8px;
       overflow: hidden;
   }

   .password-strength-meter {
       height: 100%;
       width: 0%;
       transition: width 0.3s ease;
       border-radius: 2px;
   }

   .password-strength.weak .password-strength-meter {
       background: var(--danger);
       width: 33%;
   }

   .password-strength.medium .password-strength-meter {
       background: var(--warning);
       width: 66%;
   }

   .password-strength.strong .password-strength-meter {
       background: var(--success);
       width: 100%;
   }

   .password-strength-text {
       font-size: 0.875rem;
       margin-top: 4px;
       color: var(--text-muted);
   }

   /* Form Row Layout */
   .form-row {
       display: grid;
       grid-template-columns: 2fr 1fr;
       gap: 1rem;
       margin-bottom: 1.5rem;
   }

   .form-row.small-fields {
       grid-template-columns: 1fr 1fr;
   }

   @media (max-width: 768px) {
       .form-row {
           grid-template-columns: 1fr;
           gap: 0;
       }
       
       .form-row.small-fields {
           grid-template-columns: 1fr;
       }
   }

   /* Terms Agreement */
   .terms-agreement {
       display: flex;
       align-items: flex-start;
       gap: 0.75rem;
       margin: 2rem 0;
       padding: 1.5rem;
       background: var(--bg-gray);
       border-radius: 12px;
       border: 1px solid var(--border-color);
   }

   .terms-agreement input[type="checkbox"] {
       margin-top: 0.25rem;
       flex-shrink: 0;
   }

   .terms-agreement label {
       font-size: 0.95rem;
       line-height: 1.5;
       color: var(--text-secondary);
       margin: 0;
   }

   .terms-agreement a {
       color: var(--primary-color);
       font-weight: 600;
       text-decoration: none;
   }

   .terms-agreement a:hover {
       text-decoration: underline;
   }
   
   /* Modern Auth Hero */
   .auth-hero {
       min-height: 70vh;
       display: flex;
       align-items: center;
       text-align: center;
       color: var(--white);
       padding: 100px 0 80px;
       background-size: cover;
       background-position: center;
       position: relative;
       overflow: hidden;
   }
   
   .auth-hero::before {
       content: '';
       position: absolute;
       top: 0;
       left: 0;
       right: 0;
       bottom: 0;
       background: linear-gradient(135deg,
           rgba(0, 51, 102, 0.95) 0%,
           rgba(0, 35, 70, 0.92) 55%,
           rgba(212, 175, 55, 0.25) 100%
       );
       backdrop-filter: blur(2px);
   }
   
   .auth-hero.blue {
       background: linear-gradient(135deg,
           rgba(0, 51, 102, 0.25),
           rgba(0, 35, 70, 0.35)
       ), url('globa_gold.jpg') no-repeat center center/cover;
   }
   
   .auth-hero.gold {
       background: linear-gradient(135deg,
           rgba(212, 175, 55, 0.18),
           rgba(170, 140, 44, 0.28)
       ), url('globa_gold.jpg') no-repeat center center/cover;
   }
   
   .hero-content {
       position: relative;
       z-index: 2;
       max-width: 600px;
       margin: 0 auto;
   }
   
   .hero-content h1 {
       font-size: 3.5rem;
       font-weight: 700;
       margin-bottom: 1rem;
       text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
       background: linear-gradient(135deg, #ffffff 0%, #f0f9ff 100%);
       -webkit-background-clip: text;
       -webkit-text-fill-color: transparent;
       background-clip: text;
   }
   
   .hero-content p {
       font-size: 1.25rem;
       font-weight: 400;
       opacity: 0.95;
       text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
   }
   
   /* Modern Auth Container */
   .auth-container {
       background: rgba(255, 255, 255, 0.98);
       backdrop-filter: blur(20px);
       border-radius: 24px;
       padding: 3.5rem;
       box-shadow: 
           0 25px 50px rgba(0, 0, 0, 0.1),
           0 0 0 1px rgba(255, 255, 255, 0.5);
       margin: -100px auto 5rem;
       max-width: 440px;
       position: relative;
       z-index: 20;
       border: 1px solid rgba(255, 255, 255, 0.2);
   }
   
   /* Auth Header */
   .auth-header {
       text-align: center;
       margin-bottom: 3rem;
   }
   
   .auth-header h1 {
       color: var(--royal-blue);
       font-size: 2.25rem;
       font-weight: 700;
       margin-bottom: 0.75rem;
       background: linear-gradient(135deg, var(--royal-blue) 0%, var(--dark-gold) 100%);
       -webkit-background-clip: text;
       -webkit-text-fill-color: transparent;
       background-clip: text;
   }
   
   .auth-header p {
       color: #64748b;
       font-size: 1.125rem;
       font-weight: 400;
       line-height: 1.6;
   }
   
   /* Primary Button */
   .btn-primary {
       background: linear-gradient(135deg, var(--gold), var(--dark-gold));
       color: var(--royal-blue);
       border: none;
       padding: 16px 32px;
       border-radius: 10px;
       font-weight: 700;
       font-size: 1.1rem;
       cursor: pointer;
       transition: all 0.3s ease;
       text-transform: uppercase;
       letter-spacing: 0.5px;
   }
   .btn-primary:hover {
       transform: translateY(-2px);
       box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
   }
   
   /* Auth Footer */
   .auth-footer {
       text-align: center;
       margin-top: 2rem;
       padding-top: 1.5rem;
       border-top: 1px solid #e1e5e9;
   }
   .auth-footer p {
       color: var(--dark-gray);
       margin-bottom: 0.5rem;
   }
   .auth-footer a {
       color: var(--gold);
       font-weight: 600;
       text-decoration: none;
   }
   .auth-footer a:hover {
       text-decoration: underline;
   }
   
   /* Admin Note (used on login page) */
   .admin-note {
       background: rgba(212, 175, 55, 0.1);
       border: 1px solid var(--gold);
       border-radius: 8px;
       padding: 1rem;
       margin-top: 1.5rem;
       font-size: 0.9rem;
       color: var(--dark-gray);
   }
   .admin-note code {
       background: rgba(0, 51, 102, 0.1);
       padding: 2px 6px;
       border-radius: 4px;
       font-family: 'Courier New', monospace;
       color: var(--royal-blue);
   }
   
   /* Responsive Tweaks */
   @media (max-width: 768px) {
       .auth-container {
           margin: -60px 20px 3rem;
           padding: 2rem;
       }
       .auth-header h1 {
           font-size: 2rem;
       }
   }
   
   /* =====================================================================
  .auth-header h1 {
      color: var(--royal-blue);
      font-size: 2.5rem;
       margin-bottom: 0.5rem;
       font-family: 'Georgia', serif;
   }
   .auth-header p {
       color: var(--dark-gray);
       font-size: 1.1rem;
   }
   
   /* Primary Button */
   .btn-primary {
       background: linear-gradient(135deg, var(--gold), var(--dark-gold));
       color: var(--royal-blue);
       border: none;
       padding: 16px 32px;
       border-radius: 10px;
       font-weight: 700;
       font-size: 1.1rem;
       cursor: pointer;
       transition: all 0.3s ease;
       text-transform: uppercase;
       letter-spacing: 0.5px;
   }
   .btn-primary:hover {
       transform: translateY(-2px);
       box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
   }
   
   /* Auth Footer */
   .auth-footer {
       text-align: center;
       margin-top: 2rem;
       padding-top: 1.5rem;
       border-top: 1px solid #e1e5e9;
   }
   .auth-footer p {
       color: var(--dark-gray);
       margin-bottom: 0.5rem;
   }
   .auth-footer a {
       color: var(--gold);
       font-weight: 600;
       text-decoration: none;
   }
   .auth-footer a:hover {
       text-decoration: underline;
   }
   
   /* Admin Note (used on login page) */
   .admin-note {
       background: rgba(212, 175, 55, 0.1);
       border: 1px solid var(--gold);
       border-radius: 8px;
       padding: 1rem;
       margin-top: 1.5rem;
       font-size: 0.9rem;
       color: var(--dark-gray);
   }
   .admin-note code {
       background: rgba(0, 51, 102, 0.1);
       padding: 2px 6px;
       border-radius: 4px;
       font-family: 'Courier New', monospace;
       color: var(--royal-blue);
   }
   
   /* Responsive Tweaks */
   @media (max-width: 768px) {
       .auth-container {
           margin: -60px 20px 3rem;
           padding: 2rem;
       }
       .auth-header h1 {
           font-size: 2rem;
       }
   }
   
   /* =====================================================================
   Auth Pages (Login & Signup) Shared Styles
   ===================================================================== */
   
   
   /* Portfolio Page */
   .portfolio-page {
       margin-top: 90px;
   }
   .portfolio-hero {
       padding: 60px 0 20px;
       background: linear-gradient(135deg, #0a0e27 0%, #1a1f3a 50%, #2a2f4a 100%);
       color: #fff;
   }
.portfolio-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 1.5rem;
	margin: 2rem 0 4rem;
}

.portfolio-card {
	border-radius: 16px;
	background: #ffffff;
	border: 1px solid #e5e7eb;
	box-shadow: 0 12px 30px rgba(15, 23, 42, 0.12);
}

.portfolio-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 0.75rem;
}

.portfolio-header h3 {
	color: #111827;
	font-size: 1.05rem;
}

.status {
	padding: 4px 10px;
	border-radius: 999px;
	font-size: 0.8rem;
	background: #f3f4f6;
	border: 1px solid #d1d5db;
	color: #4b5563;
}

.status.active {
	border-color: rgba(34, 197, 94, 0.65);
	color: #4ade80;
}

.status.inactive {
	border-color: rgba(248, 113, 113, 0.7);
	color: #fca5a5;
}

.portfolio-metrics {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 0.75rem;
}

.metric-label {
	color: #6b7280;
	font-size: 0.8rem;
	text-transform: uppercase;
	letter-spacing: 0.08em;
}

.metric-value {
	font-size: 1.1rem;
	font-weight: 600;
	color: #111827;
}
   
   /* Admin Page */
   .admin-page { margin-top: 90px; }
   .admin-hero { padding: 60px 0 20px; background: linear-gradient(135deg, #1a1f3a, #2a2f4a); color: #fff; }
   .admin-stats { display: flex; gap: 1rem; margin-top: 1rem; }
   .stat-card { min-width: 180px; }
   .stat-label { color: rgba(255,255,255,0.8); font-size: 0.9rem; }
   .stat-number { color: var(--gold); font-size: 2rem; font-weight: 700; }
   
   .table-card { margin: 2rem 0 4rem; }
   .table-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1rem; }
   .table-responsive { width: 100%; overflow-x: auto; }
   .admin-table { width: 100%; border-collapse: collapse; }
   .admin-table thead th { text-align: left; padding: 12px; background: #f3f4f6; font-weight: 700; }
.admin-table tbody td { padding: 10px 12px; border-top: 1px solid #eee; }
.admin-input { width: 100%; padding: 8px 10px; border: 1px solid #ddd; border-radius: 8px; }
.btn-small { padding: 8px 12px; border-radius: 8px; background: var(--gold); color: #000; border: none; cursor: pointer; font-weight: 700; }
.btn-small:hover { filter: brightness(1.05); }

.admin-no-portfolio{
	font-size:0.85rem;
	color:#6b7280;
	font-style:italic;
}
   
   @media (max-width: 576px) {
       .portfolio-metrics { grid-template-columns: 1fr; }
       .admin-stats { flex-direction: column; }
   }

/* Mobile-First Responsive Design - Admin Dashboard */
@media (max-width: 320px) {
    .admin-hero {
        padding: 40px 0 15px;
    }
    
    .admin-hero h1 {
        font-size: 1.8rem;
    }
    
    .admin-hero p {
        font-size: 1rem;
    }
    
    .stat-card {
        min-width: auto;
        padding: 1rem;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .table-card {
        margin: 1.5rem 0 3rem;
        padding: 1rem;
    }
    
    .admin-table thead th,
    .admin-table tbody td {
        padding: 8px 10px;
        font-size: 0.85rem;
    }
    
    .admin-input {
        padding: 6px 8px;
        font-size: 0.85rem;
    }
    
    .btn-small {
        padding: 6px 10px;
        font-size: 0.85rem;
    }
}

@media (min-width: 321px) and (max-width: 480px) {
    .admin-hero {
        padding: 50px 0 18px;
    }
    
    .admin-hero h1 {
        font-size: 2rem;
    }
    
    .stat-card {
        min-width: 140px;
    }
    
    .stat-number {
        font-size: 1.8rem;
    }
}

@media (max-width: 640px) {
    .admin-stats {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .stat-card {
        width: 100%;
        min-width: auto;
    }
    
    .table-responsive {
        margin: 0 -1rem;
        padding: 0 1rem;
        width: calc(100% + 2rem);
    }
    
    .admin-table {
        min-width: 600px;
    }
    
    /* Optimize touch targets for admin buttons */
    .btn-small {
        min-height: 48px;
        min-width: 48px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .table-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
}

@media (min-width: 641px) and (max-width: 768px) {
    .admin-stats {
        flex-direction: row;
        flex-wrap: wrap;
    }
    
    .stat-card {
        flex: 1;
        min-width: 160px;
    }
    
    .admin-table thead th,
    .admin-table tbody td {
        padding: 10px 12px;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .admin-hero {
        padding: 70px 0 25px;
    }
    
    .admin-stats {
        gap: 1.5rem;
    }
    
    .stat-card {
        min-width: 200px;
    }
    
    .stat-number {
        font-size: 2.2rem;
    }
}

@media (min-width: 1025px) and (max-width: 1280px) {
    .admin-hero {
        padding: 80px 0 30px;
    }
    
    .admin-stats {
        gap: 2rem;
    }
    
    .stat-number {
        font-size: 2.4rem;
    }
}

@media (min-width: 1281px) and (max-width: 1536px) {
    .admin-hero {
        padding: 90px 0 35px;
    }
    
    .stat-card {
        min-width: 220px;
    }
    
    .stat-number {
        font-size: 2.6rem;
    }
}

@media (min-width: 1537px) and (max-width: 1920px) {
    .admin-hero {
        padding: 100px 0 40px;
    }
    
    .admin-stats {
        gap: 2.5rem;
    }
    
    .stat-card {
        min-width: 240px;
    }
    
    .stat-number {
        font-size: 2.8rem;
    }
    
    .table-card {
        margin: 3rem 0 5rem;
    }
}

/* Financial Data Responsive Design */
@media (max-width: 480px) {
    .financial-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .financial-card {
        padding: 1.25rem;
    }
    
    .financial-value {
        font-size: 1.6rem;
    }
    
    .withdrawal-limits {
        grid-template-columns: 1fr;
    }
    
    .withdrawal-action {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .withdrawal-amount {
        width: 100%;
    }
}

@media (min-width: 481px) and (max-width: 768px) {
    .financial-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.25rem;
    }
    
    .withdrawal-limits {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .financial-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 1.75rem;
    }
    
    .financial-value {
        font-size: 2.2rem;
    }
}

@media (min-width: 1025px) {
    .financial-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 2rem;
    }
    
    .financial-value {
        font-size: 2.4rem;
    }
}

.ira-section::before {
       content: '';
       position: absolute;
       top: 0;
       left: 0;
       right: 0;
       bottom: 0;
       background: 
           radial-gradient(circle at 20% 80%, rgba(255, 215, 0, 0.1) 0%, transparent 50%),
           radial-gradient(circle at 80% 20%, rgba(255, 215, 0, 0.08) 0%, transparent 50%),
           radial-gradient(circle at 40% 40%, rgba(255, 215, 0, 0.05) 0%, transparent 50%);
       pointer-events: none;
   }
   
   /* Section Header */
   .section-header {
       text-align: center;
       margin-bottom: 4rem;
       position: relative;
   }
   
   .section-badge {
       display: inline-block;
       padding: 0.5rem 1.5rem;
       background: rgba(255, 215, 0, 0.1);
       border: 1px solid rgba(255, 215, 0, 0.3);
       border-radius: 50px;
       color: var(--gold);
       font-size: 0.9rem;
       font-weight: 600;
       text-transform: uppercase;
       letter-spacing: 1px;
       margin-bottom: 1rem;
       backdrop-filter: blur(10px);
   }
   
   .section-header h2 {
       color: white;
       font-size: 3.5rem;
       font-weight: 700;
       margin-bottom: 1rem;
       background: linear-gradient(135deg, #fff 0%, var(--gold) 100%);
       -webkit-background-clip: text;
       -webkit-text-fill-color: transparent;
       background-clip: text;
   }
   
   .section-subtitle {
       color: rgba(255, 255, 255, 0.8);
       font-size: 1.2rem;
       max-width: 600px;
       margin: 0 auto;
       line-height: 1.6;
   }
   
   /* IRA Hero Section */
   .ira-hero {
       margin-bottom: 5rem;
   }
   
   .ira-hero-content {
       display: grid;
       grid-template-columns: 1fr 2fr;
       gap: 4rem;
       align-items: center;
   }
   
   .ira-stats {
       display: flex;
       flex-direction: column;
       gap: 2rem;
   }
   
   .stat-item {
       text-align: center;
       padding: 2rem;
       background: rgba(255, 255, 255, 0.05);
       border-radius: 20px;
       border: 1px solid rgba(255, 215, 0, 0.2);
       backdrop-filter: blur(20px);
       transition: all 0.3s ease;
   }
   
   .stat-item:hover {
       transform: translateY(-5px);
       background: rgba(255, 255, 255, 0.08);
       border-color: rgba(255, 215, 0, 0.4);
   }
   
   .stat-number {
       font-size: 3rem;
       font-weight: 700;
       color: var(--gold);
       margin-bottom: 0.5rem;
   }
   
   .stat-label {
       color: rgba(255, 255, 255, 0.8);
       font-size: 0.9rem;
       text-transform: uppercase;
       letter-spacing: 1px;
   }
   
   .ira-intro-modern {
       background: rgba(255, 255, 255, 0.05);
       padding: 3rem;
       border-radius: 25px;
       border: 1px solid rgba(255, 215, 0, 0.2);
       backdrop-filter: blur(20px);
   }
   
   .ira-intro-modern h3 {
       color: white;
       font-size: 2.2rem;
       margin-bottom: 1.5rem;
       font-weight: 600;
   }
   
   .ira-intro-modern p {
       color: rgba(255, 255, 255, 0.8);
       font-size: 1.1rem;
       line-height: 1.7;
       margin-bottom: 2rem;
   }
   
   .trust-indicators {
       display: flex;
       gap: 1.5rem;
       justify-content: center;
   }
   
   .trust-item {
       display: flex;
       align-items: center;
       gap: 0.5rem;
       padding: 0.8rem 1.2rem;
       background: rgba(255, 215, 0, 0.1);
       border-radius: 50px;
       border: 1px solid rgba(255, 215, 0, 0.3);
       color: white;
       font-size: 0.9rem;
       font-weight: 500;
   }
   
   .trust-icon {
       font-size: 1.2rem;
   }
   
   /* Benefits Section */
   .ira-benefits-modern {
       margin-bottom: 5rem;
   }
   
   .benefits-title {
       text-align: center;
       color: white;
       font-size: 2.5rem;
       margin-bottom: 3rem;
       font-weight: 600;
   }
   
   .benefits-grid-modern {
       display: grid;
       grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
       gap: 2rem;
   }
   
   .benefit-card {
       background: rgba(255, 255, 255, 0.05);
       padding: 2.5rem;
       border-radius: 25px;
       border: 1px solid rgba(255, 215, 0, 0.2);
       backdrop-filter: blur(20px);
       text-align: center;
       transition: all 0.4s ease;
       position: relative;
       overflow: hidden;
   }
   
   .benefit-card::before {
       content: '';
       position: absolute;
       top: 0;
       left: -100%;
       width: 100%;
       height: 100%;
       background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.1), transparent);
       transition: left 0.6s ease;
   }
   
   .benefit-card:hover::before {
       left: 100%;
   }
   
   .benefit-card:hover {
       transform: translateY(-10px);
       background: rgba(255, 255, 255, 0.08);
       border-color: rgba(255, 215, 0, 0.4);
       box-shadow: 0 20px 40px rgba(255, 215, 0, 0.1);
   }
   
   .benefit-icon-wrapper {
       position: relative;
       display: inline-block;
       margin-bottom: 1.5rem;
   }
   
   .benefit-icon {
       font-size: 3.5rem;
       display: block;
       position: relative;
       z-index: 2;
   }
   
   .benefit-glow {
       position: absolute;
       top: 50%;
       left: 50%;
       transform: translate(-50%, -50%);
       width: 80px;
       height: 80px;
       background: radial-gradient(circle, rgba(255, 215, 0, 0.3) 0%, transparent 70%);
       border-radius: 50%;
       opacity: 0;
       transition: opacity 0.3s ease;
   }
   
   .benefit-card:hover .benefit-glow {
       opacity: 1;
   }
   
   .benefit-card h4 {
       color: white;
       font-size: 1.4rem;
       margin-bottom: 1rem;
       font-weight: 600;
   }
   
   .benefit-card p {
       color: rgba(255, 255, 255, 0.8);
       line-height: 1.6;
       margin-bottom: 1.5rem;
   }
   
   .benefit-highlight {
       display: inline-block;
       padding: 0.5rem 1rem;
       background: linear-gradient(135deg, var(--gold), #FFA500);
       color: var(--primary-color);
       border-radius: 20px;
       font-size: 0.9rem;
       font-weight: 600;
   }
   
   /* Process Timeline */
   .ira-process-modern {
       margin-bottom: 5rem;
   }
   
   .ira-process-modern h3 {
       text-align: center;
       color: white;
       font-size: 2.5rem;
       margin-bottom: 3rem;
       font-weight: 600;
   }
   
   .process-timeline {
       display: grid;
       grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
       gap: 2rem;
       position: relative;
   }
   
   .timeline-item {
       display: flex;
       flex-direction: column;
       align-items: center;
       text-align: center;
       position: relative;
   }
   
   .timeline-marker {
       position: relative;
       margin-bottom: 1.5rem;
   }
   
   .step-number {
       width: 70px;
       height: 70px;
       background: linear-gradient(135deg, var(--gold), #FFA500);
       color: var(--primary-color);
       border-radius: 50%;
       display: flex;
       align-items: center;
       justify-content: center;
       font-size: 1.8rem;
       font-weight: 700;
       box-shadow: 0 10px 30px rgba(255, 215, 0, 0.3);
       position: relative;
       z-index: 2;
   }
   
   .marker-pulse {
       position: absolute;
       top: 50%;
       left: 50%;
       transform: translate(-50%, -50%);
       width: 70px;
       height: 70px;
       border: 2px solid var(--gold);
       border-radius: 50%;
       animation: pulse 2s infinite;
   }
   
   @keyframes pulse {
       0% {
           transform: translate(-50%, -50%) scale(1);
           opacity: 1;
       }
       100% {
           transform: translate(-50%, -50%) scale(1.5);
           opacity: 0;
       }
   }
   
   .timeline-content {
       background: rgba(255, 255, 255, 0.05);
       padding: 2rem;
       border-radius: 20px;
       border: 1px solid rgba(255, 215, 0, 0.2);
       backdrop-filter: blur(20px);
       width: 100%;
   }
   
   .timeline-content h4 {
       color: white;
       font-size: 1.3rem;
       margin-bottom: 1rem;
       font-weight: 600;
   }
   
   .timeline-content p {
       color: rgba(255, 255, 255, 0.8);
       line-height: 1.6;
       margin-bottom: 1rem;
   }
   
   .timeline-duration {
       display: inline-block;
       padding: 0.3rem 0.8rem;
       background: rgba(255, 215, 0, 0.2);
       color: var(--gold);
       border-radius: 15px;
       font-size: 0.8rem;
       font-weight: 600;
   }
   
   /* Modern CTA Section */
   .ira-cta-modern {
       display: grid;
       grid-template-columns: 2fr 1fr;
       gap: 3rem;
       align-items: center;
       background: rgba(255, 255, 255, 0.05);
       padding: 4rem;
       border-radius: 30px;
       border: 1px solid rgba(255, 215, 0, 0.3);
       backdrop-filter: blur(20px);
       position: relative;
       overflow: hidden;
   }
   
   .cta-badge {
       display: inline-block;
       padding: 0.5rem 1.2rem;
       background: linear-gradient(135deg, #ff6b6b, #ee5a24);
       color: white;
       border-radius: 20px;
       font-size: 0.8rem;
       font-weight: 600;
       text-transform: uppercase;
       letter-spacing: 1px;
       margin-bottom: 1rem;
       animation: glow 2s ease-in-out infinite alternate;
   }
   
   @keyframes glow {
       from { box-shadow: 0 0 10px rgba(255, 107, 107, 0.5); }
       to { box-shadow: 0 0 20px rgba(255, 107, 107, 0.8); }
   }
   
   .cta-content h3 {
       color: white;
       font-size: 2.5rem;
       margin-bottom: 1rem;
       font-weight: 700;
   }
   
   .cta-content p {
       color: rgba(255, 255, 255, 0.8);
       font-size: 1.1rem;
       line-height: 1.6;
       margin-bottom: 2rem;
   }
   
   .cta-benefits {
       display: flex;
       flex-direction: column;
       gap: 0.8rem;
       margin-bottom: 2rem;
   }
   
   .cta-benefit {
       display: flex;
       align-items: center;
       gap: 0.8rem;
       color: rgba(255, 255, 255, 0.9);
   }
   
   .check-icon {
       width: 20px;
       height: 20px;
       background: var(--gold);
       color: var(--primary-color);
       border-radius: 50%;
       display: flex;
       align-items: center;
       justify-content: center;
       font-size: 0.8rem;
       font-weight: bold;
   }
   
   .cta-buttons {
       display: flex;
       gap: 1rem;
       margin-bottom: 2rem;
   }
   
   .btn-primary-modern {
       position: relative;
       padding: 1rem 2rem;
       background: linear-gradient(135deg, var(--gold), #FFA500);
       color: var(--primary-color);
       border: none;
       border-radius: 50px;
       font-weight: 600;
       text-decoration: none;
       overflow: hidden;
       transition: all 0.3s ease;
   }
   
   .btn-primary-modern:hover {
       transform: translateY(-2px);
       box-shadow: 0 10px 25px rgba(255, 215, 0, 0.3);
   }
   
   .btn-shine {
       position: absolute;
       top: 0;
       left: -100%;
       width: 100%;
       height: 100%;
       background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
       transition: left 0.6s ease;
   }
   
   .btn-primary-modern:hover .btn-shine {
       left: 100%;
   }
   
   .btn-secondary-modern {
       padding: 1rem 2rem;
       background: transparent;
       color: white;
       border: 2px solid rgba(255, 255, 255, 0.3);
       border-radius: 50px;
       font-weight: 600;
       text-decoration: none;
       transition: all 0.3s ease;
   }
   
   .btn-secondary-modern:hover {
       background: rgba(255, 255, 255, 0.1);
       border-color: var(--gold);
       color: var(--gold);
   }
   
   .cta-guarantee {
       display: flex;
       align-items: center;
       gap: 0.5rem;
       color: rgba(255, 255, 255, 0.7);
       font-size: 0.9rem;
   }
   
   .guarantee-icon {
       font-size: 1.2rem;
   }
   
   /* CTA Visual Elements */
   .cta-visual {
       position: relative;
       height: 300px;
   }
   
   .floating-elements {
       position: relative;
       width: 100%;
       height: 100%;
   }
   
   .floating-coin {
       position: absolute;
       width: 60px;
       height: 60px;
       background: linear-gradient(135deg, var(--gold), #FFA500);
       border-radius: 50%;
       box-shadow: 0 10px 30px rgba(255, 215, 0, 0.3);
   }
   
   .coin-1 {
       top: 20%;
       left: 20%;
       animation: float 3s ease-in-out infinite;
   }
   
   .coin-2 {
       top: 60%;
       right: 30%;
       animation: float 3s ease-in-out infinite 1s;
   }
   
   .coin-3 {
       bottom: 20%;
       left: 50%;
       animation: float 3s ease-in-out infinite 2s;
   }
   
   @keyframes float {
       0%, 100% { transform: translateY(0px); }
       50% { transform: translateY(-20px); }
   }
   
   /* Animated Counter */
   @keyframes countUp {
       from { opacity: 0; transform: translateY(20px); }
       to { opacity: 1; transform: translateY(0); }
   }
    
    /* Responsive Design for Modern IRA Section */
    @media (max-width: 1200px) {
        .ira-hero-content {
            grid-template-columns: 1fr;
            gap: 3rem;
        }
        
        .ira-cta-modern {
            grid-template-columns: 1fr;
            gap: 2rem;
        }
        
        .cta-visual {
            height: 200px;
        }
    }
    
    @media (max-width: 768px) {
        .ira-section {
            padding: 80px 0;
        }
        
        .section-header h2 {
            font-size: 2.5rem;
        }
        
        .section-subtitle {
            font-size: 1rem;
        }
        
        .ira-hero-content {
            gap: 2rem;
        }
        
        .ira-stats {
            flex-direction: row;
            overflow-x: auto;
            gap: 1rem;
            padding-bottom: 1rem;
        }
        
        .stat-item {
            min-width: 200px;
            padding: 1.5rem;
        }
        
        .stat-number {
            font-size: 2.5rem;
        }
        
        .ira-intro-modern {
            padding: 2rem;
        }
        
        .ira-intro-modern h3 {
            font-size: 1.8rem;
        }
        
        .trust-indicators {
            flex-wrap: wrap;
            gap: 1rem;
        }
        
        .benefits-title {
            font-size: 2rem;
        }
        
        .benefits-grid-modern {
            grid-template-columns: 1fr;
            gap: 1.5rem;
        }
        
        .benefit-card {
            padding: 2rem;
        }
        
        .benefit-icon {
            font-size: 3rem;
        }
        
        .process-timeline {
            grid-template-columns: 1fr;
            gap: 1.5rem;
        }
        
        .ira-process-modern h3 {
            font-size: 2rem;
        }
        
        .timeline-content {
            padding: 1.5rem;
        }
        
        .ira-cta-modern {
            padding: 2.5rem;
            margin: 0 1rem;
        }
        
        .cta-content h3 {
            font-size: 2rem;
        }
        
        .cta-buttons {
            flex-direction: column;
            gap: 1rem;
        }
        
        .btn-primary-modern,
        .btn-secondary-modern {
            width: 100%;
            text-align: center;
        }
        
        .cta-visual {
            height: 150px;
        }
        
        .floating-coin {
            width: 40px;
            height: 40px;
        }
    }
    
    @media (max-width: 480px) {
        .section-header h2 {
            font-size: 2rem;
        }
        
        .ira-intro-modern {
            padding: 1.5rem;
        }
        
        .ira-intro-modern h3 {
            font-size: 1.5rem;
        }
        
        .stat-item {
            min-width: 150px;
            padding: 1rem;
        }
        
        .stat-number {
            font-size: 2rem;
        }
        
        .benefit-card {
            padding: 1.5rem;
        }
        
        .timeline-content {
            padding: 1rem;
        }
        
        .ira-cta-modern {
            padding: 2rem 1.5rem;
        }
        
        .cta-content h3 {
            font-size: 1.8rem;
        }
    }
    
    @media (max-width: 480px) {
        .site-header .logo {
            font-size: 24px;
        }
    
        .career-hero h1 {
            font-size: 35px;
        }
    
        .career-hero p {
            font-size: 18px;
        }
    
        .career-hero .btn-gold-outline {
            padding: 12px 25px;
            font-size: 16px;
        }
    
        .why-work-with-us h2,
        .career-content h2,
        .apply-section h2 {
            font-size: 30px;
        }
    
        .why-work-with-us .feature-box,
        .career-content .job-card {
            padding: 25px;
        }
    
        .mobile-menu-overlay .mobile-nav-list a {
            font-size: 24px;
        }
    
        .mobile-menu-overlay .mobile-apply-btn {
            padding: 12px 25px;
            font-size: 18px;
        }
    }

.dashboard-card{
	display:flex;
	flex-direction:column;
	padding:1.75rem 2rem;
	margin-bottom:2rem;
	gap:1.25rem;
	background:#f9fafb;
	border-radius:1.25rem;
	border:1px solid #e5e7eb;
	box-shadow:0 18px 40px rgba(15,23,42,0.18);
}

.dashboard-header-row{
	display:flex;
	justify-content:space-between;
	align-items:flex-end;
	gap:1.5rem;
}

.dashboard-title-block h2{
	margin:0.15rem 0 0;
	font-size:1.5rem;
}

.dashboard-kicker{
	font-size:0.8rem;
	text-transform:uppercase;
	letter-spacing:0.12em;
	color:#6b7280;
}

.dashboard-balance-block{
	text-align:right;
}

.dashboard-balance{
	font-size:2.4rem;
	font-weight:700;
	color:#111827;
}

.dashboard-sub{
	font-size:0.9rem;
	color:#4b5563;
}

.dashboard-content-row{
	display:flex;
	gap:1.5rem;
	margin-top:1.25rem;
}

/* Financial Data Components */
.financial-data-section {
    margin: 2rem 0 3rem;
}

.financial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.financial-card {
    background: #ffffff;
    border-radius: 1rem;
    padding: 1.5rem;
    border: 1px solid #e5e7eb;
    box-shadow: 0 8px 25px rgba(15, 23, 42, 0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.financial-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(15, 23, 42, 0.15);
}

.financial-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.financial-title {
    font-size: 1rem;
    font-weight: 600;
    color: #374151;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.financial-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    font-size: 1rem;
}

.financial-value {
    font-size: 2rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 0.5rem;
}

.financial-subtitle {
    font-size: 0.9rem;
    color: #6b7280;
    margin-bottom: 1rem;
}

.financial-trend {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    font-weight: 500;
}

.trend-positive {
    color: #059669;
}

.trend-negative {
    color: #dc2626;
}

.trend-neutral {
    color: #6b7280;
}

.financial-chart {
    height: 60px;
    margin-top: 1rem;
    background: linear-gradient(90deg, rgba(79, 70, 229, 0.1) 0%, rgba(99, 102, 241, 0.1) 100%);
    border-radius: 8px;
    position: relative;
    overflow: hidden;
}

.chart-line {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40px;
    background: linear-gradient(90deg, #4f46e5 0%, #6366f1 100%);
    border-radius: 8px 8px 0 0;
    transform-origin: bottom;
    animation: chartGrow 1s ease-out;
}

@keyframes chartGrow {
    from { transform: scaleY(0); }
    to { transform: scaleY(1); }
}

/* Withdrawal Components */
.withdrawal-section {
    background: #f8fafc;
    border-radius: 1rem;
    padding: 1.5rem;
    border: 1px solid #e2e8f0;
}

.withdrawal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.withdrawal-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1e293b;
}

.withdrawal-limits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.limit-card {
    background: white;
    padding: 1rem;
    border-radius: 0.75rem;
    border: 1px solid #e2e8f0;
}

.limit-label {
    font-size: 0.85rem;
    color: #64748b;
    margin-bottom: 0.5rem;
}

.limit-value {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1e293b;
}

.withdrawal-action {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.withdrawal-amount {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 1px solid #d1d5db;
    border-radius: 0.5rem;
    font-size: 1rem;
}

.withdrawal-btn {
    padding: 0.75rem 1.5rem;
    background: #059669;
    color: white;
    border: none;
    border-radius: 0.5rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease;
}

.withdrawal-btn:hover {
    background: #047857;
}

.withdrawal-btn:disabled {
    background: #9ca3af;
    cursor: not-allowed;
}

.dashboard-metrics-row{
	display:grid;
	grid-template-columns:repeat(3,minmax(0,1fr));
	gap:1rem;
	flex:1;
}

.dashboard-metric{
	padding:0.9rem 1rem;
	border-radius:0.85rem;
	background:#020617;
	border:1px solid rgba(51,65,85,0.9);
}

.dashboard-metric-label{
	font-size:0.8rem;
	text-transform:uppercase;
	letter-spacing:0.08em;
	color:#ffffff;
	margin-bottom:0.35rem;
}

.dashboard-metric-value{
	font-size:1.2rem;
	font-weight:600;
	color:#ffffff;
}

.dashboard-funds-card{
	min-width:260px;
	max-width:320px;
	padding:1.1rem 1.35rem;
	border-radius:1rem;
	background:#f9fafb;
	color:#111827;
	border:1px solid #e5e7eb;
}

.dashboard-funds-title{
	font-size:0.95rem;
	text-transform:uppercase;
	letter-spacing:0.12em;
	color:#6b7280;
	margin-bottom:0.4rem;
}

.dashboard-funds-sub{
	font-size:0.95rem;
	font-weight:500;
	color:#111827;
	margin-bottom:0.5rem;
}

.dashboard-funds-reasons{
	list-style:none;
	margin:0 0 0.75rem;
	padding:0;
	font-size:0.85rem;
	color:#4b5563;
}

.dashboard-funds-reasons li{
	position:relative;
	padding-left:1.1rem;
	margin-bottom:0.35rem;
}

.dashboard-funds-reasons li::before{
	content:"";
	position:absolute;
	left:0;
	top:0.5rem;
	width:0.35rem;
	height:0.35rem;
	border-radius:999px;
	background:#d4af37;
}

.dashboard-funds-label{
	font-size:0.8rem;
	text-transform:uppercase;
	letter-spacing:0.14em;
	color:#6b7280;
	margin-bottom:0.5rem;
}

.dashboard-btc-row{
	display:flex;
	align-items:center;
	gap:0.5rem;
	margin-bottom:0.6rem;
}

.dashboard-btc-address{
	font-family:monospace;
	font-size:0.85rem;
	padding:0.5rem 0.6rem;
	border-radius:0.5rem;
	background:#ffffff;
	border:1px solid #d1d5db;
	word-break:break-all;
}

.dashboard-btc-copy{
	border:none;
	border-radius:999px;
	padding:0.4rem 0.9rem;
	font-size:0.8rem;
	font-weight:600;
	cursor:pointer;
	background:#111827;
	color:#f9fafb;
	transition:background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.dashboard-btc-copy:hover{
	background:#020617;
	box-shadow:0 6px 18px rgba(15,23,42,0.45);
	transform:translateY(-1px);
}

.dashboard-funds-note{
	font-size:0.78rem;
	color:#6b7280;
}

/* Mobile-First Responsive Design - Client Dashboard */
@media (max-width: 320px) {
    .dashboard-card {
        padding: 1rem;
        margin-bottom: 1.5rem;
        border-radius: 1rem;
    }
    
    .dashboard-title-block h2 {
        font-size: 1.25rem;
    }
    
    .dashboard-balance {
        font-size: 1.8rem;
    }
    
    .dashboard-metrics-row {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .dashboard-metric {
        padding: 0.75rem;
    }
    
    .dashboard-btc-address {
        font-size: 0.75rem;
        padding: 0.4rem 0.5rem;
    }
    
    .dashboard-btc-copy {
        padding: 0.35rem 0.75rem;
        font-size: 0.75rem;
    }
}

@media (min-width: 321px) and (max-width: 480px) {
    .dashboard-card {
        padding: 1.25rem 1.5rem;
    }
    
    .dashboard-metrics-row {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .dashboard-balance {
        font-size: 2rem;
    }
}

@media (max-width: 640px) {
    .dashboard-header-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .dashboard-balance-block {
        text-align: left;
    }
    
    .dashboard-content-row {
        flex-direction: column;
        gap: 1.25rem;
    }
    
    .dashboard-funds-card {
        max-width: none;
        min-width: auto;
    }
    
    /* Optimize touch targets for mobile */
    .dashboard-btc-copy {
        min-height: 48px;
        min-width: 48px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .dashboard-metric {
        min-height: 48px;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
}

@media (min-width: 641px) and (max-width: 768px) {
    .dashboard-metrics-row {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    
    .dashboard-card {
        padding: 1.5rem 1.75rem;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .dashboard-card {
        padding: 1.75rem 2rem;
    }
    
    .dashboard-content-row {
        gap: 2rem;
    }
}

@media (min-width: 1025px) and (max-width: 1280px) {
    .dashboard-balance {
        font-size: 2.6rem;
    }
    
    .dashboard-metric-value {
        font-size: 1.3rem;
    }
}

@media (min-width: 1281px) and (max-width: 1536px) {
    .dashboard-card {
        padding: 2rem 2.5rem;
    }
    
    .dashboard-balance {
        font-size: 2.8rem;
    }
}

@media (min-width: 1537px) and (max-width: 1920px) {
    .dashboard-card {
        padding: 2.25rem 3rem;
        margin-bottom: 3rem;
    }
    
    .dashboard-balance {
        font-size: 3rem;
    }
    
    .dashboard-metric-value {
        font-size: 1.4rem;
    }
}

/* Portfolio Grid Responsive Design */
@media (max-width: 480px) {
    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin: 1.5rem 0 3rem;
    }
    
    .portfolio-card {
        border-radius: 12px;
        padding: 1.25rem;
    }
}

@media (min-width: 481px) and (max-width: 768px) {
    .portfolio-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.25rem;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .portfolio-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 1.75rem;
    }
}

/* Withdrawal Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 1rem;
    animation: fadeIn 0.3s ease;
}

.modal-content {
    background: #ffffff;
    border-radius: 1rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    animation: slideUp 0.3s ease;
}

.modal-header {
    padding: 1.5rem 2rem;
    border-bottom: 1px solid #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #f8fafc;
    border-radius: 1rem 1rem 0 0;
}

.modal-header.success {
    background: #dcfce7;
    border-color: #bbf7d0;
}

.modal-header h2 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 600;
    color: #111827;
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #6b7280;
    padding: 0.25rem;
    border-radius: 0.25rem;
    transition: all 0.2s ease;
}

.modal-close:hover {
    color: #374151;
    background: #f3f4f6;
}

.modal-body {
    padding: 2rem;
}

.withdrawal-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-section {
    border: 1px solid #e5e7eb;
    border-radius: 0.75rem;
    padding: 1.5rem;
    background: #fafafa;
}

.form-section h3 {
    margin: 0 0 1rem 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: #374151;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 0.875rem;
    font-weight: 500;
    color: #374151;
}

.form-group input,
.form-group select {
    padding: 0.75rem;
    border: 2px solid #e5e7eb;
    border-radius: 0.5rem;
    font-size: 1rem;
    transition: all 0.2s ease;
    background: #ffffff;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.form-group input.error,
.form-group select.error {
    border-color: #ef4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.validation-message {
    font-size: 0.75rem;
    color: #ef4444;
    min-height: 1rem;
}

.amount-info {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: #6b7280;
    margin-top: 0.25rem;
}

.security-section {
    background: #fef3c7;
    border-color: #fcd34d;
}

.security-notice {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: #ffffff;
    border-radius: 0.5rem;
    border: 1px solid #fcd34d;
    margin-bottom: 1rem;
}

.security-icon {
    font-size: 1.5rem;
}

.security-notice p {
    margin: 0;
    font-size: 0.875rem;
    color: #92400e;
    font-weight: 500;
}

.form-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    padding-top: 1rem;
    border-top: 1px solid #e5e7eb;
}

.btn-primary,
.btn-secondary {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 0.5rem;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    min-width: 120px;
}

.btn-primary {
    background: #2563eb;
    color: #ffffff;
}

.btn-primary:hover:not(:disabled) {
    background: #1d4ed8;
}

.btn-primary:disabled {
    background: #9ca3af;
    cursor: not-allowed;
}

.btn-secondary {
    background: #f3f4f6;
    color: #374151;
    border: 1px solid #d1d5db;
}

.btn-secondary:hover {
    background: #e5e7eb;
}

.btn-loading {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

/* Confirmation Modal Styles */
.confirmation-content {
    text-align: center;
}

.success-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.confirmation-content h3 {
    margin: 0 0 1.5rem 0;
    font-size: 1.25rem;
    color: #065f46;
    font-weight: 600;
}

.transaction-details {
    background: #f9fafb;
    border-radius: 0.75rem;
    padding: 1.5rem;
    margin: 1.5rem 0;
    text-align: left;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid #e5e7eb;
}

.detail-row:last-child {
    border-bottom: none;
}

.detail-label {
    font-size: 0.875rem;
    color: #6b7280;
    font-weight: 500;
}

.detail-value {
    font-size: 0.875rem;
    color: #111827;
    font-weight: 600;
}

.status-pending {
    color: #d97706;
    background: #fef3c7;
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.75rem;
}

.confirmation-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from { 
        opacity: 0;
        transform: translateY(20px);
    }
    to { 
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design for Modals */
@media (max-width: 640px) {
    .modal-content {
        margin: 1rem;
    }
}

/* =====================================================================
   MODERN AUTH FORM ENHANCEMENTS
   ===================================================================== */

/* Modern Form Styles */
.auth-form {
    display: grid;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

@media (max-width: 640px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}

/* Enhanced Form Inputs */
.form-input {
    width: 100%;
    padding: 1rem 1.25rem;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 400;
    color: #1f2937;
    background: #ffffff;
    transition: all 0.2s ease;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.form-input:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
    transform: translateY(-1px);
}

.form-input.error {
    border-color: #dc2626;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

.form-input.success {
    border-color: #059669;
    box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.1);
}

/* Password Strength Indicator */
.password-strength {
    margin-top: 0.5rem;
    height: 4px;
    background: #e5e7eb;
    border-radius: 2px;
    overflow: hidden;
}

.strength-bar {
    height: 100%;
    transition: width 0.3s ease;
}

.strength-weak { background: #dc2626; width: 33%; }
.strength-medium { background: #d97706; width: 66%; }
.strength-strong { background: #059669; width: 100%; }

.strength-text {
    font-size: 0.875rem;
    margin-top: 0.25rem;
    font-weight: 500;
}

.strength-weak-text { color: #dc2626; }
.strength-medium-text { color: #d97706; }
.strength-strong-text { color: #059669; }

/* Loading States */
.loading {
    position: relative;
    pointer-events: none;
    opacity: 0.7;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid #ffffff;
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Security Features */
.security-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 0.875rem;
    color: #64748b;
    margin-top: 1rem;
}

.security-badge::before {
    content: '🔒';
    font-size: 1rem;
}

/* CAPTCHA Container */
.captcha-container {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 1rem;
    text-align: center;
}

.captcha-image {
    font-size: 1.5rem;
    font-weight: bold;
    letter-spacing: 0.2em;
    color: #1e293b;
    margin-bottom: 0.5rem;
    user-select: none;
}

/* Enhanced Button Styles */
.btn-modern {
    background: linear-gradient(135deg, #2563eb, #1e40af);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 6px rgba(37, 99, 235, 0.3);
}

.btn-modern:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 15px rgba(37, 99, 235, 0.4);
}

.btn-modern:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(37, 99, 235, 0.3);
}

.btn-modern.loading {
    background: #94a3b8;
    box-shadow: none;
}

/* Accessibility Improvements */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Focus indicators for accessibility */
.form-input:focus-visible,
.btn-modern:focus-visible {
    outline: 2px solid #2563eb;
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .form-input {
        border-width: 3px;
    }
    
    .btn-modern {
        border: 2px solid #000000;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .form-input,
    .btn-modern {
        transition: none;
    }
    
    .loading::after {
        animation: none;
    }
}

/* Error and Success Messages */
.validation-message {
    font-size: 0.875rem;
    margin-top: 0.25rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.validation-message.error {
    color: #dc2626;
}

.validation-message.success {
    color: #059669;
}

.validation-message::before {
    font-size: 1rem;
}

.validation-message.error::before {
    content: '❌';
}

.validation-message.success::before {
    content: '✅';
}

/* Form Group Enhancements */
.form-group-enhanced {
    position: relative;
}

.form-label {
    display: block;
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
}

.form-helper {
    font-size: 0.75rem;
    color: #6b7280;
    margin-top: 0.25rem;
}

/* =====================================================================
   Enhanced Financial Dashboard Styles
   ===================================================================== */

/* Financial Operations Grid */
.financial-operations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin: 2rem 0 3rem;
}

.financial-card {
    border-radius: 20px;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.financial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
}

.financial-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid rgba(255, 215, 0, 0.2);
}

.financial-card-header h3 {
    color: #1e293b;
    font-size: 1.4rem;
    font-weight: 700;
    margin: 0;
}

/* BTC Deposit Styles */
.btc-deposit-info {
    display: grid;
    gap: 1.5rem;
}

.btc-address-section {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    padding: 1.5rem;
    border-radius: 16px;
    border: 2px solid #e2e8f0;
}

.btc-address-section label {
    display: block;
    font-weight: 600;
    color: #334155;
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
}

.btc-address-display {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: #ffffff;
    padding: 1rem 1.25rem;
    border-radius: 12px;
    border: 2px solid #cbd5e1;
    font-family: 'Courier New', monospace;
    font-size: 0.95rem;
    color: #475569;
}

.btc-address-display span {
    flex: 1;
    word-break: break-all;
    font-weight: 600;
    color: #0f172a;
}

.copy-btn {
    background: linear-gradient(135deg, #ffd700 0%, #fbbf24 100%);
    color: #000;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.copy-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(251, 191, 36, 0.4);
}

.btc-benefits {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1) 0%, rgba(251, 191, 36, 0.1) 100%);
    padding: 1.5rem;
    border-radius: 16px;
    border: 2px solid rgba(255, 215, 0, 0.2);
}

.btc-benefits h4 {
    color: #334155;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.btc-benefits ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 0.75rem;
}

.btc-benefits li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #475569;
    font-size: 0.95rem;
}

/* Transaction History */
.transaction-history {
    margin-top: 1rem;
}

.transaction-history h4 {
    color: #334155;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.transaction-list {
    background: #f8fafc;
    border-radius: 12px;
    padding: 1rem;
    border: 2px solid #e2e8f0;
    min-height: 120px;
}

.transaction-items {
    display: grid;
    gap: 0.75rem;
}

.transaction-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.85rem 0.9rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(203, 213, 225, 0.9);
}

.transaction-main {
    display: grid;
    gap: 0.15rem;
}

.transaction-title {
    font-weight: 700;
    color: #0f172a;
    text-transform: capitalize;
}

.transaction-meta {
    font-size: 0.85rem;
    color: #64748b;
}

.transaction-side {
    display: grid;
    gap: 0.35rem;
    justify-items: end;
}

.transaction-amount {
    font-weight: 800;
    font-size: 0.95rem;
}

.transaction-amount.positive {
    color: #059669;
}

.transaction-amount.negative {
    color: #dc2626;
}

.empty-state {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100px;
    color: #94a3b8;
    font-style: italic;
}

/* Withdrawal Styles */
.withdrawal-overview {
    display: grid;
    gap: 1.5rem;
}

.balance-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    padding: 1.5rem;
    border-radius: 16px;
    border: 2px solid #e2e8f0;
}

.balance-metric {
    text-align: center;
}

.balance-metric .metric-label {
    display: block;
    color: #64748b;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.balance-metric .metric-value {
    display: block;
    color: #0f172a;
    font-size: 1.2rem;
    font-weight: 700;
}

/* Financial Metrics Dashboard */
.metrics-dashboard {
    margin: 3rem 0;
}

.metrics-title {
    text-align: center;
    color: #1e293b;
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 2rem;
    background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.metric-card {
    text-align: center;
    padding: 2rem 1.5rem;
    border-radius: 20px;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border: 2px solid #e2e8f0;
    transition: all 0.3s ease;
}

.metric-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.metric-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.metric-card h4 {
    color: #334155;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.metric-value-large {
    font-size: 2rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.5rem;
}

.metric-trend {
    font-size: 0.9rem;
    color: #64748b;
    font-weight: 500;
}

.metric-trend.positive {
    color: #059669;
}

.metric-trend.negative {
    color: #dc2626;
}

/* Responsive Design for Financial Dashboard */
@media (max-width: 1024px) {
    .financial-operations-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .metrics-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
}

@media (max-width: 768px) {
    .financial-card {
        padding: 1.5rem;
    }
    
    .financial-card-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
    
    .btc-address-display {
        flex-direction: column;
        align-items: stretch;
        gap: 0.75rem;
    }
    
    .balance-info {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .metrics-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .metric-card {
        padding: 1.5rem 1rem;
    }
    
    .metric-value-large {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .financial-operations-grid {
        margin: 1.5rem 0 2rem;
    }
    
    .financial-card {
        padding: 1.25rem;
        border-radius: 16px;
    }
    
    .btc-address-section,
    .btc-benefits,
    .balance-info {
        padding: 1rem;
    }
    
    .metrics-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .metrics-title {
        font-size: 1.8rem;
        margin-bottom: 1.5rem;
    }
    
    .metric-card {
        padding: 1.25rem;
    }
    
    .metric-value-large {
        font-size: 1.4rem;
    }
}

/* Responsive improvements for auth pages */
@media (max-width: 480px) {
    .auth-container {
        margin: -60px 1rem 3rem;
        padding: 2rem 1.5rem;
        border-radius: 16px;
    }
    
    .auth-header h1 {
        font-size: 1.75rem;
    }
    
    .auth-header p {
        font-size: 1rem;
    }
    
    .btn-modern {
        padding: 0.875rem 1.5rem;
        font-size: 0.875rem;
    }
}

/* Dark mode support (future enhancement) */
@media (prefers-color-scheme: dark) {
    .auth-container {
        background: rgba(31, 41, 55, 0.98);
        border-color: rgba(255, 255, 255, 0.1);
    }
    
    .form-input {
        background: #374151;
        border-color: #4b5563;
        color: #f9fafb;
    }
    
    .form-input:focus {
        border-color: #3b82f6;
    }
}
        max-height: calc(100vh - 2rem);
    
    
    .modal-body {
        padding: 1.5rem;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .confirmation-actions {
        flex-direction: column;
    }
    
    .transaction-details {
        padding: 1rem;
    }
    
    .detail-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
    }


@media (max-width: 480px) {
    .modal-header {
        padding: 1rem 1.5rem;
    }
    
    .modal-body {
        padding: 1rem;
    }
    
    .form-section {
        padding: 1rem;
    }
    
    .security-notice {
        flex-direction: column;
        text-align: center;
    }
}

@media (min-width: 1025px) {
    .portfolio-grid {
        grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
        gap: 2rem;
    }
}

/* Performance Metrics Section Styles */
.performance-metrics-section {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 1rem;
    padding: 2rem;
    margin: 2rem 0;
    border: 1px solid #e2e8f0;
}

.metrics-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.metrics-header h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1e293b;
    margin: 0;
}

.performance-rating {
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.performance-rating.excellent {
    background: #dcfce7;
    color: #166534;
}

.performance-rating.good {
    background: #fef3c7;
    color: #92400e;
}

.performance-rating.fair {
    background: #fee2e2;
    color: #991b1b;
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.metric-item {
    background: white;
    padding: 1.25rem;
    border-radius: 0.75rem;
    border: 1px solid #e2e8f0;
    text-align: center;
}

.metric-label {
    font-size: 0.875rem;
    color: #64748b;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.metric-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.25rem;
}

.metric-description {
    font-size: 0.75rem;
    color: #94a3b8;
    line-height: 1.4;
}

/* Responsive adjustments for performance metrics */
@media (max-width: 768px) {
    .performance-metrics-section {
        padding: 1.5rem;
        margin: 1.5rem 0;
    }
    
    .metrics-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .metrics-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .metric-item {
        padding: 1rem;
    }
    
    .metric-value {
        font-size: 1.25rem;
    }
}

@media (max-width: 480px) {
    .metrics-grid {
        grid-template-columns: 1fr;
    }

    .performance-metrics-section {
        padding: 1rem;
        margin: 1rem 0;
    }
}

/* ==========================================================================
   Portfolio Animations & Charts
   ========================================================================== */

/* Chart Container */
.chart-container {
    margin: 2rem 0;
    padding: 2rem;
    background: linear-gradient(135deg, var(--white) 0%, #f8fafc 100%);
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.chart-container h3 {
    color: var(--royal-blue);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    font-weight: 600;
}

.chart-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 1rem;
}

.chart-item {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}

.chart-item h4 {
    color: var(--royal-blue);
    margin-bottom: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
}

/* Growth Chart */
.chart-bars {
    display: flex;
    align-items: end;
    height: 200px;
    gap: 0.75rem;
    padding: 1rem 0;
}

.chart-bar-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    flex: 1;
}

.chart-bar {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 6px 6px 0 0;
    min-height: 20px;
    width: 40px;
    position: relative;
    transition: height 0.3s ease;
    display: flex;
    align-items: end;
    justify-content: center;
}

.chart-bar-value {
    position: absolute;
    top: -25px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--royal-blue);
    background: var(--white);
    padding: 2px 6px;
    border-radius: 4px;
    border: 1px solid #e2e8f0;
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.chart-bar:hover .chart-bar-value {
    opacity: 1;
}

.chart-bar-label {
    font-size: 0.75rem;
    color: #64748b;
    text-align: center;
    font-weight: 500;
}

/* Allocation Chart */
.allocation-chart {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: conic-gradient(
        var(--color1) 0% var(--value1),
        var(--color2) 0 var(--value2)
    );
    margin: 0 auto 1rem;
    position: relative;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.allocation-slice {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.allocation-slice span {
    background: var(--white);
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--royal-blue);
    transform: rotate(0deg);
}

.allocation-legend {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
}

.legend-color {
    width: 12px;
    height: 12px;
    border-radius: 2px;
    flex-shrink: 0;
}

/* Chart Empty States */
.chart-empty {
    text-align: center;
    padding: 2rem;
    color: #64748b;
}

.empty-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    opacity: 0.5;
}

.chart-empty p {
    margin: 0;
    font-size: 0.9rem;
}

/* Chart Legend */
.chart-legend {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #e2e8f0;
}

/* Animation for metric values */
.metric-value-large {
    transition: all 0.5s ease;
}

.metric-trend {
    transition: all 0.5s ease;
}

/* Responsive Charts */
@media (max-width: 768px) {
    .chart-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .chart-bars {
        height: 150px;
    }
    
    .chart-bar {
        width: 30px;
    }
    
    .allocation-chart {
        width: 140px;
        height: 140px;
    }
}

@media (max-width: 480px) {
    .chart-container {
        padding: 1.5rem;
        margin: 1.5rem 0;
    }
    
    .chart-item {
        padding: 1rem;
    }
    
    .chart-bars {
        gap: 0.5rem;
        height: 120px;
    }
    
    .chart-bar {
        width: 25px;
    }
    
    .chart-bar-value {
        font-size: 0.65rem;
        top: -22px;
    }
}
