/* Volyx Custom Color Overrides */
:root {
    --volyx-primary: #1F2932;
    --volyx-secondary: #5856D6;
    --volyx-success: #34C759;
    --volyx-warning: #FF9500;
    --volyx-error: #FF3B30;
}

/* Make header app image bigger */
.header-image .image {
    width: 115% !important;
    max-width: 115% !important;
    transform: scale(1.15) !important;
    transform-origin: center center !important;
}

@media (max-width: 767px) {
    .header-image .image {
        width: 108% !important;
        max-width: 108% !important;
        transform: scale(1.08) !important;
    }
}

/* Override main blue color with Volyx dark blue */
.main-btn {
    background-color: var(--volyx-primary) !important;
    border-color: var(--volyx-primary) !important;
}

.main-btn:hover {
    background-color: #2a3a47 !important;
    border-color: #2a3a47 !important;
}

.main-btn-2 {
    color: var(--volyx-primary) !important;
    border-color: var(--volyx-primary) !important;
}

.main-btn-2:hover {
    background-color: var(--volyx-primary) !important;
    color: white !important;
}

/* Header and navigation */
.header-hero .header-title span {
    color: var(--volyx-primary) !important;
}

.navbar-nav .nav-item .page-scroll:hover {
    color: var(--volyx-primary) !important;
}

/* Update active navigation color to dark blue and add outline for selected badge */
.navbar-nav .nav-item.active > a, 
.navbar-nav .nav-item:hover > a {
    color: var(--volyx-primary) !important;
}

/* Add rounded rectangle badge for the selected page indicator - only on large screens */
.navbar-nav .nav-item.active {
    position: relative;
}

.navbar-nav .nav-item.active::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: calc(100% + 20px);
    height: 24px;
    background-color: white;
    border: 2px solid var(--volyx-primary);
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(31, 41, 50, 0.15);
    z-index: -1;
    animation: smoothDrawBadge 0.6s ease-out forwards;
    transition: none;
}

/* Prevent badge from disappearing during scroll */
.navbar-nav .nav-item:not(.active)::after {
    display: none;
    transition: none;
}

/* Ensure mobile auth nav item is hidden on desktop */
#mobileAuthNavItem {
    display: none !important;
}

@media (max-width: 991px) {
    #mobileAuthNavItem {
        display: block !important;
    }
    
    /* Center service titles on mobile */
    .services-content .services-title {
        text-align: center !important;
        width: 100% !important;
        margin: 0 auto !important;
    }
    
    .services-content .services-title a {
        text-align: center !important;
        display: block !important;
        width: 100% !important;
        margin: 0 auto !important;
    }
    
    /* Force center alignment for all service cards */
    .single-services .services-content {
        text-align: center !important;
    }
    
    .single-services .services-content h3,
    .single-services .services-content h4 {
        text-align: center !important;
        width: 100% !important;
        margin: 0 auto !important;
    }
    
    .single-services .services-content h3 a,
    .single-services .services-content h4 a {
        text-align: center !important;
        display: block !important;
        width: 100% !important;
        margin: 0 auto !important;
        margin-bottom: 7px !important;
    }
    
    /* Add spacing between title and content on mobile */
    .single-services .services-content .services-title {
        margin-bottom: 7px !important;
    }
    
    .single-services .services-content .text {
        margin-top: 7px !important;
    }
}

/* Hide mobile sign-in button when user is logged in */
#mobileAuthNavItem.hidden {
    display: none !important;
}

/* Mobile profile picture styling */
.mobile-profile-container {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
}

.mobile-profile-img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #2c3e50;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    pointer-events: auto !important;
    position: relative !important;
    z-index: 100 !important;
}

/* Mobile dropdown styling */
.mobile-user-dropdown {
    position: fixed !important;
    top: 65px !important;
    right: 20px !important;
    background: white !important;
    border-radius: 12px !important;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15) !important;
    padding: 20px !important;
    min-width: 200px !important;
    z-index: 10000 !important;
    outline: none !important;
    border: 1px solid #e1e8ed !important;
    visibility: visible !important;
    opacity: 1 !important;
    display: none; /* No !important here so JavaScript can override */
    pointer-events: auto !important;
}

.mobile-user-dropdown:focus {
    outline: none !important;
    border: 1px solid #e1e8ed !important;
}

.mobile-user-dropdown:focus-visible {
    outline: none !important;
    border: 1px solid #e1e8ed !important;
}

.mobile-user-dropdown:focus {
    outline: none !important;
    border: none !important;
}

.mobile-profile-img:focus {
    outline: none !important;
    border: 2px solid #2c3e50 !important;
}

/* Mobile dropdown content styling */
.mobile-user-dropdown .user-info {
    margin-bottom: 15px !important;
    padding-bottom: 15px !important;
    border-bottom: 1px solid #e1e8ed !important;
}

.mobile-user-dropdown .user-info span {
    display: block !important;
    font-weight: 600 !important;
    color: #2c3e50 !important;
    font-size: 16px !important;
    margin-bottom: 5px !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    max-width: 100% !important;
}

.mobile-user-dropdown .user-info small {
    display: block !important;
    color: #7f8c8d !important;
    font-size: 14px !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    max-width: 100% !important;
}

.mobile-user-dropdown .dropdown-actions {
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
}

.mobile-user-dropdown .dropdown-item {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    padding: 12px 0 !important;
    color: #2c3e50 !important;
    text-decoration: none !important;
    font-weight: 500 !important;
    transition: color 0.3s ease !important;
}

.mobile-user-dropdown .dropdown-item:hover {
    color: #667eea !important;
}

.mobile-user-dropdown .dropdown-item i {
    width: 16px !important;
    text-align: center !important;
}

.mobile-profile-img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center;
    border: 2px solid #2c3e50;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    pointer-events: auto !important;
    position: relative !important;
    z-index: 100 !important;
}

.mobile-profile-img:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Ensure equal spacing on mobile navbar */
@media (max-width: 991px) {
    .navbar-area .container {
        padding-left: 20px;
        padding-right: 20px;
    }
    
    .navbar {
        position: relative;
    }
    
    .navbar-brand {
        margin-right: 0;
    }
    
    .navbar-toggler {
        margin-left: 0;
    }
}

/* Smooth drawing animation for the badge */
@keyframes smoothDrawBadge {
    0% {
        width: 0;
        height: 0;
        opacity: 0;
        background-color: transparent;
        border-color: transparent;
    }
    30% {
        width: calc(100% + 20px);
        height: 0;
        opacity: 1;
        background-color: transparent;
        border-color: transparent;
    }
    60% {
        width: calc(100% + 20px);
        height: 24px;
        opacity: 1;
        background-color: transparent;
        border-color: var(--volyx-primary);
    }
    100% {
        width: calc(100% + 20px);
        height: 24px;
        opacity: 1;
        background-color: white;
        border-color: var(--volyx-primary);
    }
}

/* Hide the badge on tablets and phones */
@media (max-width: 991px) {
    .navbar-nav .nav-item.active::after {
        display: none;
    }
}

/* Services/Features sections - Updated with bubble colors */
.single-services.services-color-1 .services-icon {
    background-color: var(--volyx-secondary) !important;
}

.single-services.services-color-1 .services-icon::before {
    background-color: rgba(88, 86, 214, 0.15) !important;
}

.single-services.services-color-2 .services-icon {
    background-color: var(--volyx-success) !important;
}

.single-services.services-color-2 .services-icon::before {
    background-color: rgba(52, 199, 89, 0.12) !important;
}

.single-services.services-color-3 .services-icon {
    background-color: var(--volyx-warning) !important;
}

.single-services.services-color-3 .services-icon::before {
    background-color: rgba(255, 149, 0, 0.14) !important;
}

.single-services.services-color-4 .services-icon {
    background-color: var(--volyx-primary) !important;
}

.single-services.services-color-4 .services-icon::before {
    background-color: rgba(31, 41, 50, 0.1) !important;
}

.single-features.features-color-1 .features-icon {
    background-color: var(--volyx-secondary) !important;
}

/* Links and interactive elements */
a:hover {
    color: var(--volyx-primary) !important;
}

.section-title .title {
    color: var(--volyx-primary) !important;
}

/* Buttons and CTAs */
.header-video:hover {
    background-color: var(--volyx-primary) !important;
}

/* Footer links */
.footer-link .link a:hover {
    color: var(--volyx-primary) !important;
}

/* Testimonials and other accent elements */
.testimonial-quote {
    background-color: var(--volyx-primary) !important;
}

/* Pricing section */
.pricing-active {
    border-color: var(--volyx-primary) !important;
}

/* Download section */
.download-content .download-title {
    color: var(--volyx-primary) !important;
}

/* Override any remaining blue elements */
[style*="#0898E7"] {
    color: var(--volyx-primary) !important;
}

[style*="background-color: #0898E7"] {
    background-color: var(--volyx-primary) !important;
}

[style*="border-color: #0898E7"] {
    border-color: var(--volyx-primary) !important;
}

/* White text with black outline for "Cu Organizațiile Fără Efort." (the text between span and paragraph) */
.header-title {
    color: white !important;
    text-shadow: 
        -1px -1px 0 #000,  
         1px -1px 0 #000,
        -1px  1px 0 #000,
         1px  1px 0 #000,
         2px  2px 4px rgba(0,0,0,0.5) !important;
}

/* Keep the span text in the original color */
.header-title span {
    color: var(--volyx-primary) !important;
    text-shadow: none !important;
}

/* Button container alignment - ensure buttons are on same line */
.header-hero-content ul {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
}

.header-hero-content ul li {
    display: flex !important;
    align-items: center !important;
}

/* Play button styling - Modern and Professional with Pulse Effect */
.header-hero-content .header-video {
    background-color: white !important;
    border: 2px solid var(--volyx-primary) !important;
    color: var(--volyx-primary) !important;
    width: 50px !important;
    height: 50px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 4px 20px rgba(31, 41, 50, 0.15) !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    position: relative !important;
    overflow: hidden !important;
    animation: volyxPulse 2s infinite !important;
}

.header-hero-content .header-video:hover {
    background-color: var(--volyx-primary) !important;
    color: white !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 30px rgba(31, 41, 50, 0.25) !important;
    animation: none !important;
}

.header-hero-content .header-video::before {
    content: '' !important;
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    width: 0 !important;
    height: 0 !important;
    background-color: rgba(31, 41, 50, 0.1) !important;
    border-radius: 50% !important;
    transform: translate(-50%, -50%) !important;
    transition: width 0.6s ease, height 0.6s ease !important;
}

.header-hero-content .header-video:hover::before {
    width: 100% !important;
    height: 100% !important;
}

.header-hero-content .header-video i {
    font-size: 16px !important;
    line-height: 1 !important;
    margin-left: 2px !important;
    z-index: 1 !important;
    position: relative !important;
}

/* Custom pulse animation for the play button */
@keyframes volyxPulse {
    0% {
        box-shadow: 
            0 0 0 0 rgba(31, 41, 50, 0.4),
            0 4px 20px rgba(31, 41, 50, 0.15);
    }
    70% {
        box-shadow: 
            0 0 0 8px rgba(31, 41, 50, 0),
            0 4px 20px rgba(31, 41, 50, 0.15);
    }
    100% {
        box-shadow: 
            0 0 0 0 rgba(31, 41, 50, 0),
            0 4px 20px rgba(31, 41, 50, 0.15);
    }
}

/* Background bubbles with Volyx color palette - Simple and Modern */
.header-hero .shape.shape-1 {
    background-color: rgba(88, 86, 214, 0.15) !important;
    box-shadow: 0 0 20px rgba(88, 86, 214, 0.2) !important;
}

.header-hero .shape.shape-2 {
    background-color: rgba(52, 199, 89, 0.12) !important;
    box-shadow: 0 0 15px rgba(52, 199, 89, 0.15) !important;
}

.header-hero .shape.shape-3 {
    background-color: rgba(31, 41, 50, 0.1) !important;
    box-shadow: 0 0 18px rgba(31, 41, 50, 0.12) !important;
}

.header-hero .shape.shape-4 {
    background-color: rgba(255, 149, 0, 0.14) !important;
    box-shadow: 0 0 16px rgba(255, 149, 0, 0.18) !important;
}

.header-hero .shape.shape-5 {
    background-color: rgba(88, 86, 214, 0.11) !important;
    box-shadow: 0 0 14px rgba(88, 86, 214, 0.13) !important;
}

.header-hero .shape.shape-6 {
    background-color: rgba(52, 199, 89, 0.13) !important;
    box-shadow: 0 0 12px rgba(52, 199, 89, 0.16) !important;
}

/* About section background shape - Simple gradient */
.about-image .about-shape {
    background: linear-gradient(135deg, rgba(31, 41, 50, 0.2) 0%, rgba(88, 86, 214, 0.25) 100%) !important;
    box-shadow: 0 0 30px rgba(88, 86, 214, 0.15) !important;
}

.about-image .about-shape::before {
    border: 2px solid rgba(88, 86, 214, 0.3) !important;
    border-top-color: transparent !important;
    border-right-color: transparent !important;
    box-shadow: 0 0 20px rgba(88, 86, 214, 0.2) !important;
}

/* Features section shape - Simple solid color */
.features-image .features-shape-1 {
    background-color: rgba(255, 149, 0, 0.18) !important;
    box-shadow: 0 0 25px rgba(255, 149, 0, 0.2) !important;
}

/* Download section shape - Simple solid color */
.download-area .download-image .download-shape-1 {
    background-color: rgba(88, 86, 214, 0.16) !important;
    box-shadow: 0 0 30px rgba(88, 86, 214, 0.18) !important;
}

/* Footer shapes - No colors (removed styling) */
.footer-area .footer-shape.shape-1,
.footer-area .footer-shape.shape-2,
.footer-area .footer-shape.shape-3,
.footer-area .footer-shape.shape-4,
.footer-area .footer-shape.shape-5,
.footer-area .footer-shape.shape-6,
.footer-area .footer-shape.shape-7,
.footer-area .footer-shape.shape-8 {
    background-color: transparent !important;
    box-shadow: none !important;
}

/* Download buttons styling */
.download-content ul li a.app-store {
    background-color: var(--volyx-primary) !important;
    border-radius: 25px !important;
    -webkit-box-shadow: 0px 4px 10px 0px rgba(31, 41, 50, 0.4) !important;
    -moz-box-shadow: 0px 4px 10px 0px rgba(31, 41, 50, 0.4) !important;
    box-shadow: 0px 4px 10px 0px rgba(31, 41, 50, 0.4) !important;
}

.download-content ul li a.app-store:hover {
    -webkit-box-shadow: 0px 4px 25px 0px rgba(31, 41, 50, 0.4) !important;
    -moz-box-shadow: 0px 4px 25px 0px rgba(31, 41, 50, 0.4) !important;
    box-shadow: 0px 4px 25px 0px rgba(31, 41, 50, 0.4) !important;
}

.download-content ul li a.play-store {
    background-color: white !important;
    border: 2px solid var(--volyx-primary) !important;
    border-radius: 25px !important;
    -webkit-box-shadow: 0px 4px 10px 0px rgba(31, 41, 50, 0.2) !important;
    -moz-box-shadow: 0px 4px 10px 0px rgba(31, 41, 50, 0.2) !important;
    box-shadow: 0px 4px 10px 0px rgba(31, 41, 50, 0.2) !important;
}

.download-content ul li a.play-store:hover {
    -webkit-box-shadow: 0px 4px 25px 0px rgba(31, 41, 50, 0.3) !important;
    -moz-box-shadow: 0px 4px 25px 0px rgba(31, 41, 50, 0.3) !important;
    box-shadow: 0px 4px 25px 0px rgba(31, 41, 50, 0.3) !important;
}

/* Make Google Play Store image dark blue */
.download-content ul li a.play-store img {
    filter: brightness(0) saturate(100%) invert(8%) sepia(10%) saturate(2476%) hue-rotate(200deg) brightness(95%) contrast(86%) !important;
}

/* Back to top button - same animation as download button */
.back-to-top {
    background: var(--volyx-primary) !important;
    border: 2px solid var(--volyx-primary) !important;
    border-radius: 15px !important;
    position: fixed !important;
    bottom: 30px !important;
    right: 30px !important;
    overflow: hidden !important;
    z-index: 999 !important;
    transition: all 0.4s ease !important;
}

.back-to-top::before {
    content: '' !important;
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    width: 0 !important;
    height: 0 !important;
    background-color: #fff !important;
    border-radius: 50% !important;
    transform: translate(-50%, -50%) !important;
    transition: none !important;
    z-index: -1 !important;
}

.back-to-top:hover::before {
    width: 300% !important;
    height: 300% !important;
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
}

.back-to-top:hover {
    color: var(--volyx-primary) !important;
    border: 2px solid var(--volyx-primary) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(31, 41, 50, 0.25) !important;
}

/* Screenshot carousel pagination dots - dark blue */
.swiper-pagination .swiper-pagination-bullet {
    border-color: var(--volyx-primary) !important;
}

.swiper-pagination .swiper-pagination-bullet.swiper-pagination-bullet-active {
    background: var(--volyx-primary) !important;
}

/* Force Font Awesome icons to display - override any conflicts */
.fas::before {
    font-family: "Font Awesome 6 Free" !important;
    font-weight: 900 !important;
    font-style: normal !important;
    display: inline-block !important;
}

.fab::before {
    font-family: "Font Awesome 6 Brands" !important;
    font-weight: normal !important;
    font-style: normal !important;
    display: inline-block !important;
}

/* Specific icon content with fallbacks */
.fas.fa-users::before { content: "\f0c0"; }
.fas.fa-comments::before { content: "\f086"; }
.fas.fa-map-marker-alt::before { content: "\f3c5"; }
.fas.fa-shield-alt::before { content: "\f3ed"; }
.fas.fa-mobile-alt::before { content: "\f3cd"; }
.fas.fa-calendar-alt::before { content: "\f073"; }
.fas.fa-gift::before { content: "\f06b"; }
.fas.fa-play::before { content: "\f04b"; }
.fas.fa-envelope::before { content: "\f0e0"; }
.fas.fa-globe::before { content: "\f484"; }
.fas.fa-map::before { content: "\f279"; }
.fas.fa-chevron-up::before { content: "\f077"; }

/* Fallback to Unicode emojis if Font Awesome fails completely */
.services-icon .fas.fa-users::before { content: "\f0c0"; }
.services-icon .fas.fa-comments::before { content: "\f086"; }
.services-icon .fas.fa-map-marker-alt::before { content: "\f3c5"; }
.services-icon .fas.fa-shield-alt::before { content: "\f3ed"; }

/* Email Confirmation Page Styles */
.confirmation-area {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.confirmation-content {
    background: white;
    padding: 60px 40px;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(31, 41, 50, 0.1);
}

.confirmation-icon .success-circle {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--volyx-success), #28a745);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    animation: scaleIn 0.6s ease-out;
    box-shadow: 0 10px 30px rgba(52, 199, 89, 0.3);
}

.confirmation-icon .success-circle i {
    font-size: 36px;
    color: white;
    animation: checkIn 0.8s ease-out 0.3s both;
}

/* Error state for confirmation circle */
.confirmation-icon .success-circle.error-state {
    background: linear-gradient(135deg, #dc3545, #c82333) !important;
    box-shadow: 0 10px 30px rgba(220, 53, 69, 0.3) !important;
}

.confirmation-text .title {
    font-size: 36px;
    font-weight: 700;
    color: var(--volyx-primary);
    margin-bottom: 10px;
}

.confirmation-text .text {
    font-size: 18px;
    color: #666;
    line-height: 1.6;
    max-width: 400px;
    margin: 0 auto;
}

.confirmation-action .main-btn {
    background: var(--volyx-primary);
    color: white;
    padding: 15px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    display: inline-block;
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 8px 25px rgba(31, 41, 50, 0.3);
}

.confirmation-action .main-btn:hover {
    background: rgba(31, 41, 50, 0.9);
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(31, 41, 50, 0.4);
    color: white;
    text-decoration: none;
}

/* Navbar Sign In Button Styling */
.navbar-signin-btn {
    background: #2c3e50 !important;
    color: white !important;
    padding: 8px 16px !important;
    border-radius: 20px !important;
    font-weight: 500 !important;
    font-size: 13px !important;
    transition: all 0.4s ease !important;
    margin-left: 0 !important;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    line-height: 1 !important;
    border: 2px solid #2c3e50 !important;
    position: relative !important;
    overflow: hidden !important;
    z-index: 1 !important;
    vertical-align: middle !important;
    white-space: nowrap !important;
    min-width: 140px !important;
    text-align: center !important;
}

.navbar-signin-btn::before {
    content: '' !important;
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    width: 0 !important;
    height: 0 !important;
    background-color: #fff !important;
    border-radius: 50% !important;
    transform: translate(-50%, -50%) !important;
    transition: none !important;
    z-index: -1 !important;
}

.navbar-signin-btn:hover::before {
    width: 300% !important;
    height: 300% !important;
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
}

.navbar-signin-btn:hover {
    color: #2c3e50 !important;
    border: 2px solid #2c3e50 !important;
    text-decoration: none !important;
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(44, 62, 80, 0.2);
}

/* Fix navbar items alignment */
.navbar-nav {
    align-items: center !important;
    justify-content: center !important;
    flex: 1 !important;
    margin: 0 20px !important;
}

.navbar-nav .nav-item {
    display: flex !important;
    align-items: center !important;
    margin: 0 15px !important;
}

.navbar-nav .nav-item .nav-link,
.navbar-nav .nav-item a {
    display: flex !important;
    align-items: center !important;
    padding: 8px 12px !important;
    margin: 0 !important;
    white-space: nowrap !important;
    line-height: 1 !important;
}

/* User Profile Navigation Styles */
.user-profile-nav {
    position: relative;
    display: flex;
    align-items: center;
    cursor: pointer;
}

.user-profile-img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid #2c3e50;
    object-fit: cover;
    object-position: center;
    transition: all 0.3s ease;
    outline: none !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    aspect-ratio: 1 / 1;
    flex-shrink: 0;
    display: block;
}

.user-profile-img:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(44, 62, 80, 0.3);
}

.user-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    min-width: 220px;
    padding: 16px 0;
    margin-top: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    border: 1px solid #e1e8ed;
}

.user-profile-nav:hover .user-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.user-info {
    padding: 0 16px 12px 16px;
    border-bottom: 1px solid #e1e8ed;
    margin-bottom: 8px;
}

.user-info span {
    display: block;
    font-weight: 600;
    color: #2c3e50;
    font-size: 14px;
    margin-bottom: 2px;
}

.user-info small {
    color: #7f8c8d;
    font-size: 12px;
}

.dropdown-actions {
    padding: 0 8px;
}

.dropdown-item {
    display: flex;
    align-items: center;
    padding: 10px 12px;
    color: #2c3e50;
    text-decoration: none;
    border-radius: 8px;
    margin: 2px 0;
    transition: all 0.2s ease;
    font-size: 14px;
}

.dropdown-item:hover {
    background: #f8f9fa;
    color: #2c3e50;
    text-decoration: none;
    transform: translateX(4px);
}

.dropdown-item i {
    margin-right: 10px;
    width: 16px;
    text-align: center;
    color: #7f8c8d;
}

.dropdown-item:hover i {
    color: #2c3e50;
}

/* Arrow indicator for dropdown */
.user-dropdown::before {
    content: '';
    position: absolute;
    top: -6px;
    right: 20px;
    width: 12px;
    height: 12px;
    background: white;
    border-left: 1px solid #e1e8ed;
    border-top: 1px solid #e1e8ed;
    transform: rotate(45deg);
}

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

@keyframes checkIn {
    0% {
        transform: scale(0) rotate(45deg);
        opacity: 0;
    }
    100% {
        transform: scale(1) rotate(0deg);
        opacity: 1;
    }
}

/* Responsive design for confirmation page */
@media (max-width: 768px) {
    .confirmation-content {
        padding: 40px 25px;
        margin: 0 15px;
    }
    
    .confirmation-text .title {
        font-size: 28px;
    }
    
    .confirmation-text .text {
        font-size: 16px;
    }
    
    .confirmation-icon .success-circle {
        width: 80px;
        height: 80px;
    }
    
    .confirmation-icon .success-circle i {
        font-size: 28px;
    }
}

/* Password Reset Page Styles */
.password-reset-area {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.password-reset-content {
    background: white;
    padding: 60px 40px;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(31, 41, 50, 0.1);
}

.reset-header .icon-circle {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--volyx-primary), #2c3e50);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    animation: scaleIn 0.6s ease-out;
    box-shadow: 0 10px 30px rgba(31, 41, 50, 0.2);
}

.reset-header .icon-circle i {
    font-size: 28px;
    color: white;
    animation: checkIn 0.8s ease-out 0.3s both;
}

.reset-header .title {
    font-size: 32px;
    font-weight: 700;
    color: var(--volyx-primary);
    margin-bottom: 10px;
}

.reset-header .subtitle {
    font-size: 16px;
    color: #666;
    margin-bottom: 0;
}

.reset-form .form-label {
    font-weight: 600;
    color: var(--volyx-primary);
    margin-bottom: 8px;
    font-size: 14px;
}

.reset-form .form-control {
    height: 50px;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 12px 50px 12px 16px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: #f8f9fa;
}

.reset-form .form-control:focus {
    border-color: var(--volyx-primary);
    box-shadow: 0 0 0 0.2rem rgba(31, 41, 50, 0.1);
    background: white;
    outline: none;
}

.password-input-wrapper {
    position: relative;
}

.password-toggle {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #666;
    cursor: pointer;
    padding: 5px;
    border-radius: 4px;
    transition: color 0.3s ease;
}

.password-toggle:hover {
    color: var(--volyx-primary);
}

.form-text {
    color: #666;
    font-size: 12px;
    margin-top: 5px;
}

.reset-btn {
    width: 100%;
    height: 55px;
    background: var(--volyx-primary);
    color: white;
    border: none;
    border-radius: 15px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(31, 41, 50, 0.3);
    position: relative;
    overflow: hidden;
}

.reset-btn:hover:not(:disabled) {
    background: rgba(31, 41, 50, 0.9);
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(31, 41, 50, 0.4);
}

.reset-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.alert {
    padding: 15px 20px;
    border-radius: 12px;
    margin-top: 20px;
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
}

.alert-success {
    background: rgba(52, 199, 89, 0.1);
    color: var(--volyx-success);
    border: 1px solid rgba(52, 199, 89, 0.2);
}

.alert-error {
    background: rgba(255, 59, 48, 0.1);
    color: var(--volyx-error);
    border: 1px solid rgba(255, 59, 48, 0.2);
}

.password-errors-container {
    margin-top: 8px;
    padding: 0 4px;
}

.password-error-item {
    font-size: 12px;
    color: var(--volyx-error);
    font-weight: 400;
    margin-bottom: 2px;
    line-height: 1.3;
}

/* Responsive design for password reset page */
@media (max-width: 768px) {
    .password-reset-content {
        padding: 40px 25px;
        margin: 0 15px;
    }
    
    .reset-header .title {
        font-size: 26px;
    }
    
    .reset-header .icon-circle {
        width: 70px;
        height: 70px;
    }
    
    .reset-header .icon-circle i {
        font-size: 24px;
    }
    
    .reset-form .form-control {
        height: 45px;
        font-size: 14px;
    }
    
    .reset-btn {
        height: 50px;
        font-size: 15px;
    }
}

/* Forgot Password Page Styles */
.forgot-password-area {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.forgot-password-content {
    background: white;
    padding: 60px 40px;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(31, 41, 50, 0.1);
}

.forgot-header .icon-circle {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #007bff, #0056b3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    animation: scaleIn 0.6s ease-out;
    box-shadow: 0 10px 30px rgba(0, 123, 255, 0.2);
}

.forgot-header .icon-circle i {
    font-size: 28px;
    color: white;
    animation: checkIn 0.8s ease-out 0.3s both;
}

.forgot-header .title {
    font-size: 32px;
    font-weight: 700;
    color: var(--volyx-primary);
    margin-bottom: 10px;
}

.forgot-header .subtitle {
    font-size: 16px;
    color: #666;
    margin-bottom: 0;
    line-height: 1.5;
}

.forgot-form .form-label {
    font-weight: 600;
    color: var(--volyx-primary);
    margin-bottom: 8px;
    font-size: 14px;
}

.forgot-form .form-control {
    height: 50px;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 12px 16px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: #f8f9fa;
}

.forgot-form .form-control:focus {
    border-color: var(--volyx-primary);
    box-shadow: 0 0 0 0.2rem rgba(31, 41, 50, 0.1);
    background: white;
    outline: none;
}

.forgot-btn {
    width: 100%;
    height: 55px;
    background: var(--volyx-primary);
    color: white;
    border: none;
    border-radius: 15px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(31, 41, 50, 0.3);
    position: relative;
    overflow: hidden;
}

.forgot-btn:hover:not(:disabled) {
    background: rgba(31, 41, 50, 0.9);
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(31, 41, 50, 0.4);
}

.forgot-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.back-to-login {
    text-align: center;
}

.back-link {
    color: var(--volyx-primary);
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: color 0.3s ease;
}

.back-link:hover {
    color: rgba(31, 41, 50, 0.8);
    text-decoration: none;
}

.back-link i {
    font-size: 12px;
}

/* Responsive design for forgot password page */
@media (max-width: 768px) {
    .forgot-password-content {
        padding: 40px 25px;
        margin: 0 15px;
    }
    
    .forgot-header .title {
        font-size: 26px;
    }
    
    .forgot-header .subtitle {
        font-size: 14px;
    }
    
    .forgot-header .icon-circle {
        width: 70px;
        height: 70px;
    }
    
    .forgot-header .icon-circle i {
        font-size: 24px;
    }
    
    .forgot-form .form-control {
        height: 45px;
        font-size: 14px;
    }
    
    .forgot-btn {
        height: 50px;
        font-size: 15px;
    }
} 

/* Mobile auth container styles */
.mobile-auth-container {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    z-index: 1000;
    pointer-events: auto;
}

.mobile-auth-container .navbar-signin-btn {
    font-size: 14px;
    padding: 8px 16px;
    border-radius: 20px;
    background: #2c3e50;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
    border: 2px solid #2c3e50;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.mobile-auth-container .navbar-signin-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: white;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.3s ease;
    z-index: -1;
}

.mobile-auth-container .navbar-signin-btn:hover::before {
    width: 300px;
    height: 300px;
}

.mobile-auth-container .navbar-signin-btn:hover {
    color: #2c3e50;
}

.mobile-auth-container .user-profile-img {
    width: 45px; /* Slightly smaller for better fit */
    height: 45px; /* Slightly smaller for better fit */
    border-radius: 50%;
    object-fit: cover;
    object-position: center;
    border: 2px solid #2c3e50;
    transition: all 0.3s ease;
    background: #f8f9fa; /* Light background while loading */
    cursor: pointer; /* Make it clear it's clickable */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    display: block;
    flex-shrink: 0;
    outline: none !important;
    border-color: #2c3e50 !important;
    aspect-ratio: 1 / 1;
}

/* Hide loading spinner and black elements */
.mobile-auth-container .user-profile-img::before,
.mobile-auth-container .user-profile-img::after {
    display: none !important;
}

/* Smooth scrolling for anchor links */
html {
    scroll-behavior: smooth;
}

.mobile-auth-container .user-profile-img:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Debug styles for mobile profile picture */
@media (max-width: 991px) {
    .mobile-auth-container .user-profile-img {
        /* Ensure visibility */
        opacity: 1 !important;
        visibility: visible !important;
        /* Ensure proper sizing */
        min-width: 45px !important;
        min-height: 45px !important;
        /* Ensure proper positioning */
        position: relative !important;
        /* Ensure it's above other elements */
        z-index: 1001 !important;
        /* Ensure clean styling */
        border: 2px solid #2c3e50 !important;
        outline: none !important;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
    }
}

/* Tablet-specific profile picture styles */
@media (min-width: 768px) and (max-width: 1024px) {
    .user-profile-img {
        width: 42px !important;
        height: 42px !important;
        border: 2px solid #2c3e50 !important;
        outline: none !important;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
        aspect-ratio: 1 / 1 !important;
        border-radius: 50% !important;
        object-fit: cover !important;
        object-position: center !important;
    }
    
    .mobile-auth-container .user-profile-img {
        width: 42px !important;
        height: 42px !important;
        border: 2px solid #2c3e50 !important;
        outline: none !important;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
        aspect-ratio: 1 / 1 !important;
        border-radius: 50% !important;
        object-fit: cover !important;
        object-position: center !important;
    }
}

/* Ensure perfect circles for all profile pictures */
.user-profile-img,
.mobile-auth-container .user-profile-img {
    border-radius: 50% !important;
    aspect-ratio: 1 / 1 !important;
    object-fit: cover !important;
    object-position: center !important;
    width: auto !important;
    height: auto !important;
    min-width: 40px !important;
    min-height: 40px !important;
    max-width: 45px !important;
    max-height: 45px !important;
}

/* Force circular shape with specific dimensions */
.user-profile-img {
    width: 40px !important;
    height: 40px !important;
}

.mobile-auth-container .user-profile-img {
    width: 45px !important;
    height: 45px !important;
}

@media (min-width: 768px) and (max-width: 1024px) {
    .user-profile-img,
    .mobile-auth-container .user-profile-img {
        width: 42px !important;
        height: 42px !important;
    }
}

/* Hide desktop auth elements on mobile */
@media (max-width: 991px) {
    #authNavItem {
        display: none !important;
    }
    
    /* Ensure navbar has relative positioning for absolute centering */
    .navbar {
        position: relative !important;
        overflow: visible !important;
    }
    
    /* Ensure mobile auth container is properly positioned */
    .mobile-auth-container {
        position: absolute !important;
        left: 50% !important;
        top: 50% !important;
        transform: translate(-50%, -50%) !important;
        z-index: 1000 !important;
        pointer-events: auto !important;
    }
    
    /* Mobile user dropdown styles */
    .mobile-user-dropdown {
        position: fixed;
        top: 80px;
        left: 50%;
        transform: translateX(-50%);
        background: white;
        border-radius: 12px;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
        min-width: 280px;
        padding: 16px 0;
        z-index: 9999; /* Very high z-index */
        border: 1px solid #e1e8ed;
        display: none;
        /* Debug styling to make it visible */
        background: white !important;
    }
    
    .mobile-user-dropdown .user-info {
        padding: 0 16px 12px 16px;
        border-bottom: 1px solid #e1e8ed;
        margin-bottom: 8px;
    }
    
    .mobile-user-dropdown .user-info span {
        display: block;
        font-weight: 600;
        color: #2c3e50;
        font-size: 14px;
        margin-bottom: 2px;
    }
    
    .mobile-user-dropdown .user-info small {
        color: #7f8c8d;
        font-size: 12px;
    }
    
    .mobile-user-dropdown .dropdown-actions {
        padding: 0 8px;
    }
    
    .mobile-user-dropdown .dropdown-item {
        display: flex;
        align-items: center;
        padding: 12px 16px;
        color: #2c3e50;
        text-decoration: none;
        border-radius: 8px;
        margin: 2px 0;
        transition: all 0.2s ease;
        font-size: 14px;
    }
    
    .mobile-user-dropdown .dropdown-item:hover {
        background: #f8f9fa;
        color: #2c3e50;
        text-decoration: none;
    }
    
    .mobile-user-dropdown .dropdown-item i {
        margin-right: 10px;
        width: 16px;
        text-align: center;
        color: #7f8c8d;
    }
}

