/* Header Styles */

/* Main Header Container */
.header {
    position: relative;
    width: 100%;
    top: 0px;
    z-index: 1000;
}

/* Header Frame Container */
.header-frame {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    background: #000000;
    position: relative;
    z-index: 1000;
}

/* Main Header Content */
.header-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0px;
    width: 100%;
    flex: none;
    order: 0;
    align-self: stretch;
    flex-grow: 0;
}

/* Supporting Menu */
.supporting-menu {
    width: 100%;
    height: 38px;
    flex: none;
    order: 0;
    flex-grow: 0;
    position: relative;
    display: flex;
    align-items: center;
    background: #000000;
}

.header-content-main {
    margin: 0 auto;
    max-width: 1464px;
    padding: 0px;
    width: 100%;
}

/* Supporting Menu Items */
.supporting-items {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
    padding: 0px;
    padding-right: 10px;
    gap: 21px;
    height: 18px;
    margin: 0;
    width: 100%;
}

.supporting-items .menu-item {
    font-family: "DM Sans", sans-serif;
    font-style: normal;
    font-weight: 500;
    font-size: 14px;
    line-height: 18px;
    color: #ffffff;
    flex: none;
    flex-grow: 0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.supporting-items .menu-item:hover {
    color: #ff4c4b;
}

.supporting-items .menu-item.faqs {
    width: 34px;
    height: 18px;
    order: 0;
}

.supporting-items .menu-item.media {
    width: 41px;
    height: 18px;
    order: 1;
}

.supporting-items .menu-item.courses {
    width: 55px;
    height: 18px;
    order: 2;
}

/* Language Selector (Hidden by default) */
.language-selector {
    display: none;
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
    padding: 0px;
    gap: 4px;
    width: 102px;
    height: 18px;
    flex: none;
    order: 3;
    flex-grow: 0;
}

.language-selector .language-text {
    width: 78px;
    height: 18px;
    font-family: "DM Sans", sans-serif;
    font-style: normal;
    font-weight: 500;
    font-size: 14px;
    line-height: 18px;
    color: #ffffff;
    flex: none;
    order: 0;
    flex-grow: 0;
}

.language-selector .language-flag {
    width: 20px;
    height: 13.37px;
    background: url(image);
    border-radius: 2px;
    flex: none;
    order: 1;
    flex-grow: 0;
}

/* Main Navigation Frame */
.main-nav-frame {
    width: 100%;
    height: 75px;
    flex: none;
    order: 1;
    flex-grow: 0;
    position: relative;
    background: #292929;
}

/* Navigation Container */
.nav-container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    /* gap: 166px; */
    width: 100%;
    height: 75px;
}

/* Logo and Menu Section */
.logo-menu-section {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 0px;
    gap: 69px;
    height: 75px;
    flex: none;
    order: 0;
    flex-grow: 0;
}

/* Logo */
.header-logo {
    width: 155px;
    height: 75px;
    flex: none;
    order: 0;
    flex-grow: 0;
    display: flex;
    align-items: center;
    text-decoration: none;
}

.header-logo img {
    width: 155px;
    height: 75px;
    object-fit: contain;
}

/* Navigation Menu */
.navigation-menu {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 0px;
    height: 23px;
    flex: none;
    order: 1;
    flex-grow: 0;
}

.navigation-menu .nav-link {
    font-family: "Inter", sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 19px;
    line-height: 120%;
    text-decoration: none;
    flex: none;
    flex-grow: 0;
    transition: color 0.3s ease;
    white-space: nowrap;
    color: #ffffff;
}

.navigation-menu .nav-link:hover {
    color: #ff4c4b !important;
}

.navigation-menu .nav-link.home {
    color: #fefdfd;
    order: 0;
}
.navigation-menu .nav-link.active {
    color: #ff4c4b !important;
}

.navigation-menu .nav-link.find-projects {
    color: #fefdfd;
    order: 1;
}

.navigation-menu .nav-link.about-us {
    color: #fefdfd;
    order: 2;
}

.navigation-menu .nav-link.freelancers {
    color: #fefdfd;
    order: 3;
}

.navigation-menu .nav-link.clients {
    color: #fefdfd;
    order: 4;
}

/* User Actions Container */
.user-actions-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 0px;
    gap: 8px;
    height: 48px;
    flex: none;
    order: 2;
    flex-grow: 0;
}

/* Primary Action Button */
.primary-action-btn {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 12px 24px;
    gap: 10px;
    width: 212px;
    height: 48px;
    background: #ff4c4b;
    border-radius: 10px;
    flex: none;
    order: 0;
    flex-grow: 0;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.primary-action-btn:hover {
    background: #e63946;
}

.primary-action-btn .icon {
    display: none;
    width: 20px;
    height: 20px;
    flex: none;
    order: 0;
    flex-grow: 0;
}

.primary-action-btn .button-text {
    font-family: "Inter", sans-serif;
    font-style: normal;
    font-weight: 500;
    font-size: 16px;
    line-height: 24px;
    text-align: center;
    color: #ffffff;
    flex: none;
    order: 1;
    flex-grow: 0;
    white-space: nowrap;
}

.primary-action-btn .chevron-right {
    width: 20px;
    height: 20px;
    flex: none;
    order: 2;
    flex-grow: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* User Welcome Section */
.user-welcome-section {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 0px;
    height: 48px;
    flex: none;
    order: 0;
    flex-grow: 0;
}

.user-welcome-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 12px 20px;
    gap: 12px;
    height: 48px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 66px;
    flex: none;
    order: 0;
    flex-grow: 0;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.user-welcome-container:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}

.user-avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    flex: none;
    order: 0;
    flex-grow: 0;
}

.avatar-circle {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #ff4c4b, #ff6b6a);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: "Inter", sans-serif;
    font-weight: 600;
    font-size: 14px;
    color: #ffffff;
    text-transform: uppercase;
    box-shadow: 0 2px 8px rgba(255, 76, 75, 0.3);
}

.user-welcome-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0px;
    gap: 2px;
    height: 32px;
    flex: none;
    order: 1;
    flex-grow: 0;
}

.welcome-label {
    font-family: "Inter", sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 12px;
    line-height: 14px;
    color: rgba(255, 255, 255, 0.8);
    flex: none;
    order: 0;
    flex-grow: 0;
}

.user-name {
    font-family: "Inter", sans-serif;
    font-style: normal;
    font-weight: 600;
    font-size: 14px;
    line-height: 18px;
    color: #ffffff;
    flex: none;
    order: 1;
    flex-grow: 0;
    max-width: 120px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.user-status-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 8px;
    height: 8px;
    flex: none;
    order: 2;
    flex-grow: 0;
}

.status-dot {
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
    flex: none;
    order: 0;
    flex-grow: 0;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4);
    }
    70% {
        box-shadow: 0 0 0 8px rgba(16, 185, 129, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
    }
}

/* User Profile Section */
.user-profile-section {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 0px;
    gap: 16px;
    height: fit-content;
    flex: none;
    order: 1;
    flex-grow: 0;
}
.dropdown-toggle::after {
    display: inline-block;
    margin-left: 0.255em;
    vertical-align: 0.255em;
    content: "";
    border-top: 0.3em solid;
    border-right: 0.3em solid transparent;
    border-bottom: 0;
    border-left: 0.3em solid transparent;
    color: #ffffff;
}
.user-profile-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 0px;
    gap: 12px;
    height: fit-content;
    flex: none;
    order: 0;
    align-self: stretch;
    flex-grow: 0;
}

/* User Button */
.user-btn {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 12px 24px;
    gap: 10px;
    height: 48px;
    border-radius: 66px;
    flex: none;
    order: 0;
    flex-grow: 0;
    border: 1px solid #ffffff;
    cursor: pointer;
    background: transparent;
    text-decoration: none;
    transition: all 0.3s ease;
}

.user-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    text-decoration: none;
}

.user-btn .user-icon {
    width: 20px;
    height: 20px;
    flex: none;
    order: 0;
    flex-grow: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.user-btn .user-text {
    font-family: "Inter", sans-serif;
    font-style: normal;
    font-weight: 500;
    font-size: 16px;
    line-height: 24px;
    text-align: center;
    color: #ffffff;
    flex: none;
    order: 1;
    flex-grow: 0;
    white-space: nowrap;
}

.user-btn .arrow-icon {
    display: none;
    width: 20px;
    height: 20px;
    flex: none;
    order: 2;
    flex-grow: 0;
}

/* Mobile Navigation Override - Default state (hidden) */
.navbar.d-lg-none {
    display: none !important;
}

/* Fixed Header */
.navbar.d-lg-none.header-fixed {
    background-color: rgba(41, 41, 41, 0.95);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    animation: slideDown 0.3s ease-in-out;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
    }
    to {
        transform: translateY(0);
    }
}

.navbar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.navbar-brand.logo img {
    height: 50px;
    object-fit: contain;
}

/* Hamburger Icon */
#mobile_btn {
    display: inline-block;
    width: 30px;
    height: 30px;
    position: relative;
    z-index: 1100;
}
.navbar-header .open {
    opacity: 0;
}
.bar-icon {
    width: 30px;
    height: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
}

.bar-icon span {
    background-color: #fff;
    display: block;
    height: 3px;
    width: 100%;
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* Mobile Menu Wrapper */
.main-menu-wrapper {
    position: fixed;
    top: 0;
    left: -280px;
    width: 280px;
    height: 100%;
    background: #1a1a1a;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
    transition: all 0.4s ease;
    overflow-y: auto;
    z-index: 1050;
    padding: 20px 0;
}

.main-menu-wrapper.active {
    left: 0;
}

/* Mobile Menu Header */
.menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 15px;
}

.menu-logo img {
    height: 40px;
    object-fit: contain;
}

.menu-close {
    color: #ffffff;
    font-size: 18px;
    transition: all 0.3s ease;
}

.menu-close:hover {
    color: #ff4c4b;
}

/* Mobile Menu Links */
.main-nav {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.main-nav li {
    position: relative;
    display: block;
}

.main-nav li a {
    color: #ffffff;
    display: block;
    font-size: 16px;
    font-weight: 500;
    padding: 12px 20px;
    text-decoration: none;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.main-nav li.active a,
.main-nav li a:hover {
    color: #ff4c4b;
    background-color: rgba(255, 76, 75, 0.1);
    border-left-color: #ff4c4b;
}

/* Mobile Sign in/up Links */
.main-nav li.login-mobile {
    margin-top: 10px;
}

.main-nav li.login-mobile a {
    background-color: #333;
    margin: 5px 20px;
    text-align: center;
    border-radius: 8px;
    border-left: none;
}

.main-nav li.login-mobile:last-child a {
    background-color: #ff4c4b;
    color: white;
}

.main-nav li.login-mobile a:hover {
    background-color: #ff4c4b;
    color: white;
    border-left: none;
    transform: translateY(-2px);
}

/* Overlay when menu is open */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1040;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Mobile menu animation for open/close hamburger */
#mobile_btn.open .bar-icon span:nth-child(1) {
    transform: translateY(10.5px) rotate(45deg);
}

#mobile_btn.open .bar-icon span:nth-child(2) {
    opacity: 0;
}

#mobile_btn.open .bar-icon span:nth-child(3) {
    transform: translateY(-10.5px) rotate(-45deg);
}

/* Mobile menu transition */
.menu-open-transition {
    transition: all 0.5s cubic-bezier(0.77, 0.2, 0.05, 1);
}

/* Responsive Design */
@media (max-width: 1464px) {
    .header {
        width: 100%;
        max-width: none;
    }

    .nav-container {
        padding: 0px 15px;
    }

    .logo-menu-section {
        gap: 10px;
    }

    .navigation-menu {
        gap: 5px;
    }

    .primary-action-btn {
        width: 180px;
    }

    .primary-action-btn .button-text {
        font-size: 14px;
    }

    .user-welcome-container {
        padding: 10px 16px;
        gap: 10px;
    }

    .user-name {
        max-width: 50px;
        font-size: 13px;
    }

    .welcome-label {
        font-size: 11px;
    }
}

@media (max-width: 1200px) {
    .nav-container {
    }

    .logo-menu-section {
        gap: 0px;
    }
    .header-logo {
        width: 100px;
    }
    .header-logo img {
        width: 100px;
    }

    .navigation-menu {
        gap: 0px;
    }

    .navigation-menu .nav-link {
        font-size: 16px;
    }

    .primary-action-btn {
        width: 160px;
        padding: 10px 20px;
    }

    .user-welcome-container {
        padding: 8px 14px;
        gap: 8px;
    }

    .avatar-circle {
        width: 28px;
        height: 28px;
        font-size: 12px;
    }

    .user-avatar {
        width: 28px;
        height: 28px;
    }

    .user-name {
        max-width: 80px;
        font-size: 12px;
    }

    .welcome-label {
        font-size: 10px;
    }
}

/* Mobile View Styles */
@media (max-width: 992px) {
    /* Hide desktop header */
    .header {
        display: block;
    }
    .main-nav-frame {
        display: none;
    }
    /* Show mobile header */
    .navbar.d-lg-none {
        display: block !important;
        background-color: #292929;
        padding: 10px 15px;
        position: fixed;
        width: 100%;
        top: 0;
        left: 0;
        z-index: 1000;
        transition: all 0.3s ease;
    }
    .user-btn {
        padding: 12px 14px;
    }
    /* Navbar Header */
    .navbar-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        padding: 0 !important;
    }

    .navbar-brand.logo img {
        height: 50px;
        object-fit: contain;
    }

    /* Hamburger Icon */
    #mobile_btn {
        display: inline-block;
        width: 33px;
        height: 18px;
        position: relative;
        z-index: 1100;
    }

    .bar-icon {
        width: 26px;
        height: 19px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        cursor: pointer;
    }

    .bar-icon span {
        background-color: #fff;
        display: block;
        height: 3px;
        width: 100%;
        border-radius: 3px;
        transition: all 0.3s ease;
    }

    /* Hamburger animation */
    #mobile_btn.open .bar-icon span:nth-child(1) {
        transform: translateY(10.5px) rotate(45deg);
    }

    #mobile_btn.open .bar-icon span:nth-child(2) {
        opacity: 0;
    }

    #mobile_btn.open .bar-icon span:nth-child(3) {
        transform: translateY(-10.5px) rotate(-45deg);
    }

    /* Mobile Menu Wrapper */
    .main-menu-wrapper {
        position: fixed;
        top: 0;
        left: -325px;
        width: 325px;
        height: 100%;
        background: #1a1a1a;
        box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
        transition: all 0.4s ease;
        overflow-y: auto;
        z-index: 1050;
        padding: 20px 0;
    }

    .main-menu-wrapper.active {
        left: 0;
    }

    /* Mobile Menu Header */
    .menu-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0 20px 20px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        margin-bottom: 15px;
    }

    .menu-logo img {
        height: 40px;
        object-fit: contain;
    }

    .menu-close {
        color: #ffffff;
        font-size: 18px;
        transition: all 0.3s ease;
    }

    .menu-close:hover {
        color: #ff4c4b;
    }

    /* Mobile Menu Links */
    .main-nav {
        list-style-type: none;
        padding: 0;
        margin: 0;
    }

    .main-nav li {
        position: relative;
        display: block;
    }

    .main-nav li a {
        color: #ffffff;
        display: block;
        font-size: 16px;
        font-weight: 500;
        padding: 12px 20px;
        text-decoration: none;
        transition: all 0.3s ease;
        border-left: 3px solid transparent;
    }

    .main-nav li.active a,
    .main-nav li a:hover {
        color: #ff4c4b;
        background-color: rgba(255, 76, 75, 0.1);
        border-left-color: #ff4c4b;
    }

    /* Mobile Sign in/up Links */
    .main-nav li.login-mobile {
        margin-top: 10px;
    }

    .main-nav li.login-mobile a {
        background-color: #333;
        margin: 5px 20px;
        text-align: center;
        border-radius: 8px;
        border-left: none;
    }

    .main-nav li.login-mobile:last-child a {
        background-color: #ff4c4b;
        color: white;
    }

    .main-nav li.login-mobile a:hover {
        background-color: #ff4c4b;
        color: white;
        border-left: none;
        transform: translateY(-2px);
    }

    /* Overlay when menu is open */
    .menu-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.7);
        z-index: 1040;
        opacity: 0;
        visibility: hidden;
        transition: all 0.4s ease;
    }

    .menu-overlay.active {
        opacity: 1;
        visibility: visible;
    }

    /* Fixed Header */
    .navbar.d-lg-none.header-fixed {
        background-color: rgba(41, 41, 41, 0.95);
        box-shadow: none !important;
        animation: slideDown 0.3s ease-in-out;
    }

    @keyframes slideDown {
        from {
            transform: translateY(-100%);
        }
        to {
            transform: translateY(0);
        }
    }
}

@media (max-width: 768px) {
    .supporting-menu {
        display: none;
    }
}

/* Additional utility classes */
.d-none {
    display: none !important;
}

/* Body styles when menu is open */
body.menu-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
    height: 100%;
}

/* Header Account Dropdown Menu */
.header-account-dropdown {
    position: relative;
    display: inline-block;
}

.header-dropdown-menu {
    position: absolute;
    top: 120%;
    right: 0;
    min-width: 280px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0, 0, 0, 0.04);
    overflow: hidden;
}

.header-dropdown-menu.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.header-dropdown-menu::before {
    content: "";
    position: absolute;
    top: -8px;
    right: 20px;
    width: 16px;
    height: 16px;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.04);
    border-bottom: none;
    border-right: none;
    transform: rotate(45deg);
    z-index: -1;
}

.header-dropdown-header {
    padding: 20px 24px 16px;
    border-bottom: 1px solid #f5f6f7;
    background: linear-gradient(135deg, #fbfcfd 0%, #ffffff 100%);
}

.header-dropdown-title {
    color: #374151;
    font-family: "Inter", sans-serif;
    font-weight: 700;
    font-size: 18px;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.header-dropdown-title i {
    color: #ff4c4b;
    font-size: 20px;
}

.header-dropdown-body {
    padding: 8px 0;
}

.header-dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 24px;
    color: #6b7280;
    text-decoration: none;
    font-family: "Inter", sans-serif;
    font-weight: 500;
    font-size: 15px;
    transition: all 0.3s ease;
    border: none;
    background: none;
    width: 100%;
    text-align: left;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.header-dropdown-item::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 76, 75, 0.03),
        transparent
    );
    transition: left 0.6s;
}

.header-dropdown-item:hover::before {
    left: 100%;
}

.header-dropdown-item:hover {
    background: linear-gradient(
        135deg,
        rgba(255, 76, 75, 0.03) 0%,
        rgba(255, 76, 75, 0.01) 100%
    );
    color: #374151;
    text-decoration: none;
    transform: translateX(4px);
}

.header-dropdown-item-icon {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #d1d5db;
    transition: color 0.3s ease;
    flex-shrink: 0;
}

.header-dropdown-item:hover .header-dropdown-item-icon {
    color: #ff4c4b;
}

.header-dropdown-item-text {
    flex: 1;
    line-height: 1.4;
}

.header-dropdown-divider {
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent 0%,
        #f3f4f6 20%,
        #f3f4f6 80%,
        transparent 100%
    );
    margin: 8px 16px;
}

.header-dropdown-footer {
    padding: 16px 24px 20px;
    background: #fbfcfd;
    border-top: 1px solid #f5f6f7;
}

.header-dropdown-logout {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 12px 16px;
    background: linear-gradient(135deg, #dc2626 0%, #ef4444 100%);
    color: #ffffff;
    border: none;
    border-radius: 10px;
    font-family: "Inter", sans-serif;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.header-dropdown-logout::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    transition: left 0.6s;
}

.header-dropdown-logout:hover::before {
    left: 100%;
}

.header-dropdown-logout:hover {
    background: linear-gradient(135deg, #b91c1c 0%, #dc2626 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(220, 38, 38, 0.4);
    color: #ffffff;
    text-decoration: none;
}

.header-dropdown-logout i {
    font-size: 16px;
}

/* Profile Badge in Dropdown Items */
.header-dropdown-profile-badge {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #ffffff;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-left: auto;
}

/* Special styling for primary actions */
.header-dropdown-item.primary {
    background: linear-gradient(
        135deg,
        rgba(255, 76, 75, 0.06) 0%,
        rgba(255, 76, 75, 0.03) 100%
    );
    border-left: 3px solid #ff4c4b;
    font-weight: 600;
}

.header-dropdown-item.primary .header-dropdown-item-icon {
    color: #ff4c4b;
}

/* Animation for dropdown items */
.header-dropdown-item {
    animation: fadeInUp 0.3s ease-out;
}

.header-dropdown-item:nth-child(1) {
    animation-delay: 0.05s;
}
.header-dropdown-item:nth-child(2) {
    animation-delay: 0.1s;
}
.header-dropdown-item:nth-child(3) {
    animation-delay: 0.15s;
}
.header-dropdown-item:nth-child(4) {
    animation-delay: 0.2s;
}
.header-dropdown-item:nth-child(5) {
    animation-delay: 0.25s;
}
.header-dropdown-item:nth-child(6) {
    animation-delay: 0.3s;
}

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

/* Responsive design for dropdown */
@media (max-width: 768px) {
    .header-dropdown-menu {
        min-width: 260px;
        right: -10px;
    }

    .header-dropdown-menu::before {
        right: 25px;
    }

    .header-dropdown-header,
    .header-dropdown-footer {
        padding: 16px 20px;
    }

    .header-dropdown-item {
        padding: 10px 20px;
        font-size: 14px;
    }
}

/* Ensure proper font loading */
@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;700&family=Inter:wght@400;500;600;700&display=swap");

/* ========================================
   CROSS-PLATFORM DATE INPUT FIXES
   ======================================== */

/* Global date input styling for all platforms */
input[type="date"] {
    /* Ensure calendar icon shows on all platforms */
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23777777' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='18' rx='2' ry='2'%3E%3C/rect%3E%3Cline x1='16' y1='2' x2='16' y2='6'%3E%3C/line%3E%3Cline x1='8' y1='2' x2='8' y2='6'%3E%3C/line%3E%3Cline x1='3' y1='10' x2='21' y2='10'%3E%3C/line%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
    padding-right: 40px;
    position: relative;
}

/* iOS Safari specific fixes */
@supports (-webkit-touch-callout: none) {
    input[type="date"] {
        /* Force show calendar icon on iOS */
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23777777' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='18' rx='2' ry='2'%3E%3C/rect%3E%3Cline x1='16' y1='2' x2='16' y2='6'%3E%3C/line%3E%3Cline x1='8' y1='2' x2='8' y2='6'%3E%3C/line%3E%3Cline x1='3' y1='10' x2='21' y2='10'%3E%3C/line%3E%3C/svg%3E") !important;
        background-position: right 12px center !important;
        background-size: 16px !important;
        padding-right: 40px !important;
    }
}

/* Hide default date picker icon on webkit browsers */
input[type="date"]::-webkit-calendar-picker-indicator {
    background: transparent;
    color: transparent;
    cursor: pointer;
    position: absolute;
    right: 0;
    top: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
}

/* Firefox specific styling */
@-moz-document url-prefix() {
    input[type="date"] {
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23777777' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='18' rx='2' ry='2'%3E%3C/rect%3E%3Cline x1='16' y1='2' x2='16' y2='6'%3E%3C/line%3E%3Cline x1='8' y1='2' x2='8' y2='6'%3E%3C/line%3E%3Cline x1='3' y1='10' x2='21' y2='10'%3E%3C/line%3E%3C/svg%3E");
        background-position: right 12px center;
        background-size: 16px;
        padding-right: 40px;
    }
}

/* Mobile-specific date input styling */
@media (max-width: 768px) {
    input[type="date"] {
        padding-right: 40px;
        background-position: right 8px center;
        background-size: 18px;
        font-size: 16px; /* Prevent zoom on iOS */
    }
}

@media (max-width: 768px) {
    .main-wrapper {
        margin-top: 79px;
    }
}

.mobile-auth-buttons {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
}

.mobile-auth-btn {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 6px 10px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 12px;
    font-weight: 500;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.mobile-login-btn {
    background: transparent;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.mobile-login-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    color: #ffffff;
}

.mobile-register-btn {
    background: #ff4c4b;
    color: #ffffff;
    border: 1px solid #ff4c4b;
}

.mobile-register-btn:hover {
    background: #e63939;
    border-color: #e63939;
    color: #ffffff;
}

.mobile-auth-btn i {
    font-size: 10px;
}

.mobile-auth-btn span {
    font-size: 11px;
}

/* Hide text on very small screens, show only icons */
@media (max-width: 360px) {
    .mobile-auth-btn span {
        display: none;
    }

    .mobile-auth-btn {
        padding: 6px 8px;
        gap: 0;
    }

    .mobile-auth-btn i {
        font-size: 12px;
    }
}

/* Specific styling for form-control date inputs */
.form-control[type="date"] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23777777' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='18' rx='2' ry='2'%3E%3C/rect%3E%3Cline x1='16' y1='2' x2='16' y2='6'%3E%3C/line%3E%3Cline x1='8' y1='2' x2='8' y2='6'%3E%3C/line%3E%3Cline x1='3' y1='10' x2='21' y2='10'%3E%3C/line%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
    padding-right: 40px;
}

/* iOS Safari specific fixes for form-control */
@supports (-webkit-touch-callout: none) {
    .form-control[type="date"] {
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23777777' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='18' rx='2' ry='2'%3E%3C/rect%3E%3Cline x1='16' y1='2' x2='16' y2='6'%3E%3C/line%3E%3Cline x1='8' y1='2' x2='8' y2='6'%3E%3C/line%3E%3Cline x1='3' y1='10' x2='21' y2='10'%3E%3C/line%3E%3C/svg%3E") !important;
        background-position: right 12px center !important;
        background-size: 16px !important;
        padding-right: 40px !important;
    }
}

/* Hide default date picker icon for form-control */
.form-control[type="date"]::-webkit-calendar-picker-indicator {
    background: transparent;
    color: transparent;
    cursor: pointer;
    position: absolute;
    right: 0;
    top: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
}

/* Notification dropdown responsive widths */
.mobile-notification-dropdown {
    width: 300px;
}
@media (max-width: 991.98px) {
    .mobile-notification-dropdown {
        width: 234px;
    }
}
