:root {
    --primary-color: #1e3a8a;
    --secondary-color: #3b82f6;
    --tertiary-color: #6366f1;
    --quaternary-color: #8b5cf6;
    --accent-color: #e5e7eb;
    --action-color: #2563eb;
    --dark-gray: #374151;
    --light-gray: #f9fafb;
    --white: #ffffff;
    --danger: #dc2626;
    --warning: #d97706;
    --success: #059669;
    --text-secondary: #6c757d;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--dark-gray);
    background-color: var(--light-gray);
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

html {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    height: 100%;
}

html, body {
    min-height: 100%;
    margin: 0 !important;
    padding: 0 !important;
}

/* Remove any default margin/padding that could create white space */
body {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

html {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

/* Header and Navigation */
.navbar {
    background-color: var(--primary-color) !important;
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0,76,153,0.1);
}

.navbar-logo {
    transition: all 0.3s ease;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
}

.navbar-logo:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.3));
}

.navbar-brand {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--white) !important;
}

.navbar-nav .nav-link {
    color: var(--white) !important;
    font-weight: 500;
    margin: 0 0.5rem;
    transition: color 0.3s ease;
    display: inline-block !important;
    visibility: visible !important;
}

.navbar-nav .nav-link:hover {
    color: #ffffff !important;
    opacity: 0.8;
}

.navbar-nav .nav-link i {
    display: inline-block !important;
    visibility: visible !important;
}

.btn-action {
    background-color: var(--action-color);
    color: var(--white);
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    position: relative;
    overflow: hidden;
}

.btn-action::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.6), transparent);
    transition: left 0.6s ease;
    z-index: 1;
}

.btn-action:hover::before {
    left: 100%;
}

.btn-action .fas,
.btn-action span:not(.btn-glow) {
    position: relative;
    z-index: 2;
}

.btn-action:hover {
    background-color: #1d4ed8;
    color: var(--white);
    transform: translateY(-2px);
    text-decoration: none;
    box-shadow: 0 8px 25px rgba(45, 108, 223, 0.4);
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.btn-primary::before {
    content: '';
    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.5s;
}

.btn-primary:hover::before {
    left: 100%;
}

/* Billing Toggle Styles */
.billing-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin: 0.5rem 0 1.5rem 0;
}

.billing-option {
    font-weight: 500;
    color: var(--dark-gray);
    transition: color 0.3s ease;
    font-size: 0.95rem;
}

.billing-option.active {
    color: var(--primary-color);
    font-weight: 600;
}

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

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

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .3s;
    border-radius: 24px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .3s;
    border-radius: 50%;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

input:checked + .slider {
    background-color: var(--primary-color);
}

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

/* Hero Section Fixes */
.hero-actions {
    position: relative;
    z-index: 10;
    margin-bottom: 2rem;
}

.hero-btn-primary, .hero-btn-secondary {
    position: relative;
    overflow: hidden !important;
    white-space: nowrap;
    min-width: 200px;
    padding: 1rem 2rem;
    margin-bottom: 1rem;
}

.btn-glow {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: inherit;
    pointer-events: none;
    z-index: -1;
    opacity: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% {
        transform: translateX(-100%);
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: translateX(100%);
        opacity: 0;
    }
}

.hero-btn-primary:hover .btn-glow,
.hero-btn-secondary:hover .btn-glow {
    animation: shine 0.6s ease-in-out;
}

/* Auto shine animation for CTA section buttons */
.btn-action .btn-glow,
.btn-outline-primary .btn-glow,
.cta-btn-primary .btn-glow,
.cta-btn-secondary .btn-glow {
    animation: shine 3s infinite;
}

/* Enhanced CTA Section Styling */
.cta-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--secondary-color), var(--tertiary-color));
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
    animation: badgeFloat 3s ease-in-out infinite;
}

@keyframes badgeFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-5px); }
}

.cta-title {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
    line-height: 1.3;
    padding: 0.2rem 0;
    display: inline-block;
    word-spacing: 0.1em;
    letter-spacing: 0.02em;
}

.cta-description {
    color: var(--dark-gray);
    font-size: 1.2rem;
    line-height: 1.6;
    max-width: 700px;
    margin: 0 auto 2rem;
}

.cta-stats {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    padding: 2rem 1rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.cta-stat {
    text-align: center;
}

.cta-stat strong {
    display: block;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 0.25rem;
}

.cta-stat small {
    color: var(--dark-gray);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 500;
}

.cta-buttons {
    margin-top: 2rem;
}

.cta-btn-primary,
.cta-btn-secondary {
    position: relative;
    overflow: hidden;
    min-width: 200px;
    margin: 0.5rem;
    transition: all 0.3s ease;
}

.cta-btn-primary:hover,
.cta-btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* CTA Background Animation */
.cta-bg-animation {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    pointer-events: none;
}

.cta-particle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: var(--secondary-color);
    border-radius: 50%;
    opacity: 0.3;
}

.cta-particle-1 {
    top: 20%;
    left: 10%;
    /* Removed continuous animation for performance */
}

.cta-particle-2 {
    top: 30%;
    right: 15%;
    /* Removed continuous animation for performance */
}

.cta-particle-3 {
    bottom: 30%;
    left: 20%;
    /* Removed continuous animation for performance */
}

.cta-particle-4 {
    bottom: 20%;
    right: 25%;
    /* Removed continuous animation for performance */
}

.cta-particle-5 {
    top: 50%;
    left: 50%;
    /* Removed continuous animation for performance */
}

@keyframes particleFloat1 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(20px, -20px) scale(1.2); }
    66% { transform: translate(-15px, 15px) scale(0.8); }
}

@keyframes particleFloat2 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(-25px, -25px) rotate(180deg); }
}

@keyframes particleFloat3 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(15px, -30px) scale(1.1); }
    75% { transform: translate(-20px, 10px) scale(0.9); }
}

/* Enhanced About Page Styling */
.about-content-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
    padding: 3rem 0 !important;
}

.about-main-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
    overflow: visible !important;
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.05);
    display: block !important;
    visibility: visible !important;
}

.about-card-header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 3rem 2rem 2rem;
    text-align: center;
    position: relative;
}

.about-card-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2" fill="white" opacity="0.1"/><circle cx="80" cy="40" r="1.5" fill="white" opacity="0.15"/><circle cx="40" cy="80" r="1" fill="white" opacity="0.2"/></svg>');
    pointer-events: none;
}

.about-icon-wrapper {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    position: relative;
    z-index: 2;
}

.about-icon-wrapper i {
    font-size: 2.5rem;
    color: white;
}

.about-main-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
}

.about-divider {
    width: 80px;
    height: 4px;
    background: rgba(255, 255, 255, 0.5);
    margin: 0 auto;
    border-radius: 2px;
    position: relative;
    z-index: 2;
}

.about-card-body {
    padding: 3rem 2rem;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.enhanced-lead {
    font-size: 1.3rem;
    font-weight: 500;
    color: var(--dark-gray);
    margin-bottom: 2.5rem;
    text-align: center;
    line-height: 1.6;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.about-content-grid {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.about-content-item {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.about-content-grid {
    margin-bottom: 3rem;
}

.about-content-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: rgba(59, 130, 246, 0.05);
    border-radius: 15px;
    border-left: 4px solid var(--secondary-color);
    transition: all 0.3s ease;
}

.about-content-item:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 20px rgba(59, 130, 246, 0.15);
}

.about-item-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--secondary-color), var(--tertiary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1.5rem;
    flex-shrink: 0;
}

.about-item-icon i {
    font-size: 1.5rem;
    color: white;
}

.about-item-content {
    flex: 1;
}

.about-item-content p {
    margin: 0;
    line-height: 1.6;
    color: var(--dark-gray);
}

.mission-vision-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

@media (max-width: 768px) {
    .mission-vision-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

.mission-card,
.vision-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.mission-card::before,
.vision-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.mission-card:hover,
.vision-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.mv-card-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.mv-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.mv-icon i {
    font-size: 1.5rem;
    color: white;
}

.mv-card-header h3 {
    color: var(--primary-color);
    font-weight: 700;
    margin: 0;
}

.about-bg-decoration {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 1;
}

.about-bg-circle {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(99, 102, 241, 0.1));
}

.about-bg-circle-1 {
    width: 200px;
    height: 200px;
    top: 10%;
    right: -50px;
    /* Optimized: Only animate on hover for better performance */
    transition: transform 0.3s ease;
}

.about-bg-circle-2 {
    width: 150px;
    height: 150px;
    bottom: 20%;
    left: -30px;
    transition: transform 0.3s ease;
}

.about-bg-circle-3 {
    width: 100px;
    height: 100px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: transform 0.3s ease;
}

@keyframes floatSlow {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

/* Enhanced Assistant Cards */
.assistant-card-enhanced {
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.4s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
}

.assistant-card-enhanced:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.assistant-card-inner {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.assistant-card-header {
    padding: 2rem 1.5rem 1rem;
    text-align: center;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    position: relative;
}

.assistant-avatar-wrapper {
    position: relative;
    display: inline-block;
    margin-bottom: 1.5rem;
}

.assistant-avatar-ring {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    padding: 4px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    position: relative;
    animation: avatarPulse 3s ease-in-out infinite;
}

.nova-ring {
    background: linear-gradient(135deg, #3b82f6, #6366f1);
}

.captain-ring {
    background: linear-gradient(135deg, #059669, #10b981);
}

.pixel-ring {
    background: linear-gradient(135deg, #f59e0b, #d97706);
}

@keyframes avatarPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.assistant-avatar-img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid white;
}

.assistant-status-indicator {
    position: absolute;
    bottom: 10px;
    right: 10px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 3px solid white;
    animation: statusBlink 2s infinite;
}

.nova-status {
    background: #10b981;
}

.captain-status {
    background: #3b82f6;
}

.pixel-status {
    background: #f59e0b;
}

@keyframes statusBlink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.assistant-name {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--dark-gray);
}

.nova-name {
    color: #3b82f6;
}

.captain-name {
    color: #059669;
}

.pixel-name {
    color: #f59e0b;
}

.assistant-role {
    color: var(--text-secondary);
    font-weight: 500;
    margin-bottom: 1rem;
    font-size: 1rem;
}

.assistant-speciality {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.nova-speciality {
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.captain-speciality {
    background: rgba(5, 150, 105, 0.1);
    color: #059669;
    border: 1px solid rgba(5, 150, 105, 0.2);
}

.pixel-speciality {
    background: rgba(245, 158, 11, 0.1);
    color: #f59e0b;
    border: 1px solid rgba(245, 158, 11, 0.2);
}

.assistant-card-body {
    padding: 1.5rem;
    flex: 1;
}

.assistant-description {
    line-height: 1.6;
    color: var(--dark-gray);
    margin: 0;
}

.assistant-card-footer {
    padding: 1.5rem;
    text-align: center;
}

.assistant-contact-btn {
    position: relative;
    overflow: hidden;
    border-radius: 25px;
    padding: 0.75rem 2rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    border: 2px solid;
}

.nova-btn {
    color: #3b82f6;
    border-color: #3b82f6;
    background: rgba(59, 130, 246, 0.1);
}

.nova-btn:hover {
    color: white;
    background: #3b82f6;
    transform: translateY(-2px);
}

.captain-btn {
    color: #059669;
    border-color: #059669;
    background: rgba(5, 150, 105, 0.1);
}

.captain-btn:hover {
    color: white;
    background: #059669;
    transform: translateY(-2px);
}

.pixel-btn {
    color: #f59e0b;
    border-color: #f59e0b;
    background: rgba(245, 158, 11, 0.1);
}

.pixel-btn:hover {
    color: white;
    background: #f59e0b;
    transform: translateY(-2px);
}

.btn-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transition: left 0.6s ease;
    z-index: 1;
}

.assistant-contact-btn:hover .btn-shine {
    left: 100%;
}

@media (max-width: 768px) {
    .hero-btn-primary, .hero-btn-secondary {
        width: 100%;
        margin-bottom: 1rem;
    }

    .hero-actions {
        flex-direction: column;
    }
}

/* Core Values Section - About Page */
.values-section .value-card {
    text-align: center;
    transition: transform 0.3s ease;
}

.values-section .value-card:hover {
    transform: translateY(-10px);
}

.values-section .feature-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 80px;
    height: 80px;
    margin: 0 auto;
    border-radius: 50%;
    background: linear-gradient(135deg, #3b82f6, #6366f1);
    color: white;
}

.values-section .feature-icon i {
    font-size: 2rem !important;
    color: white !important;
    display: block;
}



.btn-primary:hover {
    background-color: #1e40af;
    border-color: #1e40af;
    box-shadow: 0 8px 25px rgba(30, 58, 138, 0.4);
    transform: translateY(-2px);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 50%, var(--tertiary-color) 100%);
    color: var(--white);
    min-height: 75vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 2rem 0 2rem 0;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2" fill="white" opacity="0.1"><animate attributeName="opacity" values="0.1;0.3;0.1" dur="4s" repeatCount="indefinite"/></circle><circle cx="80" cy="30" r="1.5" fill="white" opacity="0.15"><animate attributeName="opacity" values="0.15;0.4;0.15" dur="6s" repeatCount="indefinite"/></circle><circle cx="60" cy="70" r="1" fill="white" opacity="0.2"><animate attributeName="opacity" values="0.2;0.5;0.2" dur="3s" repeatCount="indefinite"/></circle></svg>');
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-title {
    font-size: 3.2rem;
    font-weight: 800;
    margin-bottom: 1rem;
    text-shadow: 3px 3px 8px rgba(0,0,0,0.6);
    line-height: 1.1;
    color: #ffffff !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.hero-subtitle {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 1rem;
    opacity: 1 !important;
    color: #ffffff !important;
    text-shadow: 2px 2px 6px rgba(0,0,0,0.5);
    display: block !important;
    visibility: visible !important;
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    opacity: 1 !important;
    line-height: 1.6;
    color: #ffffff !important;
    text-shadow: 2px 2px 6px rgba(0,0,0,0.5);
    display: block !important;
    visibility: visible !important;
}

/* Force hero section content to be visible */
.hero-section h1,
.hero-section p {
    color: #ffffff !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.hero-stats {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    padding: 1rem;
    margin-bottom: 1rem;
}

.hero-stat strong {
    display: block;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--white);
}

.hero-stat small {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hero-illustration {
    position: relative;
    z-index: 1;
}

.hero-svg {
    width: 100%;
    height: auto;
    max-width: 600px;
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.2));
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.floating-element {
    animation: float 6s ease-in-out infinite;
}

.floating-1 {
    animation: float 4s ease-in-out infinite;
}

.floating-2 {
    animation: float 5s ease-in-out infinite 0.5s;
}

.floating-3 {
    animation: float 6s ease-in-out infinite 1s;
}

.floating-4 {
    animation: float 4.5s ease-in-out infinite 1.5s;
}

.floating-icons {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.icon-float {
    position: absolute;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    opacity: 0.8;
}

.icon-1 {
    top: 15%;
    left: 8%;
    animation: float 6s ease-in-out infinite;
}

.icon-2 {
    top: 12%;
    right: 12%;
    animation: float 5s ease-in-out infinite 1s;
}

.icon-3 {
    bottom: 25%;
    left: 10%;
    animation: float 7s ease-in-out infinite 2s;
}

.icon-4 {
    bottom: 18%;
    right: 15%;
    animation: float 5.5s ease-in-out infinite 0.5s;
}

/* Responsive adjustments for floating icons */
@media (max-width: 1200px) {
    .icon-1 {
        top: 18%;
        left: 5%;
    }

    .icon-2 {
        top: 15%;
        right: 8%;
    }

    .icon-3 {
        bottom: 28%;
        left: 7%;
    }

    .icon-4 {
        bottom: 22%;
        right: 10%;
    }
}

@media (max-width: 768px) {
    .icon-float {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .icon-1 {
        top: 10%;
        left: 5%;
    }

    .icon-2 {
        top: 8%;
        right: 5%;
    }

    .icon-3 {
        bottom: 35%;
        left: 5%;
    }

    .icon-4 {
        bottom: 30%;
        right: 5%;
    }
}

/* Professional Logistics Animation */
.logistics-animation-container {
    position: relative;
    width: 100%;
    height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.supply-chain-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

/* Central Headquarters */
.headquarters {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    text-align: center;
}

.hq-building {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2.5rem;
    box-shadow: 0 8px 30px rgba(30, 58, 138, 0.4);
    animation: hqPulse 3s ease-in-out infinite;
    margin: 0 auto 0.5rem;
}

.hq-label {
    font-size: 0.9rem;
    font-weight: 700;
    color: white;
    text-align: center;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
    background: rgba(30, 58, 138, 0.9);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    border: 2px solid rgba(255,255,255,0.3);
}

/* Transportation Routes */
.transport-routes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.route {
    position: absolute;
}

/* Air Route - Top Right */
.air-route {
    top: 20%;
    right: 5%;
    width: 200px;
}

.route-path {
    position: relative;
    height: 4px;
    margin-bottom: 1rem;
}

.route-line {
    width: 100%;
    height: 100%;
    border-radius: 2px;
    position: relative;
    overflow: hidden;
}

.air-line {
    background: linear-gradient(90deg, transparent, #3b82f6, transparent);
    animation: routeFlow 4s ease-in-out infinite;
}

.sea-line {
    background: linear-gradient(90deg, transparent, #06b6d4, transparent);
    animation: routeFlow 4s ease-in-out infinite 1s;
}

.land-line {
    background: linear-gradient(90deg, transparent, #10b981, transparent);
    animation: routeFlow 4s ease-in-out infinite 2s;
}

.rail-line {
    background: linear-gradient(90deg, transparent, #f59e0b, transparent);
    animation: routeFlow 4s ease-in-out infinite 3s;
}

.transport-vehicle {
    position: absolute;
    top: -8px;
    left: 0;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.air-vehicle {
    background: #3b82f6;
    animation: vehicleMove 4s ease-in-out infinite;
}

.sea-vehicle {
    background: #06b6d4;
    animation: vehicleMove 4s ease-in-out infinite 1s;
}

.land-vehicle {
    background: #10b981;
    animation: vehicleMove 4s ease-in-out infinite 2s;
}

.rail-vehicle {
    background: #f59e0b;
    animation: vehicleMove 4s ease-in-out infinite 3s;
}

.destination {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.air-destination {
    background: rgba(59, 130, 246, 0.95);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    text-shadow: 1px 1px 3px rgba(0,0,0,0.7);
}

.sea-destination {
    background: rgba(6, 182, 212, 0.95);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    text-shadow: 1px 1px 3px rgba(0,0,0,0.7);
}

.land-destination {
    background: rgba(16, 185, 129, 0.95);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    text-shadow: 1px 1px 3px rgba(0,0,0,0.7);
}

.rail-destination {
    background: rgba(245, 158, 11, 0.95);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    text-shadow: 1px 1px 3px rgba(0,0,0,0.7);
}

/* Route Positioning - Two Column Layout */
/* Left Column */
.land-route {
    top: 20%;
    left: 5%;
    width: 200px;
}

.sea-route {
    bottom: 20%;
    left: 5%;
    width: 200px;
}

/* Right Column */
.rail-route {
    bottom: 20%;
    right: 5%;
    width: 200px;
}

/* Floating Data Points */
.data-points {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.data-point {
    position: absolute;
    width: 40px;
    height: 40px;
}

.dp-icon {
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    animation: dataPointFloat 6s ease-in-out infinite;
}

.dp-pulse {
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border: 2px solid var(--secondary-color);
    border-radius: 50%;
    opacity: 0.6;
    animation: dpPulse 3s ease-in-out infinite;
}

.dp-1 {
    top: 20%;
    left: 20%;
    animation-delay: 0s;
}

.dp-2 {
    top: 15%;
    right: 25%;
    animation-delay: 1.5s;
}

.dp-3 {
    bottom: 20%;
    left: 25%;
    animation-delay: 3s;
}

.dp-4 {
    bottom: 25%;
    right: 20%;
    animation-delay: 4.5s;
}

/* Background Grid */
.bg-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0.1;
}

.grid-lines {
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(59, 130, 246, 0.3) 1px, transparent 1px),
        linear-gradient(90deg, rgba(59, 130, 246, 0.3) 1px, transparent 1px);
    background-size: 40px 40px;
    animation: gridShift 20s linear infinite;
}

/* Keyframe Animations */
@keyframes hqPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 8px 30px rgba(30, 58, 138, 0.4);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 12px 40px rgba(30, 58, 138, 0.6);
    }
}

@keyframes routeFlow {
    0% {
        background: linear-gradient(90deg, transparent, transparent, transparent);
        opacity: 0.3;
    }
    50% {
        background: linear-gradient(90deg, transparent, currentColor, transparent);
        opacity: 1;
    }
    100% {
        background: linear-gradient(90deg, transparent, transparent, transparent);
        opacity: 0.3;
    }
}

@keyframes vehicleMove {
    0% {
        left: 0;
        transform: translateX(-50%) scale(0.8);
        opacity: 0.6;
    }
    50% {
        transform: translateX(-50%) scale(1);
        opacity: 1;
    }
    100% {
        left: 100%;
        transform: translateX(-50%) scale(0.8);
        opacity: 0.6;
    }
}

@keyframes dataPointFloat {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    33% {
        transform: translateY(-15px) rotate(5deg);
    }
    66% {
        transform: translateY(10px) rotate(-5deg);
    }
}

@keyframes dpPulse {
    0% {
        transform: scale(1);
        opacity: 0.6;
    }
    50% {
        transform: scale(1.3);
        opacity: 0;
    }
    100% {
        transform: scale(1.6);
        opacity: 0;
    }
}

@keyframes gridShift {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(40px, 40px);
    }
}

/* Responsive Design */
@media (max-width: 1200px) {
    .logistics-animation-container {
        height: 400px;
    }

    .route {
        width: 160px !important;
    }

    .hq-building {
        width: 70px;
        height: 70px;
        font-size: 2rem;
    }

    .data-point {
        width: 35px;
        height: 35px;
    }

    .dp-icon {
        font-size: 0.9rem;
    }
}

@media (max-width: 992px) {
    .logistics-animation-container {
        height: 350px;
    }

    .route {
        width: 140px !important;
    }

    .hq-building {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .destination {
        font-size: 0.7rem;
        padding: 0.4rem 0.8rem;
    }
}

@media (max-width: 768px) {
    .logistics-animation-container {
        height: 300px;
        margin-top: 2rem;
    }

    .route {
        width: 120px !important;
    }

    .hq-building {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }

    .hq-label {
        font-size: 0.7rem;
    }

    .data-point {
        width: 30px;
        height: 30px;
    }

    .dp-icon {
        font-size: 0.8rem;
    }

    .destination {
        font-size: 0.6rem;
        padding: 0.3rem 0.6rem;
    }

    .destination span {
        display: none;
    }
}

@media (max-width: 576px) {
    .logistics-animation-container {
        height: 250px;
    }

    .route {
        width: 100px !important;
    }

    .hq-building {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .data-point {
        width: 25px;
        height: 25px;
    }

    .dp-icon {
        font-size: 0.7rem;
    }

    .transport-vehicle {
        width: 16px;
        height: 16px;
        font-size: 10px;
    }
}

/* Cards */
.card {
    border: none;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: var(--white);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.card-header {
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 10px 10px 0 0 !important;
    padding: 1.5rem;
}

/* Billing Toggle */
.billing-toggle-container {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
}

.billing-toggle {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 50px;
    padding: 0.75rem 1.5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.billing-option {
    font-weight: 600;
    color: var(--dark-gray);
    transition: color 0.3s ease;
    white-space: nowrap;
}

.billing-option.active {
    color: var(--primary-color);
}

.savings-badge {
    background: linear-gradient(135deg, var(--success), #10b981);
    color: white;
    padding: 0.2rem 0.5rem;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-left: 0.5rem;
}

.toggle-switch {
    position: relative;
    display: inline-block;
}

.toggle-switch input[type="checkbox"] {
    display: none;
}

.toggle-label {
    display: block;
    width: 50px;
    height: 26px;
    background: var(--accent-color);
    border-radius: 15px;
    cursor: pointer;
    position: relative;
    transition: background 0.3s ease;
}

.toggle-switch input[type="checkbox"]:checked + .toggle-label {
    background: var(--primary-color);
}

.toggle-switch-handle {
    position: absolute;
    top: 2px;
    left: 2px;
    width: 22px;
    height: 22px;
    background: white;
    border-radius: 50%;
    transition: transform 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.toggle-switch input[type="checkbox"]:checked + .toggle-label .toggle-switch-handle {
    transform: translateX(24px);
}

/* Pricing Cards */
.pricing-card {
    text-align: center;
    padding: 2rem;
    border: 2px solid #e9ecef;
    transition: all 0.3s ease;
    position: relative;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.pricing-card.popular {
    border-color: #007bff;
    transform: scale(1.05);
}

.pricing-card.elite {
    border-color: #ffc107;
}

.pricing-card.featured {
    border: 3px solid var(--action-color);
    transform: scale(1.05);
}

.pricing-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.popular-badge, .elite-badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: #007bff;
    color: white;
    padding: 5px 15px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: bold;
}

.elite-badge {
    background: #ffc107;
    color: #212529;
}

.savings {
    color: #28a745;
    font-weight: bold;
    font-size: 0.9rem;
}

.price-container {
    margin: 1rem 0;
    min-height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.price {
    font-size: 3rem;
    font-weight: bold;
    color: var(--action-color);
    margin: 0;
    transition: all 0.3s ease;
}

.price small {
    font-size: 1rem;
    color: var(--dark-gray);
}

.yearly-monthly-breakdown {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-top: 0.5rem;
    font-weight: 500;
}

.monthly-price, .yearly-price {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Complete Job Button - Centered Text */
.btn-success,
button.btn-success,
a.btn-success {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
}

.btn-success i {
    margin-right: 0.5rem;
}

/* Dashboard Pricing Card Specific Styles */
.pricing-card-dashboard {
    padding: 1.25rem;
    height: 100%;
    max-height: 550px;
    display: flex;
    flex-direction: column;
}

.pricing-card-dashboard .card-body {
    padding: 0.75rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.pricing-card-dashboard .price {
    font-size: 1.8rem;
}

.pricing-card-dashboard .price-container {
    min-height: 60px;
    margin-bottom: 1rem;
    flex-shrink: 0;
}

.pricing-card-dashboard ul {
    font-size: 0.85rem;
    margin-bottom: 1rem;
    flex-grow: 1;
    max-height: 180px;
    overflow-y: auto;
    padding-right: 0.5rem;
    flex-shrink: 1;
}

.pricing-card-dashboard ul li {
    margin-bottom: 0.4rem;
    line-height: 1.3;
}

.pricing-card-dashboard .text-center:last-child {
    margin-top: auto;
    padding-top: 0.5rem;
    flex-shrink: 0;
}

.pricing-card-dashboard .alert {
    font-size: 0.8rem;
    padding: 0.5rem;
    margin-bottom: 0.5rem;
}

.pricing-card-dashboard .btn {
    font-size: 0.85rem;
    padding: 0.5rem 1rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Custom scrollbar for features list */
.pricing-card-dashboard ul::-webkit-scrollbar {
    width: 4px;
}

.pricing-card-dashboard ul::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.pricing-card-dashboard ul::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 4px;
}

.pricing-card-dashboard ul::-webkit-scrollbar-thumb:hover {
    background: #a1a1a1;
}

@media (max-width: 768px) {
    .pricing-card-dashboard {
        padding: 1rem;
        max-height: 400px;
    }

    .pricing-card-dashboard .price {
        font-size: 1.6rem;
    }

    .pricing-card-dashboard ul {
        max-height: 120px;
        font-size: 0.8rem;
    }

    .pricing-card-dashboard .btn {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }

    .dashboard-plan-card {
        max-height: 500px;
    }

    .plan-features {
        max-height: 200px;
    }

    .plan-header {
        padding: 1.5rem 1rem 1rem;
    }

    .plan-title {
        font-size: 1.3rem;
    }

    .price-amount {
        font-size: 1.8rem;
    }
}

/* Forms */
.form-control {
    border: 2px solid var(--accent-color);
    border-radius: 5px;
    padding: 0.75rem;
    transition: border-color 0.3s ease;
}

/* Hide validation messages by default - CRITICAL FIX */
.invalid-feedback {
    display: none !important;
    margin-top: 0.25rem;
    font-size: 0.875rem;
    color: #dc3545;
}

/* Show validation messages only when field is invalid */
.form-control.is-invalid ~ .invalid-feedback,
.form-select.is-invalid ~ .invalid-feedback,
.form-check-input.is-invalid ~ .invalid-feedback,
.form-check.has-error .invalid-feedback {
    display: block !important;
}

/* Ensure validation styles don't show on page load */
.form-control:not(.is-invalid):not(.is-valid),
.form-select:not(.is-invalid):not(.is-valid) {
    border-color: var(--accent-color);
    background-image: none;
}

/* Payment page stability - ENHANCED FIX */
.payment-section {
    opacity: 1 !important;
    visibility: visible !important;
    animation: none !important;
}

.payment-section .card,
.payment-section .alert,
.payment-section .bg-light {
    opacity: 1 !important;
    visibility: visible !important;
    animation: none !important;
    transition: none !important;
}

/* Static Payment Instructions - No Animations or Transitions */
.payment-instructions-static {
    background: linear-gradient(135deg, #e0f2fe 0%, #f0f9ff 100%);
    border: 2px solid #0ea5e9;
    border-radius: 12px;
    overflow: visible;
    box-shadow: 0 4px 15px rgba(14, 165, 233, 0.2);
}

.payment-instructions-static * {
    animation: none !important;
    transition: none !important;
    transform: none !important;
}

.payment-instructions-static .instructions-header {
    background: linear-gradient(135deg, #0284c7, #0ea5e9);
    color: white;
    padding: 1.25rem 1.5rem;
    border-radius: 10px 10px 0 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.payment-instructions-static .instructions-header h5 {
    color: white;
    font-weight: 600;
    font-size: 1.1rem;
}

.payment-instructions-static .instructions-body {
    padding: 1.5rem;
    background: white;
    border-radius: 0 0 10px 10px;
}

.payment-instructions-static .instructions-content {
    background: rgba(14, 165, 233, 0.05);
    padding: 1.25rem;
    border-radius: 8px;
    border-left: 4px solid #0ea5e9;
}

.payment-instructions-static .instructions-title {
    color: #0c4a6e;
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.payment-instructions-static .instructions-text {
    white-space: pre-line;
    line-height: 1.8;
    color: #334155;
    font-size: 0.95rem;
}

.payment-instructions-static .instructions-list {
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.payment-instructions-static .instructions-list li {
    margin-bottom: 0.75rem;
    line-height: 1.6;
    color: #334155;
}

.payment-instructions-static p {
    color: #334155;
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

.payment-instructions-static strong {
    color: #0c4a6e;
    font-weight: 600;
}

.payment-instructions-static a {
    color: #0284c7;
    text-decoration: none;
    font-weight: 500;
}

.payment-instructions-static a:hover {
    color: #0ea5e9;
    text-decoration: underline;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(0,76,153,0.25);
}

.form-group {
    margin-bottom: 1.5rem;
}

/* Dashboard */
.dashboard-card {
    background: linear-gradient(135deg, var(--primary-color), #0056b3);
    color: var(--white);
    border-radius: 10px;
    padding: 2rem;
    margin-bottom: 1.5rem;
}

/* Dashboard Button Consistency */
.dashboard-card .btn-primary,
.dashboard-card .btn-action {
    background: var(--action-color);
    border-color: var(--action-color);
    color: var(--white);
    transition: all 0.3s ease;
}

.dashboard-card .btn-primary:hover,
.dashboard-card .btn-action:hover {
    background: #1d4ed8;
    border-color: #1d4ed8;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.4);
}

.dashboard-stat {
    text-align: center;
    padding: 1.5rem;
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.dashboard-stat h3 {
    color: var(--primary-color);
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.dashboard-stat p {
    color: var(--dark-gray);
    margin: 0;
}

/* Dashboard Plan Card Styling - Fixed positioning with scroll support */
.dashboard-plan-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border: none;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    overflow: hidden;
    position: relative;
    transition: all 0.3s ease;
    max-height: 600px;
    margin-bottom: 2rem;
    display: flex;
    flex-direction: column;
}

.dashboard-plan-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.dashboard-plan-card.plan-free {
    border-left: 4px solid #6c757d;
}

.dashboard-plan-card.plan-pro {
    border-left: 4px solid var(--primary-color);
    background: linear-gradient(135deg, #eff6ff 0%, #ffffff 100%);
}

.dashboard-plan-card.plan-elite {
    border-left: 4px solid #f59e0b;
    background: linear-gradient(135deg, #fffbeb 0%, #ffffff 100%);
}

.plan-badge-premium {
    position: absolute;
    top: -8px;
    right: 15px;
    background: linear-gradient(135deg, var(--primary-color), #1d4ed8);
    color: white;
    padding: 6px 14px;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(30, 58, 138, 0.3);
    z-index: 10;
}

.plan-badge-elite {
    position: absolute;
    top: -8px;
    right: 15px;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
    padding: 6px 14px;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
    z-index: 10;
}

.plan-header {
    text-align: center;
    padding: 2rem 1.5rem 1.5rem;
    position: relative;
}

.plan-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.plan-free .plan-icon {
    background: linear-gradient(135deg, #6c757d, #495057);
}

.plan-pro .plan-icon {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

.plan-elite .plan-icon {
    background: linear-gradient(135deg, #f59e0b, #d97706);
}

.plan-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--dark-gray);
}

.plan-price {
    margin-bottom: 1rem;
}

.price-amount {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1;
}

.plan-elite .price-amount {
    color: #f59e0b;
}

.price-period {
    font-size: 1rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.plan-description {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin: 0;
}

.plan-features {
    padding: 0 1.5rem 1rem;
    flex: 1;
    overflow-y: auto;
    max-height: 300px;
}

.features-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* Custom scrollbar for plan features */
.plan-features::-webkit-scrollbar {
    width: 6px;
}

.plan-features::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 6px;
}

.plan-features::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 6px;
    transition: background 0.3s ease;
}

.plan-features::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-color);
}

.feature-item {
    display: flex;
    align-items: center;
    padding: 0.5rem 0;
    font-size: 0.9rem;
    color: var(--dark-gray);
}

.feature-check {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--success), #10b981);
    color: white;
    font-size: 0.7rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 0.75rem;
    flex-shrink: 0;
}

.plan-elite .feature-check {
    background: linear-gradient(135deg, #f59e0b, #d97706);
}

.feature-item.success-fee {
    background: rgba(var(--success-rgb, 5, 150, 105), 0.1);
    border-radius: 8px;
    padding: 0.75rem;
    margin: 0.5rem 0;
}

.usage-info {
    padding: 1rem 0 0.5rem;
    border-top: 1px solid #e9ecef;
    margin-top: 0.5rem;
}

.usage-bar {
    width: 100%;
    height: 6px;
    background: #e9ecef;
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.usage-progress {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 3px;
    transition: width 0.3s ease;
}

.usage-text {
    color: var(--text-secondary);
    font-size: 0.8rem;
}

.plan-expiry {
    background: rgba(59, 130, 246, 0.1);
    padding: 1rem 1.5rem;
    border-top: 1px solid rgba(59, 130, 246, 0.2);
}

.expiry-info {
    font-size: 0.85rem;
    color: var(--primary-color);
}

.plan-actions {
    padding: 1.5rem;
    text-align: center;
    background: rgba(248, 249, 250, 0.5);
}

.btn-plan-action {
    display: block;
    width: 100%;
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-upgrade {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    box-shadow: 0 4px 15px rgba(30, 58, 138, 0.3);
}

.btn-upgrade:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(30, 58, 138, 0.4);
    color: white;
    text-decoration: none;
}

/* Enhanced Elite Upgrade Button */
.btn-upgrade-elite {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color)) !important;
    color: white !important;
    border: none !important;
    padding: 0.75rem 1.5rem !important;
    border-radius: 12px !important;
    font-weight: 600 !important;
    font-size: 0.9rem !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
    position: relative !important;
    overflow: hidden !important;
    box-shadow: 0 4px 15px rgba(30, 58, 138, 0.3) !important;
}

.btn-upgrade-elite::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transition: left 0.6s ease;
    z-index: 1;
}

.btn-upgrade-elite:hover::before {
    left: 100%;
}

.btn-upgrade-elite i,
.btn-upgrade-elite span {
    position: relative;
    z-index: 2;
}

.btn-upgrade-elite:hover {
    background: linear-gradient(135deg, #1d4ed8, var(--tertiary-color)) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 25px rgba(30, 58, 138, 0.5) !important;
    color: white !important;
    text-decoration: none !important;
}

.btn-upgrade-elite:focus {
    color: white !important;
    text-decoration: none !important;
    box-shadow: 0 0 0 0.2rem rgba(245, 158, 11, 0.25) !important;
}

/* Dispute System Styling */
.dispute-card {
    border-left: 4px solid #f59e0b;
    animation: pulseGlow 2s ease-in-out infinite;
}

@keyframes pulseGlow {
    0%, 100% { box-shadow: 0 0 5px rgba(245, 158, 11, 0.3); }
    50% { box-shadow: 0 0 15px rgba(245, 158, 11, 0.6); }
}

.upgrade-pending-status .alert {
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%) !important;
    border: 1px solid #3b82f6 !important;
    color: #1e40af !important;
}

.plan-elite .btn-upgrade {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
}

.plan-elite .btn-upgrade:hover {
    box-shadow: 0 8px 25px rgba(245, 158, 11, 0.4);
}

.btn-plan-secondary {
    display: block;
    width: 100%;
    padding: 0.6rem 1.5rem;
    border: 2px solid var(--primary-color);
    background: transparent;
    color: var(--primary-color);
    border-radius: 10px;
    font-weight: 500;
    font-size: 0.85rem;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-top: 0.75rem;
}

.btn-plan-secondary:hover {
    background: var(--primary-color);
    color: white;
    text-decoration: none;
}

.elite-status {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    font-weight: 600;
    margin-bottom: 0.75rem;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
}

.elite-badge-bottom {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-top: 0.75rem;
}

/* Dashboard Layout Improvements */
@media (max-width: 991.98px) {
    .col-lg-8, .col-lg-4 {
        margin-bottom: 2rem;
    }

    .dashboard-stat {
        margin-bottom: 1rem;
    }
}

@media (max-width: 767.98px) {
    .dashboard-card {
        padding: 1.5rem;
        text-align: center;
    }

    .dashboard-stat {
        padding: 1rem;
    }

    .dashboard-stat h3 {
        font-size: 2rem;
    }

    .plan-header {
        padding: 1.5rem 1rem 1rem;
    }

    .plan-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }

    .plan-title {
        font-size: 1.3rem;
    }

    .price-amount {
        font-size: 2rem;
    }

    .plan-features {
        padding: 0 1rem 1rem;
    }

    .plan-actions {
        padding: 1rem;
    }
}

/* Job Search Form Alignment */
.job-search-form .input-group {
    height: 100%;
}

.job-search-form .form-control {
    height: 48px;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    border-radius: 8px 0 0 8px;
}

.job-search-form .input-group-text {
    height: 48px;
    display: flex;
    align-items: center;
    padding: 0.75rem 1rem;
    border-radius: 0 8px 8px 0;
}

.job-search-form .btn {
    height: 48px;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 120px;
}

/* Job listings */
.job-card {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    border: none;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
    border-radius: 12px;
    overflow: hidden;
}

.job-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.job-card .card-title {
    color: white !important;
    font-weight: 600;
}

.job-card .card-text,
.job-card .text-muted,
.job-card small {
    color: rgba(255, 255, 255, 0.9) !important;
}

.job-card .badge {
    background-color: rgba(255, 255, 255, 0.2) !important;
    color: white !important;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Real-time Notifications */
/* Live Updates Card Styling */
.live-updates-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border: 1px solid #e3e6f0;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.live-updates-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.live-updates-header {
    background: linear-gradient(135deg, #4e73df 0%, #224abe 100%);
    color: white;
    border-bottom: none;
    padding: 1rem 1.25rem;
}

.live-updates-title {
    color: white !important;
    font-weight: 600;
    font-size: 1.1rem;
}

.live-updates-title i {
    color: #ffffff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.notification-count {
    background: #e74a3b !important;
    color: white;
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
    border-radius: 12px;
    animation: pulse 2s infinite;
}

.loading-state {
    color: #6c757d;
    font-size: 0.9rem;
}

.loading-state i {
    color: #adb5bd;
    opacity: 0.7;
}

.loading-state p {
    color: #6c757d;
    font-weight: 500;
}

.notification-item {
    padding: 1rem;
    border-bottom: 1px solid #f1f3f4;
    transition: all 0.2s ease;
    position: relative;
    background: white;
}

.notification-item:hover {
    background: linear-gradient(135deg, #f8f9ff 0%, #f0f4f8 100%);
    transform: translateX(4px);
    border-left: 3px solid #4e73df;
}

.notification-item.unread {
    background: linear-gradient(135deg, #fff7e6 0%, #fdebc9 100%);
    border-left: 3px solid #f39c12;
}

.notification-item.unread:hover {
    background: linear-gradient(135deg, #fff4e6 0%, #fdebc9 100%);
}

/* Custom Pop-ups and Modals */
.custom-modal {
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    animation: fadeIn 0.3s ease;
}

.custom-modal .modal-dialog {
    animation: slideInDown 0.4s ease;
    margin-top: 5vh;
}

.custom-modal .modal-content {
    border: none;
    border-radius: 20px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
    overflow: hidden;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
}

.custom-modal .modal-header {
    background: linear-gradient(135deg, #4e73df 0%, #224abe 100%);
    color: white;
    border-bottom: none;
    padding: 1.5rem 2rem;
    position: relative;
}

.custom-modal .modal-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #f39c12, #e74c3c, #9b59b6, #3498db, #2ecc71);
}

.custom-modal .modal-title {
    font-weight: 600;
    font-size: 1.25rem;
    margin: 0;
}

.custom-modal .modal-body {
    padding: 2rem;
    color: #495057;
    line-height: 1.6;
}

.custom-modal .modal-footer {
    border-top: 1px solid #e9ecef;
    padding: 1.5rem 2rem;
    background: #f8f9fa;
}

.custom-modal .btn-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.custom-modal .btn-close:hover {
    opacity: 1;
    transform: rotate(90deg);
}

/* Custom Alert Styles */
.custom-alert {
    border: none;
    border-radius: 15px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    animation: slideInUp 0.4s ease;
}

.custom-alert-success {
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    color: #155724;
    border-left: 4px solid #28a745;
}

.custom-alert-danger {
    background: linear-gradient(135deg, #f8d7da 0%, #f5c6cb 100%);
    color: #721c24;
    border-left: 4px solid #dc3545;
}

.custom-alert-warning {
    background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
    color: #856404;
    border-left: 4px solid #ffc107;
}

.custom-alert-info {
    background: linear-gradient(135deg, #d1ecf1 0%, #bee5eb 100%);
    color: #0c5460;
    border-left: 4px solid #17a2b8;
}

/* Custom Notification Toast */
.custom-toast {
    position: fixed;
    top: 20px;
    right: 20px;
    max-width: 350px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    padding: 1.25rem;
    z-index: 10000;
    animation: slideInRight 0.4s ease;
    border-left: 4px solid #4e73df;
}

.custom-toast-success {
    border-left-color: #28a745;
}

.custom-toast-error {
    border-left-color: #dc3545;
}

.custom-toast-warning {
    border-left-color: #ffc107;
}

.custom-toast-info {
    border-left-color: #17a2b8;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

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

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

@keyframes livePulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.7;
        transform: scale(1.1);
    }
}

.live-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #10b981;
    display: inline-block;
    margin-left: 8px;
    animation: livePulse 2s infinite;
    box-shadow: 0 0 8px rgba(16, 185, 129, 0.5);
}

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

/* Promote Listing Options */
.promote-option {
    border-bottom: 1px solid #e5e7eb;
    padding-bottom: 0.5rem;
}

.promote-option:last-child {
    border-bottom: none;
}

.promote-stats {
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid #e5e7eb;
}

.job-title {
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.job-meta {
    color: #6c757d;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.role-badge {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* Enhanced Job Action Buttons */
.apply-job-btn,
.save-job-btn,
.share-job-btn {
    padding: 0.75rem 1.25rem !important;
    font-weight: 600 !important;
    font-size: 0.9rem !important;
    border-radius: 8px !important;
    transition: all 0.3s ease !important;
    position: relative !important;
    overflow: hidden !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    min-width: 120px !important;
    margin: 0.25rem !important;
}

/* Admin Panel Dropdown Fixes */
.admin-action-buttons .dropdown {
    position: relative;
}

.admin-action-buttons .dropdown-menu {
    position: absolute !important;
    z-index: 99999 !important;
    min-width: 150px;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    padding: 0.5rem 0;
    margin-top: 0.25rem;
    display: none;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.2s ease;
}

.admin-action-buttons .dropdown-item {
    padding: 0.5rem 1rem;
    border: none;
    background: transparent;
    color: #374151;
    text-decoration: none;
    display: block;
    width: 100%;
    text-align: left;
    transition: all 0.2s ease;
}

.admin-action-buttons .dropdown-item:hover {
    background-color: #f3f4f6;
    color: #1f2937;
}

.admin-action-buttons .dropdown-item.active {
    background-color: #3b82f6;
    color: white;
}

/* Fix table overflow for dropdowns */
.table-responsive {
    overflow: visible !important;
}

/* Ensure dropdowns appear above other content */
.dropdown-menu.show {
    display: block !important;
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* Fix table container to allow dropdowns */
.table-responsive {
    overflow: visible !important;
}

.card-body {
    overflow: visible !important;
}

/* Additional fixes for dropdown visibility */
.dropdown {
    position: relative !important;
}

.dropdown-toggle::after {
    margin-left: 0.5rem;
}

/* Job management button consistency */
.btn-group .btn {
    border-radius: 6px !important;
    margin: 0 2px;
}

.btn-group .btn:first-child {
    margin-left: 0;
}

.btn-group .btn:last-child {
    margin-right: 0;
}

/* Enhanced Apply Button for Job Listings */
.apply-job-btn-enhanced {
    background: linear-gradient(135deg, #2563eb, #3b82f6) !important;
    border: none !important;
    color: white !important;
    font-weight: 600 !important;
    font-size: 1.1rem !important;
    letter-spacing: 0.3px !important;
    padding: 0.875rem 1.75rem !important;
    border-radius: 8px !important;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3) !important;
    position: relative !important;
    overflow: hidden !important;
    transition: all 0.3s ease !important;
    min-width: 180px !important;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.apply-job-btn-enhanced::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transition: left 0.6s ease;
    z-index: 1;
}

.apply-job-btn-enhanced:hover::before {
    left: 100%;
}

.apply-job-btn-enhanced i,
.apply-job-btn-enhanced span {
    position: relative;
    z-index: 2;
}

.apply-job-btn-enhanced:hover {
    background: linear-gradient(135deg, #1d4ed8, #1d4ed8) !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 10px 30px rgba(30, 58, 138, 0.5) !important;
    color: white !important;
    text-decoration: none !important;
}

.apply-job-btn-enhanced:focus {
    color: white !important;
    text-decoration: none !important;
    box-shadow: 0 0 0 0.2rem rgba(30, 58, 138, 0.25) !important;
}

/* Custom Themed Delete Button Styling */
.btn-danger-themed, .custom-delete-job-btn {
    background: linear-gradient(135deg, #dc2626, #b91c1c) !important;
    border: none !important;
    color: white !important;
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 2px 10px rgba(220, 38, 38, 0.3) !important;
    border-radius: 6px !important;
    padding: 0.375rem 0.75rem !important;
    position: relative !important;
    overflow: hidden !important;
}

.btn-danger-themed:hover, .custom-delete-job-btn:hover {
    background: linear-gradient(135deg, #b91c1c, #991b1d) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 15px rgba(220, 38, 38, 0.4) !important;
    color: white !important;
}

.btn-danger-themed:focus, .custom-delete-job-btn:focus {
    background: linear-gradient(135deg, #b91c1c, #991b1d) !important;
    box-shadow: 0 0 0 0.2rem rgba(220, 38, 38, 0.25), 0 4px 15px rgba(220, 38, 38, 0.4) !important;
    color: white !important;
    outline: none !important;
}

.btn-danger-themed:active, .custom-delete-job-btn:active {
    background: linear-gradient(135deg, #991b1d, #7f1d1d) !important;
    transform: translateY(0) !important;
    box-shadow: 0 2px 8px rgba(220, 38, 38, 0.4) !important;
    color: white !important;
}

/* Delete button icon styling */
.custom-delete-job-btn i {
    transition: transform 0.2s ease !important;
}

.custom-delete-job-btn:hover i {
    transform: scale(1.1) !important;
}

/* Custom Delete Confirmation Modal Styles */
.custom-delete-confirmation-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    backdrop-filter: blur(5px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.custom-delete-modal-content {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
    transform: scale(0.9);
    transition: transform 0.3s ease;
    text-align: center;
    position: relative;
}

.custom-delete-modal-content .modal-header h4 {
    color: #dc2626;
    margin-bottom: 0;
}

.custom-delete-modal-content .modal-body p {
    font-size: 1.1rem;
    color: #374151;
}

.custom-delete-modal-content .job-info-preview {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 8px;
    margin: 1rem 0;
}

.custom-delete-modal-content .job-info-preview strong {
    color: #1e3a8a;
}

.btn-primary-themed {
    background: #1e3a8a;
    border: none;
    color: white;
    padding: 0.75rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(30, 58, 138, 0.3);
}

.btn-primary-themed:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(30, 58, 138, 0.4);
    color: white;
}

.btn-secondary-themed {
    background: #6b7280;
    border: none;
    color: white;
    padding: 0.75rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(107, 114, 128, 0.3);
}

.btn-secondary-themed:hover {
    background: #4b5563;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(107, 114, 128, 0.4);
    color: white;
}

.apply-job-btn {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color)) !important;
    border: none !important;
    color: white !important;
    box-shadow: 0 4px 15px rgba(30, 58, 138, 0.3) !important;
}

.apply-job-btn:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(30, 58, 138, 0.4) !important;
    background: linear-gradient(135deg, #1d4ed8, #1d4ed8) !important;
    color: white !important;
}

.save-job-btn {
    background: rgba(107, 114, 128, 0.1) !important;
    border: 2px solid #6b7280 !important;
    color: #6b7280 !important;
}

.save-job-btn:hover {
    background: #6b7280 !important;
    border-color: #6b7280 !important;
    color: white !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(107, 114, 128, 0.3) !important;
}

.share-job-btn {
    background: rgba(59, 130, 246, 0.1) !important;
    border: 2px solid var(--secondary-color) !important;
    color: var(--secondary-color) !important;
}

.share-job-btn:hover {
    background: var(--secondary-color) !important;
    border-color: var(--secondary-color) !important;
    color: white !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.3) !important;
}

/* Gradient backgrounds for performance cards */
.bg-gradient-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
}

.bg-gradient-success {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%) !important;
}

.bg-gradient-info {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%) !important;
}

/* Button animations */
.apply-job-btn::before,
.save-job-btn::before,
.share-job-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transition: left 0.5s;
    z-index: 1;
}

.apply-job-btn:hover::before,
.save-job-btn:hover::before,
.share-job-btn:hover::before {
    left: 100%;
}

.apply-job-btn i,
.save-job-btn i,
.share-job-btn i,
.apply-job-btn span,
.save-job-btn span,
.share-job-btn span {
    position: relative;
    z-index: 2;
}

/* Mobile responsiveness for action buttons */
@media (max-width: 768px) {
    .apply-job-btn,
    .save-job-btn,
    .share-job-btn {
        min-width: 100px !important;
        padding: 0.6rem 1rem !important;
        font-size: 0.8rem !important;
        margin: 0.2rem !important;
    }

    .btn-group {
        flex-wrap: wrap !important;
        gap: 0.25rem !important;
    }
}

@media (max-width: 576px) {
    .apply-job-btn,
    .save-job-btn,
    .share-job-btn {
        width: 100% !important;
        margin: 0.25rem 0 !important;
    }

    .btn-group {
        flex-direction: column !important;
        width: 100% !important;
    }
}

/* Plan badges */
.plan-badge {
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    display: inline-block;
}

.plan-free {
    background-color: #ecf0f1;
    color: #2c3e50;
    border: 1px solid #bdc3c7;
}

.plan-pro {
    background-color: var(--primary-color);
    color: var(--white);
    border: 1px solid var(--primary-color);
}

.plan-elite {
    background-color: var(--action-color);
    color: var(--white);
    border: 1px solid var(--action-color);
}

.plan-verified {
    background-color: var(--success);
    color: var(--white);
    border: 1px solid var(--success);
}

/* Role badges */
.role-badge {
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 0.25rem 0.6rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: capitalize;
    display: inline-block;
}

/* Admin action buttons */
.admin-action-buttons {
    gap: 0.25rem;
    flex-wrap: wrap;
}

.admin-action-buttons .dropdown-menu {
    z-index: 9999 !important;
    border: 1px solid #e5e7eb;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

.admin-action-buttons .dropdown-item {
    padding: 0.5rem 1rem;
    transition: all 0.2s ease;
}

.admin-action-buttons .dropdown-item:hover {
    background-color: #f8fafc;
    color: var(--primary-color);
}

.admin-action-buttons .dropdown-item.active {
    background-color: var(--primary-color);
    color: white;
}

/* Plan badge container for better display */
.plan-badge-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--dark-gray) 100%);
    color: var(--white);
    padding: 0;
    margin-top: 4rem;
    margin-bottom: 0;
    width: 100%;
    position: relative;

/* Centered Top Notification for Job Post Form - Fixed positioning and visibility */
.centered-top-notification {
    position: fixed !important;
    top: 80px !important;
    left: 50% !important;
    transform: translateX(-50%) translateY(-20px) !important;
    background: white !important;
    color: #1f2937 !important;
    padding: 16px 32px !important;
    border-radius: 12px !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3) !important;
    z-index: 99999 !important;
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    min-width: 400px !important;
    max-width: 90% !important;
    text-align: center !important;
    justify-content: center !important;
    opacity: 0 !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
    border: 2px solid !important;
    pointer-events: auto !important;
}

.centered-top-notification.error {
    background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%) !important;
    border-color: #dc2626 !important;
    color: #7f1d1d !important;
}

.centered-top-notification.success {
    background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%) !important;
    border-color: #059669 !important;
    color: #064e3b !important;
}

.centered-top-notification.info {
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%) !important;
    border-color: #3b82f6 !important;
    color: #1e40af !important;
}

.centered-top-notification i {
    font-size: 22px !important;
    flex-shrink: 0 !important;
}

.centered-top-notification.error i {
    color: #dc2626 !important;
}

.centered-top-notification.success i {
    color: #059669 !important;
}

.centered-top-notification.info i {
    color: #3b82f6 !important;
}

.centered-top-notification span {
    flex: 1 !important;
    line-height: 1.4 !important;
}

@media (max-width: 768px) {
    .centered-top-notification {
        min-width: 90% !important;
        max-width: 95% !important;
        padding: 14px 20px !important;
        font-size: 14px !important;
        top: 70px !important;
    }

    .centered-top-notification i {
        font-size: 18px !important;
    }
}

    z-index: 1;
}

/* Footer Wave Animation - Fixed positioning to prevent scroll artifacts */
.footer-wave {
    position: relative;
    top: 0;
    width: 100%;
    height: 60px;
    overflow: hidden;
    background: transparent;
    transform: translateZ(0); /* Force GPU acceleration to prevent visual glitches */
}

.footer-wave svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.footer-wave-svg {
    fill: var(--light-gray);
}

/* Footer Content */
.footer .container {
    padding: 3rem 0 1rem;
    position: relative;
    z-index: 2;
}

/* Footer Brand */
.footer-brand {
    padding-right: 1rem;
}

.footer-logo-container {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.footer-logo {
    filter: brightness(1.2) drop-shadow(0 2px 4px rgba(0,0,0,0.3));
    transition: transform 0.3s ease;
}

.footer-logo:hover {
    transform: scale(1.05);
}

.footer-brand-name {
    font-size: 1.5rem;
    font-weight: 700;
    margin-left: 0.75rem;
    color: var(--white);
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.footer-description {
    color: rgba(255,255,255,0.9);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

/* Footer Stats */
.footer-stats {
    background: rgba(255,255,255,0.05);
    border-radius: 8px;
    padding: 1.5rem;
    border: 1px solid rgba(255,255,255,0.1);
}

.stat-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.stat-label {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.8);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Footer Sections */
.footer-section {
    padding-left: 1rem;
}

.footer-title {
    color: var(--white);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--action-color);
    border-radius: 2px;
}

.footer-title i {
    color: var(--secondary-color);
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

/* Footer Links */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255,255,255,0.9);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    padding: 0.25rem 0;
}

.footer-links a:hover {
    color: var(--white);
    padding-left: 0.5rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.footer-links a i {
    color: var(--secondary-color);
    width: 16px;
    transition: transform 0.3s ease;
}

.footer-links a:hover i {
    transform: scale(1.1);
}

/* Footer Contact */
.footer-contact {
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
    padding: 0.75rem 0;
    transition: all 0.3s ease;
}

.contact-item:hover {
    opacity: 0.8;
}

.contact-icon {
    color: var(--secondary-color);
    font-size: 1.1rem;
    margin-right: 0.75rem;
    margin-top: 0.1rem;
    min-width: 20px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.contact-info {
    flex: 1;
}

.contact-label {
    display: block;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.7);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.25rem;
}

.contact-value {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
}

.contact-value:hover {
    color: var(--secondary-color);
}

/* Footer Social */
.footer-social {
    margin-top: 1.5rem;
}

.social-title {
    color: var(--white);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.social-links {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 8px;
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transition: left 0.6s ease;
    z-index: 1;
}

.social-link:hover::before {
    left: 100%;
}

.social-link i {
    position: relative;
    z-index: 2;
}

.social-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
    border-color: rgba(255,255,255,0.3);
}

.social-link.linkedin:hover {
    background: #0077b5;
    border-color: #0077b5;
}

.social-link.twitter:hover {
    background: #1da1f2;
    border-color: #1da1f2;
}

.social-link.facebook:hover {
    background: #1877f2;
    border-color: #1877f2;
}

.social-link.email:hover {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
}

.social-tooltip {
    position: absolute;
    bottom: 120%;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0,0,0,0.8);
    color: white;
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    font-size: 0.8rem;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.social-link:hover .social-tooltip {
    opacity: 1;
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.2);
    padding: 1.5rem 0;
    margin-top: 2rem;
    background: transparent;
}

.footer-copyright,
.footer-tagline {
    color: rgba(255,255,255,0.9);
    font-size: 0.9rem;
    margin: 0;
    text-align: center;
}

.footer-tagline {
    text-align: center;
    margin-top: 0.5rem;
}

@media (min-width: 768px) {
    .footer-copyright {
        text-align: left;
    }

    .footer-tagline {
        text-align: right;
        margin-top: 0;
    }
}

.footer-copyright i,
.footer-tagline i {
    color: var(--secondary-color);
}

/* Assistant Cards */
.assistant-card {
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    height: 100%;
}

.assistant-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.assistant-avatar {
    transition: all 0.3s ease;
}

.assistant-avatar img {
    border: 3px solid var(--action-color);
    transition: all 0.3s ease;
}

.assistant-card:hover .assistant-avatar img {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(37, 99, 235, 0.3);
}

.assistant-card .card-title {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.assistant-card .card-subtitle {
    font-size: 0.9rem;
    font-weight: 500;
}

.assistant-card .card-text {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-secondary);
}

/* Responsive Design */
@media (max-width: 768px) {
    .footer-wave {
        height: 40px;
    }

    .footer .container {
        padding: 2rem 0 1rem;
    }

    .footer-brand {
        padding-right: 0;
        margin-bottom: 2rem;
    }

    .footer-section {
        padding-left: 0;
        margin-bottom: 2rem;
    }

    .footer-stats {
        margin-bottom: 1rem;
    }

    .social-links {
        justify-content: center;
    }
}

/* Comprehensive fix for white space after footer */
html {
    height: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow-x: hidden;
}

body {
    min-height: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
    overflow-x: hidden;
    display: flex !important;
    flex-direction: column !important;
}

/* Main content should take remaining space */
main {
    flex: 1 !important;
}

/* Footer should stick to bottom with no space */
.footer {
    margin-top: auto !important;
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
    position: relative !important;
    bottom: 0 !important;
    width: 100% !important;
    flex-shrink: 0 !important;
}

.footer .container {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

.footer .footer-bottom {
    margin-bottom: 0 !important;
    padding-bottom: 1.5rem !important;
}

.footer .row:last-child {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

/* Ensure no pseudo-elements create space */
.footer::after,
.footer .container::after,
.footer .footer-bottom::after,
body::after,
html::after {
    display: none !important;
    content: none !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Remove any default browser margins/padding */
* {
    box-sizing: border-box !important;
}

/* Force immediate children of body to not have bottom margins */
body > * {
    margin-bottom: 0 !important;
}

body > *:last-child {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

/* Secure Messaging Platform Styles */
.messaging-container {
    min-height: calc(100vh - 120px) !important;
    background: #f8f9fa !important;
    border-radius: 12px !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1) !important;
    overflow: hidden !important;
    margin: 20px 0 !important;
    display: flex !important;
}

.conversations-panel {
    width: 320px !important;
    background: white !important;
    border-right: 1px solid #e9ecef !important;
    display: flex !important;
    flex-direction: column !important;
}

.chat-panel {
    flex: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    background: #fff !important;
}

.conversations-header {
    padding: 20px !important;
    border-bottom: 1px solid #e9ecef !important;
    background: linear-gradient(135deg, #007bff, #0056b3) !important;
    color: white !important;
}

.chat-header {
    padding: 20px !important;
    background: linear-gradient(135deg, #28a745, #1e7e34) !important;
    color: white !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
}

.chat-messages {
    flex: 1 !important;
    overflow-y: auto !important;
    padding: 20px !important;
    background: #f8f9fa !important;
    min-height: 400px !important;
}

.chat-input-area {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%) !important;
    border-top: 2px solid #e9ecef !important;
    padding: 25px 30px !important;
    box-shadow: 0 -4px 15px rgba(0,0,0,0.05) !important;
}

.message-input {
    flex: 1 !important;
    min-height: 50px !important;
    max-height: 120px !important;
    border: 2px solid #e9ecef !important;
    border-radius: 25px !important;
    padding: 15px 25px !important;
    resize: none !important;
    font-family: inherit !important;
    font-size: 15px !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05) !important;
}

.send-btn {
    width: 44px !important;
    height: 44px !important;
    border-radius: 50% !important;
    background: linear-gradient(135deg, #007bff, #0056b3) !important;
    color: white !important;
    border: none !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.3s ease !important;
    font-size: 16px !important;
}

.tool-btn {
    padding: 8px 16px !important;
    font-size: 12px !important;
    border: 1px solid #e9ecef !important;
    background: white !important;
    color: #666 !important;
    border-radius: 20px !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    margin-right: 8px !important;
    margin-bottom: 8px !important;
}

.tool-btn:hover {
    background: #007bff !important;
    color: white !important;
    border-color: #007bff !important;
}

.input-container {
    display: flex !important;
    align-items: flex-end !important;
    gap: 12px !important;
}

/* Responsive fixes for messaging */
@media (max-width: 768px) {
    .messaging-container {
        flex-direction: column !important;
        margin: 10px 0 !important;
        height: calc(100vh - 80px) !important;
    }

    .conversations-panel {
        width: 100% !important;
        height: 200px !important;
        border-right: none !important;
        border-bottom: 1px solid #e9ecef !important;
    }

    .chat-input-area {
        padding: 15px !important;
    }

    .message-input {
        min-height: 40px !important;
        padding: 10px 15px !important;
    }

    .send-btn {
        width: 40px !important;
        height: 40px !important;
        font-size: 14px !important;
    }

    .tool-btn {
        display: none !important;
    }
}

/* Remove space from Bootstrap grid system at bottom */
.footer .row {
    margin-bottom: 0 !important;
}

.footer .col-lg-4,
.footer .col-lg-2,
.footer .col-md-6 {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

/* Remove Bootstrap container margins at bottom */
.container:last-child,
.container-fluid:last-child {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

/* Ensure no viewport height issues */
html, body {
    max-height: 100vh !important;
}

/* Override any Bootstrap defaults that might add space */
.row:last-child,
.col:last-child,
div:last-child {
    margin-bottom: 0 !important;
}

/* Ensure footer wave doesn't create space */
.footer-wave {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

/* Alerts */
.alert {
    border: none;
    border-radius: 8px;
    padding: 1rem 1.5rem;
    margin-bottom: 1.5rem;
}

.alert-success {
    background-color: rgba(39, 174, 96, 0.1);
    color: #27ae60;
    border-left: 4px solid #27ae60;
}

.alert-danger {
    background-color: rgba(231, 76, 60, 0.1);
    color: #e74c3c;
    border-left: 4px solid #e74c3c;
}

.alert-info {
    background-color: rgba(52, 152, 219, 0.1);
    color: #3498db;
    border-left: 4px solid #3498db;
}

.alert-warning {
    background-color: rgba(243, 156, 18, 0.1);
    color: #f39c12;
    border-left: 4px solid #f39c12;
}

/* Admin Panel */
.admin-sidebar {
    background-color: var(--primary-color);
    min-height: 100vh;
    padding: 2rem 0;
}

.admin-sidebar .nav-link {
    color: var(--white);
    padding: 1rem 1.5rem;
    border-radius: 0;
    transition: background-color 0.3s ease;
}

.admin-sidebar .nav-link:hover,
.admin-sidebar .nav-link.active {
    background-color: rgba(255,255,255,0.1);
    color: var(--white);
}

.admin-content {
    padding: 2rem;
}

/* Metric Cards */
.metric-card {
    padding: 1rem;
    text-align: center;
    border-right: 1px solid #e9ecef;
}

.metric-card:last-child {
    border-right: none;
}

.metric-card h4 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.metric-card p {
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

.metric-card small {
    font-size: 0.8rem;
}

/* Tables */
.table {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.table thead th {
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    font-weight: 600;
    padding: 1rem;
}

.table tbody td {
    padding: 1rem;
    border-color: var(--accent-color);
    vertical-align: middle;
}

.table tbody tr:hover {
    background-color: rgba(0,76,153,0.05);
}

/* Laptop View Fixes */
@media (min-width: 992px) and (max-width: 1400px) {
    .hero-actions {
        margin-top: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .hero-btn-primary, .hero-btn-secondary {
        padding: 0.875rem 1.75rem;
        font-size: 1rem;
    }

    .hero-section .row {
        padding: 20px 0 10px 0;
    }

    .hero-section {
        min-height: 70vh;
        padding: 1rem 0 1rem 0;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .navbar-logo {
        height: 38px !important;
    }

    .navbar-brand span {
        font-size: 1.2rem !important;
    }

    .hero-title {
        font-size: 2.5rem;
        line-height: 1.2;
    }

    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
    }

    .hero-btn-primary, .hero-btn-secondary {
        width: 100%;
        justify-content: center;
    }

    /* Hide hero illustration on mobile */
    .hero-illustration {
        display: none !important;
    }

    /* Make hero content full width on mobile */
    .hero-section .col-lg-6:first-child {
        max-width: 100%;
        flex: 0 0 100%;
    }

    /* Mobile stats section improvements */
    .stats-section {
        padding: 3rem 0;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .stat-item {
        padding: 1.5rem;
    }

    .stat-item .number {
        font-size: 2rem;
        margin-bottom: 0.5rem;
    }

    .stat-item .label {
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .navbar-logo {
        height: 35px !important;
    }

    .navbar-brand span {
        font-size: 1.1rem !important;
    }

    .hero-section {
        padding: 15px 0;
        min-height: 75vh;
    }

    .hero-title {
        font-size: 2rem;
        margin-bottom: 0.8rem;
        line-height: 1.2;
    }

    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 0.8rem;
    }

    .hero-description {
        font-size: 0.95rem;
        margin-bottom: 1.2rem;
        line-height: 1.5;
    }

    .hero-badge {
        padding: 0.5rem 1.2rem;
        font-size: 0.75rem;
        margin-bottom: 1.5rem;
    }

    .hero-stats {
        padding: 1rem;
        margin-bottom: 1.5rem;
    }

    .hero-stat strong {
        font-size: 1.4rem;
    }

    .hero-stat small {
        font-size: 0.75rem;
    }

    .hero-actions {
        margin-top: 1rem;
        margin-bottom: 1rem;
        width: 100%;
        display: flex;
        gap: 0.8rem;
        flex-direction: column;
        align-items: stretch;
    }

    .hero-btn-primary, .hero-btn-secondary {
        padding: 0.7rem 1.2rem;
        font-size: 0.9rem;
        letter-spacing: 0.3px;
        width: 100%;
        max-width: none;
        text-align: center;
        border-radius: 8px;
    }

    .navbar-brand {
        font-size: 1.5rem;
    }

    .card {
        margin-bottom: 1rem;
    }

    .icon-float {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }

    .illustration-container {
        max-width: 320px;
        margin-top: 1.5rem;
    }

    .container {
        padding-left: 15px;
        padding-right: 15px;
    }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--accent-color);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #003d7a;
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255,255,255,.3);
    border-radius: 50%;
    border-top-color: var(--white);
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Section Headers */
.section-header {
    margin-bottom: 3rem;
}

.section-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--secondary-color), var(--tertiary-color));
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #4a5568;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Features Section */
.features-section {
    position: relative;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.features-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 200"><defs><pattern id="grid" width="40" height="40" patternUnits="userSpaceOnUse"><path d="M 40 0 L 0 0 0 40" fill="none" stroke="%23e0e0e0" stroke-width="1" opacity="0.3"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
    pointer-events: none;
    opacity: 0.3;
}

.feature-card {
    position: relative;
    height: 100%;
    perspective: 1000px;
}

.feature-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border: 1px solid rgba(0,0,0,0.05);
    transform-style: preserve-3d;
}

.feature-card:hover .feature-card-inner {
    transform: translateY(-10px) rotateX(5deg);
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}

.feature-icon-wrapper {
    position: relative;
    margin-bottom: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.feature-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

.feature-icon-1 { background: linear-gradient(135deg, #3b82f6, #6366f1); }
.feature-icon-2 { background: linear-gradient(135deg, #6366f1, #8b5cf6); }
.feature-icon-3 { background: linear-gradient(135deg, #10b981, #059669); }
.feature-icon-4 { background: linear-gradient(135deg, #f59e0b, #d97706); }
.feature-icon-5 { background: linear-gradient(135deg, #ef4444, #dc2626); }
.feature-icon-6 { background: linear-gradient(135deg, #3b82f6, #1d4ed8); }

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

.feature-bg-pattern {
    position: absolute;
    top: -20px;
    left: -20px;
    width: 120px;
    height: 120px;
    z-index: 1;
}

.feature-pattern {
    width: 100%;
    height: 100%;
    opacity: 0.2;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-pattern {
    opacity: 0.4;
    transform: rotate(10deg) scale(1.1);
}

.feature-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark-gray);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.feature-description {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

/* Feature link hidden as not used */
.feature-link {
    display: none;
}

/* Stats Cards */
.stats-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 50%, var(--tertiary-color) 100%);
    position: relative;
    overflow: hidden;
    padding: 3rem 0 !important;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2" fill="white" opacity="0.1"><animate attributeName="opacity" values="0.1;0.3;0.1" dur="4s" repeatCount="indefinite"/></circle><circle cx="80" cy="30" r="1.5" fill="white" opacity="0.15"><animate attributeName="opacity" values="0.15;0.4;0.15" dur="6s" repeatCount="indefinite"/></circle><circle cx="60" cy="70" r="1" fill="white" opacity="0.2"><animate attributeName="opacity" values="0.2;0.5;0.2" dur="3s" repeatCount="indefinite"/></circle></svg>');
    pointer-events: none;
}

.stats-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    z-index: 1;
}

.stats-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.stats-icon {
    font-size: 2.5rem;
    color: var(--white);
    margin-bottom: 1rem;
    opacity: 0.9;
}

.stats-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.5rem;
    font-family: 'Segoe UI', sans-serif;
}

.stats-label {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    font-weight: 500;
    margin: 0;
}

.number.animating {
    color: var(--tertiary-color);
    transform: scale(1.05);
    transition: all 0.3s ease;
}

.number.animated {
    color: white;
    transform: scale(1);
    transition: all 0.3s ease;
}
@media (max-width: 768px) {
    .hero-section {
        padding: 8rem 0 6rem;
        text-align: center;
    }

    .hero-content h1 {
        font-size: 2.5rem;
        line-height: 1.2;
    }

    .hero-content p {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
    }

    .hero-btn-primary, .hero-btn-secondary {
        width: 100%;
        justify-content: center;
    }

    /* Mobile stats section improvements */
    .stats-section {
        padding: 3rem 0;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .stat-item {
        padding: 1.5rem;
    }

    .stat-item .number {
        font-size: 2rem;
        margin-bottom: 0.5rem;
    }

    .stat-item .label {
        font-size: 0.9rem;
    }
}

/* Comprehensive fix for white space after footer */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    margin: 0 !important;
    padding: 0 !important;
    height: 100%;
    min-height: 100%;
}

body {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

.footer {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

/* Remove any pseudo elements that might create space */
*::before, *::after {
    box-sizing: border-box;
}

/* Ensure nothing appears after body close */
body > *:last-child {
    margin-bottom: 0 !important;
}

/* Override Bootstrap margins that might add space */
.container-fluid:last-child,
.container:last-child,
.row:last-child,
.col:last-child {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

/* COMPREHENSIVE FOOTER FIX - No white space after footer */
html {
    height: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--dark-gray) 100%) !important;
}

body {
    height: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    background: var(--light-gray) !important;
    display: flex !important;
    flex-direction: column !important;
    min-height: 100vh !important;
}

main {
    flex: 1 !important;
}

.footer {
    flex-shrink: 0 !important;
    margin-top: auto !important;
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
    position: relative !important;
    bottom: 0 !important;
    width: 100% !important;
}

/* Force HTML background to match footer gradient */
html {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--dark-gray) 100%) !important;
}

/* Fixed: Remove problematic pseudo-element that caused scroll line artifacts */

/* Job Promotion System */
.promoted-job {
    border: 2px solid #fbbf24 !important;
    box-shadow: 0 8px 25px rgba(251, 191, 36, 0.2) !important;
    position: relative;
    background: linear-gradient(135deg, #fffbeb 0%, #ffffff 100%) !important;
}

.promoted-badge {
    position: absolute;
    top: -8px;
    right: 15px;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
    z-index: 10;
}

.promoted-job .card-title {
    color: #92400e !important;
}

.promoted-job:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(251, 191, 36, 0.3) !important;
    transition: all 0.3s ease;
}

/* Enhanced Live Notifications System */
.notifications-list {
    max-height: 400px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #cbd5e0 #f7fafc;
}

.notifications-list::-webkit-scrollbar {
    width: 6px;
}

.notifications-list::-webkit-scrollbar-track {
    background: #f7fafc;
    border-radius: 3px;
}

.notifications-list::-webkit-scrollbar-thumb {
    background: #cbd5e0;
    border-radius: 3px;
}

.notifications-list::-webkit-scrollbar-thumb:hover {
    background: #a0aec0;
}

.notification-header {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-bottom: 2px solid #e2e8f0;
    position: sticky;
    top: 0;
    z-index: 10;
}

.notification-actions {
    display: flex;
    gap: 4px;
}

.notification-actions .btn {
    padding: 4px 8px;
    font-size: 0.75rem;
    border-radius: 6px;
}

.notification-item {
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    margin-bottom: 12px;
    background: white;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.notification-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(147, 51, 234, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.notification-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border-color: #3b82f6;
}

.notification-item:hover::before {
    opacity: 1;
}

.notification-item.unread {
    background: linear-gradient(135deg, #dbeafe 0%, #ede9fe 100%);
    border-left: 4px solid #3b82f6;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.2);
}

.notification-item.unread .notification-icon {
    animation: pulse 2s infinite;
}

.notification-item.border-danger {
    border-left: 4px solid #ef4444;
    background: linear-gradient(135deg, #fef2f2 0%, #fde8e8 100%);
}

.notification-item.border-warning {
    border-left: 4px solid #f59e0b;
    background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
}

.notification-item.border-info {
    border-left: 4px solid #06b6d4;
    background: linear-gradient(135deg, #ecfeff 0%, #cffafe 100%);
}

.notification-icon {
    font-size: 1.4rem;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 50%;
    position: relative;
    z-index: 1;
}

.notification-icon.pulse {
    animation: notificationPulse 2s infinite;
}

.notification-title {
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 4px;
    font-size: 0.95rem;
    line-height: 1.3;
}

.notification-message {
    color: #4b5563;
    font-size: 0.875rem;
    line-height: 1.5;
    margin-bottom: 8px;
}

.notification-time {
    font-size: 0.75rem;
    color: #9ca3af;
}

.notification-meta {
    display: flex;
    align-items: center;
    gap: 8px;
}

.notification-meta .badge {
    font-size: 0.65rem;
    padding: 2px 6px;
    border-radius: 8px;
    font-weight: 600;
}

.notification-meta .btn-link {
    color: #9ca3af;
    font-size: 0.75rem;
    text-decoration: none;
    transition: color 0.2s ease;
}

.notification-meta .btn-link:hover {
    color: #ef4444;
}

.urgent-indicator {
    width: 8px;
    height: 8px;
    background: #dc3545;
    border-radius: 50%;
    animation: pulse 1.5s infinite;
}

.notification-controls {
    display: flex;
    gap: 8px;
    align-items: center;
}

/* Toast Notification Enhancements */
.toast-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    z-index: 10000;
    max-width: 380px;
    min-width: 300px;
    border: 1px solid #e5e7eb;
    backdrop-filter: blur(10px);
    transform: translateX(100%);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.toast-notification.show {
    transform: translateX(0);
}

.toast-notification.toast-success {
    border-left: 4px solid #10b981;
    background: linear-gradient(135deg, #ecfdf5 0%, #f0fdf4 100%);
}

.toast-notification.toast-error {
    border-left: 4px solid #ef4444;
    background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
}

.toast-notification.toast-warning {
    border-left: 4px solid #f59e0b;
    background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
}

.toast-notification.toast-info {
    border-left: 4px solid #3b82f6;
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
}

.toast-content {
    display: flex;
    align-items: center;
    font-weight: 500;
    color: #1f2937;
    font-size: 0.875rem;
}

/* Keyframe Animations */
@keyframes notificationPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(100%);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideOutRight {
    from {
        opacity: 1;
        transform: translateX(0);
    }
    to {
        opacity: 0;
        transform: translateX(100%);
    }
}

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

/* Notification Badge Enhancement */
.notification-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #ef4444;
    color: white;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 600;
    animation: bounce 1s infinite;
    z-index: 1000;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-5px);
    }
    60% {
        transform: translateY(-3px);
    }
}

/* Live Indicator Enhancement */
.live-indicator {
    display: inline-block;
    width: 10px;
    height: 10px;
    background: #10b981;
    border-radius: 50%;
    position: relative;
    animation: livePulse 2s infinite;
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4);
}

@keyframes livePulse {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 10px rgba(16, 185, 129, 0);
    }
    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
    }
}

/* Live Job Alerts Enhancement */
.live-job-alert {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 12px;
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.25);
    border: none;
    animation: slideInAlert 0.5s ease;
}

.live-job-alert .alert-content {
    display: flex;
    align-items: center;
    gap: 12px;
}

.live-job-alert .alert-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.live-job-alert .alert-body h6 {
    margin: 0 0 4px 0;
    font-weight: 600;
}

.live-job-alert .alert-body p {
    margin: 0;
    opacity: 0.9;
    font-size: 14px;
}

/* Animations */
@keyframes slideInNotification {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInAlert {
    from {
        opacity: 0;
        transform: translateX(100%);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: translateY(-50%) scale(1);
    }
    50% {
        opacity: 0.7;
        transform: translateY(-50%) scale(1.2);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-5px);
    }
    60% {
        transform: translateY(-3px);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .live-notifications-container {
        width: calc(100vw - 40px);
        right: 20px;
    }

    .notification-badge {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 18px;
    }
}

.notification-icon {
    font-size: 20px;
    margin-right: 12px;
    min-width: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2px;
}

.notification-body {
    flex-grow: 1;
}

.notification-title {
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 4px;
    color: var(--dark-gray);
}

.notification-message {
    font-size: 13px;
    line-height: 1.4;
    color: #6b7280;
    margin-bottom: 8px;
}

.notification-close {
    background: none;
    border: none;
    color: #9ca3af;
    font-size: 14px;
    cursor: pointer;
    padding: 4px;
    border-radius: 50%;
    transition: all 0.2s ease;
    position: absolute;
    top: 8px;
    right: 8px;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.notification-close:hover {
    color: var(--dark-gray);
    background-color: #f3f4f6;
}

/* Notification Types */
.notification-success {
    border-left-color: var(--success);
}

.notification-success .notification-icon {
    color: var(--success);
}

.notification-error {
    border-left-color: var(--danger);
}

.notification-error .notification-icon {
    color: var(--danger);
}

.notification-warning {
    border-left-color: var(--warning);
}

.notification-warning .notification-icon {
    color: var(--warning);
}

.notification-info {
    border-left-color: var(--secondary-color);
}

.notification-info .notification-icon {
    color: var(--secondary-color);
}

.notification-promotion {
    border-left-color: #f59e0b;
    background: linear-gradient(135deg, #fffbeb 0%, #ffffff 100%);
}

.notification-promotion .notification-icon {
    color: #f59e0b;
}

/* Custom NavilinkGlobal Flash Messages */
.flash-messages-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    max-width: 400px;
}

.navilink-alert {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    margin-bottom: 15px;
    border-left: 4px solid var(--primary-color);
    border: 1px solid rgba(30, 58, 138, 0.1);
    position: relative;
    overflow: hidden;
    transform: translateX(120%);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.navilink-alert.fade-in {
    transform: translateX(0);
    opacity: 1;
}

.navilink-alert-content {
    display: flex;
    align-items: center;
    padding: 16px 20px;
    position: relative;
}

.navilink-alert-icon {
    font-size: 20px;
    margin-right: 12px;
    min-width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(59, 130, 246, 0.1);
}

.navilink-alert-message {
    flex-grow: 1;
    font-weight: 600;
    font-size: 14px;
    line-height: 1.4;
    color: #1f2937;
}

.navilink-alert-close {
    background: rgba(107, 114, 128, 0.1);
    border: none;
    color: #6b7280;
    font-size: 18px;
    cursor: pointer;
    padding: 4px;
    margin-left: 12px;
    border-radius: 50%;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
}

.navilink-alert-close:hover {
    color: #374151;
    background-color: rgba(107, 114, 128, 0.2);
    transform: rotate(90deg);
}

.navilink-alert-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    animation: progressBar 5s linear forwards;
}

/* Alert Type Styles - Enhanced with gradients */
.navilink-alert-success {
    border-left: 4px solid var(--success);
    background: linear-gradient(135deg, #ecfdf5 0%, #ffffff 100%);
}

.navilink-alert-success .navilink-alert-icon {
    color: var(--success);
    background: rgba(5, 150, 105, 0.1);
}

.navilink-alert-success .navilink-alert-progress {
    background: linear-gradient(90deg, var(--success), #10b981);
}

.navilink-alert-error {
    border-left: 4px solid var(--danger);
    background: linear-gradient(135deg, #fef2f2 0%, #ffffff 100%);
}

.navilink-alert-error .navilink-alert-icon {
    color: var(--danger);
    background: rgba(220, 38, 38, 0.1);
}

.navilink-alert-error .navilink-alert-progress {
    background: linear-gradient(90deg, var(--danger), #ef4444);
}

.navilink-alert-warning {
    border-left: 4px solid var(--warning);
    background: linear-gradient(135deg, #fffbeb 0%, #ffffff 100%);
}

.navilink-alert-warning .navilink-alert-icon {
    color: var(--warning);
    background: rgba(217, 119, 6, 0.1);
}

.navilink-alert-warning .navilink-alert-progress {
    background: linear-gradient(90deg, var(--warning), #f59e0b);
}

.navilink-alert-info {
    border-left: 4px solid var(--secondary-color);
    background: linear-gradient(135deg, #eff6ff 0%, #ffffff 100%);
}

.navilink-alert-info .navilink-alert-icon {
    color: var(--secondary-color);
    background: rgba(59, 130, 246, 0.1);
}

.navilink-alert-info .navilink-alert-progress {
    background: linear-gradient(90deg, var(--secondary-color), var(--tertiary-color));
}

/* Progress Bar Animation */
@keyframes progressBar {
    from {
        width: 100%;
    }
    to {
        width: 0%;
    }
}

/* Alert Animations */
@keyframes slideInRight {
    from {
        transform: translateX(120%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.navilink-alert.slide-out {
    animation: slideOutRight 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards;
}

/* Mobile Flash Messages */
@media (max-width: 768px) {
    .flash-messages-container {
        top: 80px;
        right: 15px;
        left: 15px;
        max-width: none;
    }

    .navilink-alert-content {
        padding: 14px 16px;
    }

    .navilink-alert-message {
        font-size: 13px;
    }
}

/* Advanced Dashboard Analytics Styling */
.analytics-card {
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    border: none;
    border-radius: 12px;
}

.metric-box {
    text-align: center;
    padding: 1rem;
    background: #f8fafc;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.metric-value {
    font-size: 1.8rem;
    font-weight: 700;
    color: #1e3a8a;
    margin-bottom: 0.25rem;
}

.metric-label {
    font-size: 0.9rem;
    color: #64748b;
    margin-bottom: 0.5rem;
}

.metric-trend {
    font-size: 0.8rem;
    font-weight: 500;
}

.metric-trend.positive {
    color: #059669;
}

.metric-trend.negative {
    color: #dc2626;
}

.metric-trend.neutral {
    color: #6b7280;
}

.route-performance {
    margin-top: 1rem;
}

.route-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    padding: 0.75rem;
    background: #f1f5f9;
    border-radius: 8px;
}

.route-info {
    flex: 1;
    margin-right: 1rem;
}

.route-volume {
    display: block;
    font-size: 0.8rem;
    color: #64748b;
}

.route-bar {
    flex: 2;
    height: 8px;
    background: #e2e8f0;
    border-radius: 4px;
    margin-right: 1rem;
    overflow: hidden;
}

.route-progress {
    height: 100%;
    background: linear-gradient(90deg, #10b981, #059669);
    border-radius: 4px;
    transition: width 0.3s ease;
}

.route-score {
    font-weight: 600;
    color: #1e3a8a;
    min-width: 40px;
    text-align: right;
}

/* Quick Actions Grid */
.quick-actions-card {
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    border: none;
    border-radius: 12px;
}

.action-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.action-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1rem 0.5rem;
    text-decoration: none;
    color: #374151;
    background: #f8fafc;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
}

.action-item:hover {
    color: #1e3a8a;
    background: #eff6ff;
    border-color: #3b82f6;
    transform: translateY(-2px);
    text-decoration: none;
}

.action-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    color: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.action-label {
    font-size: 0.8rem;
    font-weight: 500;
    text-align: center;
    line-height: 1.2;
}

.stat-trend {
    margin-top: 0.5rem;
}

/* Responsive Design for Action Grid */
@media (max-width: 768px) {
    .action-grid {
        grid-template-columns: 1fr;
    }

    .action-item {
        flex-direction: row;
        text-align: left;
        padding: 0.75rem;
    }

    .action-icon {
        width: 40px;
        height: 40px;
        margin-right: 0.75rem;
        margin-bottom: 0;
    }

    .action-label {
        text-align: left;
    }
}

/* Enhanced Dashboard Stats */
.dashboard-stat {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    border: 1px solid #e5e7eb;
    text-align: center;
    height: 100%;
    transition: all 0.3s ease;
}

.dashboard-stat:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.dashboard-stat h3 {
    font-size: 2.2rem;
    font-weight: 700;
    color: #1e3a8a;
    margin-bottom: 0.5rem;
}

.dashboard-stat p {
    color: #6b7280;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

/* Live Notifications System CSS - Enhanced */
.notification-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #ef4444;
    color: white;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 600;
    animation: bounce 1s infinite;
    z-index: 1000;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* Live Notification Popup */
.live-notification-popup {
    position: fixed;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: white;
    padding: 16px 20px;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(59, 130, 246, 0.4);
    z-index: 9999;
    max-width: 350px;
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.4s ease;
    cursor: pointer;
}

/* Notification Items */
.notifications-list {
    max-height: 400px;
    overflow-y: auto;
    padding: 8px;
}

.notification-item {
    padding: 16px;
    border-bottom: 1px solid #e9ecef;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 8px;
    margin-bottom: 8px;
    background: white;
    border: 1px solid #e5e7eb;
    position: relative;
    overflow: hidden;
}

.notification-item {
    position: relative;
    padding: 16px;
    margin-bottom: 12px;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    transition: all 0.2s ease;
    cursor: pointer;
}

.notification-item:hover {
    border-color: #3b82f6;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.15);
}

.notification-item .notification-content {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    width: 100%;
}

.notification-item .notification-icon {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    border-radius: 8px;
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
    margin-top: 2px;
}

.notification-item .notification-body {
    flex-grow: 1;
    min-width: 0;
    width: 100%;
    padding-right: 40px; /* Space for action buttons */
}

.notification-item .notification-body h6 {
    margin: 0 0 6px 0;
    font-size: 15px;
    font-weight: 600;
    color: #1f2937;
    line-height: 1.4;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.notification-item .notification-body p {
    margin: 0 0 8px 0;
    font-size: 14px;
    color: #4b5563;
    line-height: 1.5;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.notification-item .notification-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 8px;
    gap: 8px;
}

.notification-item .notification-time {
    font-size: 12px;
    color: #6b7280;
    white-space: nowrap;
}

.notification-item .notification-actions {
    position: absolute;
    top: 12px;
    right: 12px;
    display: flex;
    gap: 4px;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.notification-item:hover .notification-actions {
    opacity: 1;
}

.notification-item .notification-action-btn {
    background: none;
    border: none;
    color: #6b7280;
    cursor: pointer;
    padding: 6px;
    border-radius: 4px;
    transition: all 0.2s ease;
    font-size: 12px;
    line-height: 1;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.notification-item .notification-action-btn:hover {
    background-color: #f3f4f6;
}

.notification-item .notification-action-btn.cut-btn:hover {
    color: #3b82f6;
    background-color: #dbeafe;
}

.notification-item .notification-action-btn.delete-btn:hover {
    color: #ef4444;
    background-color: #fee2e2;
}

/* Enhanced delete notification button styling */
.delete-notification-btn {
    background: transparent !important;
    border: none !important;
    color: #6b7280 !important;
    padding: 6px 10px !important;
    border-radius: 6px !important;
    transition: all 0.2s ease !important;
    font-size: 12px !important;
    cursor: pointer !important;
    opacity: 0 !important;
}

.notification-item:hover .delete-notification-btn {
    opacity: 1 !important;
}

.delete-notification-btn:hover {
    background-color: #fee2e2 !important;
    color: #dc2626 !important;
    transform: scale(1.1) !important;
}

.delete-notification-btn:active {
    transform: scale(0.95) !important;
}

/* Improve notification item layout for better button positioning */
.notification-content {
    position: relative;
    padding-right: 40px;
}

.notification-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 8px;
}

.notification-time {
    flex: 1;
    font-size: 12px;
    color: #6b7280;
}

.notification-item:hover {
    background-color: #f8f9fa;
    transform: translateX(5px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.notification-item.unread {
    background: linear-gradient(135deg, #e3f2fd 0%, #f3e5f5 100%);
    border-left: 4px solid #1976d2;
    font-weight: 500;
}

.notification-item.border-danger {
    border-left-color: #dc3545 !important;
    background: linear-gradient(135deg, #ffebee 0%, #fce4ec 100%);
}

.notification-item.border-warning {
    border-left-color: #ffc107 !important;
    background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
}

.notification-item.border-info {
    border-left-color: #0dcaf0 !important;
    background: linear-gradient(135deg, #e0f2fe 0%, #e1f5fe 100%);
}

.notification-time {
    font-size: 11px;
    color: #9ca3af;
}

/* Live Indicator Light */
.live-indicator {
    display: inline-block;
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
    position: relative;
    animation: livePulse 2s infinite;
}

.live-indicator::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border: 1px solid #10b981;
    border-radius: 50%;
    animation: liveRipple 2s infinite;
}

@keyframes livePulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.7;
        transform: scale(1.2);
    }
}

@keyframes liveRipple {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(2);
        opacity: 0;
    }
}

/* Alert enhancements for better UX */
.alert {
    border-radius: 12px;
    border: none;
    padding: 16px 20px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

/* Promotion banner - static with no animations */
.alert.promotion-status-banner,
.alert.promotion-status-banner * {
    animation: none !important;
    transition: none !important;
    transform: none !important;
}

.alert.fade-out {
    opacity: 0;
    transform: translateX(100%);
}

.alert-success {
    background: linear-gradient(135deg, #ecfdf5 0%, #f0fdf4 100%);
    color: #065f46;
    border-left: 4px solid #10b981;
}

.alert-danger {
    background: linear-gradient(135deg, #fef2f2 0%, #fef2f2 100%);
    color: #991b1b;
    border-left: 4px solid #ef4444;
}

.alert-warning {
    background: linear-gradient(135deg, #fffbeb 0%, #fefce8 100%);
    color: #991b1b;
    border-left: 4px solid #f59e0b;
}

.alert-info {
    background: linear-gradient(135deg, #eff6ff 0%, #f0f9ff 100%);
    color: #1e40af;
    border-left: 4px solid #3b82f6;
}

/* Floating Notification Badge */
.notification-badge {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #3b82f6, #4f46e5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    cursor: pointer;
    box-shadow: 0 8px 32px rgba(59, 130, 246, 0.4);
    transition: all 0.3s ease;
    z-index: 9998;
}

.notification-badge:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 40px rgba(59, 130, 246, 0.5);
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .live-notification-popup {
        left: 10px;
        right: 10px;
        max-width: none;
    }

    .notification-badge {
        bottom: 20px;
        right: 20px;
        width: 48px;
        height: 48px;
        font-size: 18px;
    }
}

/* Enhanced Promotion Badge - Universal Styling - No Animation */
.badge.bg-warning.text-dark,
.promoted-badge,
.job-promoted-badge,
.badge.bg-warning {
    background: linear-gradient(135deg, #fbbf24, #f59e0b) !important;
    color: #1a1a1a !important;
    padding: 0.35rem 0.65rem !important;
    border-radius: 12px !important;
    font-size: 0.75rem !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    box-shadow: 0 2px 8px rgba(251, 191, 36, 0.3) !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.3rem !important;
    border: 1px solid #d97706 !important;
    animation: none !important;
    transition: none !important;
}

.badge.bg-warning.text-dark i,
.promoted-badge i,
.job-promoted-badge i {
    font-size: 0.7rem !important;
}

/* Promoted Job Cards Enhancement - No Animation */
.promoted-job-card,
.promoted-job {
    border: 2px solid #fbbf24 !important;
    box-shadow: 0 8px 25px rgba(251, 191, 36, 0.25) !important;
    background: linear-gradient(135deg, #fffbeb 0%, #ffffff 100%) !important;
    position: relative;
    overflow: hidden;
}

.promoted-job-card::before,
.promoted-job::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #fbbf24, #f59e0b);
    z-index: 1;
}

/* Modern Account Info Design */
.account-info-card {
    border: none;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    border-radius: 15px;
    overflow: hidden;
}

.bg-gradient-primary {
    background: linear-gradient(135deg, #4e73df 0%, #224abe 100%) !important;
}

.profile-avatar {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.8rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.info-card {
    background: white;
    border: 1px solid #e3e6f0;
    border-radius: 12px;
    padding: 1.5rem;
    height: 100%;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.info-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
    border-color: #4e73df;
}

.info-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #f8f9fa;
}

.info-header i {
    font-size: 1.25rem;
}

.info-header h6 {
    margin: 0;
    font-weight: 600;
    color: #2d3436;
    font-size: 1rem;
}

.info-content {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.info-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid #f8f9fa;
}

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

.info-item.full-width {
    flex-direction: column;
    align-items: stretch;
}

.info-item .label {
    font-size: 0.85rem;
    font-weight: 600;
    color: #6c757d;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    flex-shrink: 0;
    min-width: 60px;
}

.info-item .value {
    font-size: 0.95rem;
    color: #2d3436;
    font-weight: 500;
    text-align: right;
    word-break: break-word;
}

.info-item.full-width .value {
    text-align: left;
    margin-top: 0.25rem;
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Notification Features Styling */
.notification-features .feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0;
}

.notification-features .feature-item:last-child {
    margin-bottom: 1rem !important;
}

/* Responsive Design for Account Info */
@media (max-width: 991.98px) {
    .info-grid .col-lg-6 {
        margin-bottom: 1rem;
    }
}

@media (max-width: 767.98px) {
    .profile-header .row {
        text-align: center;
    }

    .profile-avatar {
        margin: 0 auto 1rem auto;
    }

    .info-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
    }

    .info-item .value {
        text-align: left;
    }

    .info-card {
        padding: 1rem;
    }
}

/* Badge improvements */
.badge.px-3 {
    font-size: 0.75rem;
    font-weight: 500;
}

/* Plan Dropdown Fix - Ensure it appears above stats cards */
.plan-dropdown {
    position: relative;
    z-index: 1050 !important;
}

.plan-dropdown .dropdown-menu {
    position: absolute !important;
    z-index: 10000 !important;
    min-width: 120px;
}

.plan-dropdown.show .dropdown-menu {
    display: block !important;
    z-index: 10000 !important;
}

/* Ensure table rows maintain proper stacking context */
table tbody tr {
    position: relative;
    z-index: 1;
}

/* When dropdown is open, increase row z-index */
table tbody tr:has(.plan-dropdown.show) {
    z-index: 1051 !important;
}

/* Enhanced styling for invalid checkbox */
/* Red glowing animation for validation errors */
@keyframes glowRed {
    0%, 100% {
        box-shadow: 0 0 10px rgba(220, 38, 38, 0.5), 0 0 20px rgba(220, 38, 38, 0.3);
    }
    50% {
        box-shadow: 0 0 20px rgba(220, 38, 38, 0.8), 0 0 35px rgba(220, 38, 38, 0.5);
    }
}

/* Enhanced styling for invalid checkbox */
.form-check-input.is-invalid,
.form-check-input.checkbox-error {
    border-color: #dc2626 !important;
    border-width: 2px !important;
    box-shadow: 0 0 0 0.2rem rgba(220, 38, 38, 0.25) !important;
    animation: glowRed 1.5s ease-in-out infinite !important;
    width: 1.25em !important;
    height: 1.25em !important;
}

.form-check.has-error {
    background-color: rgba(220, 38, 38, 0.1) !important;
    padding: 15px !important;
    border-radius: 8px !important;
    border: 2px solid #dc2626 !important;
    margin-bottom: 1.5rem !important;
}

.form-check.has-error label {
    color: #dc2626 !important;
    font-weight: 600 !important;
}

.form-check-input.is-valid {
    border-color: #059669 !important;
    box-shadow: 0 0 0 0.2rem rgba(5, 150, 105, 0.25) !important;
}

.form-check.text-danger label {
    color: #dc2626 !important;
}

/* Enhanced invalid feedback */
.invalid-feedback {
    display: block !important;
    color: #dc2626 !important;
    font-size: 0.875rem !important;
    font-weight: 600 !important;
    margin-top: 0.5rem !important;
}
/* ===== PERFORMANCE OPTIMIZATION PATCH =====
   Disables excessive continuous animations for better scrolling performance
   while keeping essential hover effects and interactions */

/* Disable continuous logistics animations - will be replaced with 3D */
.logistics-animation-container * {
    animation: none !important;
}

.hq-building,
.route-line,
.transport-vehicle,
.dp-icon,
.dp-pulse,
.grid-lines {
    animation: none !important;
}

/* Disable particle animations */
.particle-1,
.particle-2,
.particle-3 {
    animation: none !important;
}

/* Disable continuous floating animations */
.floating-element,
.floating-1,
.floating-2,
.floating-3,
.floating-4,
.icon-float,
.icon-1,
.icon-2,
.icon-3,
.icon-4 {
    animation: none !important;
}

/* Keep button shine only on hover, not continuous */
.btn-action .btn-glow,
.btn-outline-primary .btn-glow,
.cta-btn-primary .btn-glow,
.cta-btn-secondary .btn-glow {
    animation: none !important;
}

/* Disable continuous badge float */
.hero-badge {
    animation: none !important;
}

/* Disable continuous status blink and avatar pulse */
.status-indicator.online,
.assistant-avatar-img {
    animation: none !important;
}

/* Performance optimization - use GPU acceleration for transforms */
.btn-action,
.feature-card,
.job-card,
.navbar-logo,
.footer-logo {
    will-change: transform;
    transform: translateZ(0);
}

/* Optimize transitions for smoother scrolling */
* {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Reduce motion for scroll performance */
@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }
}

/* Keep only essential hover animations */
.btn-action:hover {
    transition: all 0.3s ease !important;
}

.hero-btn-primary:hover .btn-glow,
.hero-btn-secondary:hover .btn-glow {
    animation: shine 0.6s ease-in-out !important;
}

/* Optimize scroll performance */
body {
    -webkit-overflow-scrolling: touch;
}

/* Remove expensive box-shadow animations */
.form-check-input.is-invalid,
.form-check-input.checkbox-error {
    animation: none !important;
}

/* Optimize images for better performance */
img {
    image-rendering: -webkit-optimize-contrast;
    transform: translateZ(0);
}

/* ===== END PERFORMANCE OPTIMIZATION ===== */
