/* ============================================ */
/* Header Styles - Extracted from inline CSS */
/* ============================================ */

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
}

body {
    box-sizing: border-box;
}

.headermainBox {
    position: fixed;
    width: 100%;
    z-index: 133;
    top: 0;
    background: white;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.Newheader {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #fff;
    padding: 10px 20px;
    height: 92px;
    margin: auto;
    max-width: 111em;
    box-sizing: border-box;
}

/* Logo: Left-aligned, always visible */
.Newheaderlogo {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 150px;
    overflow: hidden;
    justify-content: center;
}

.Newheaderlogo img {
    width: 100%;
    height: auto;
}

.NewheaderForMobileUserPic {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.Newheaderlogo span {
    font-size: 14px;
    color: #198BEA;
    font-weight: bold;
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
}

/* Navigation: Center on desktop */
.Newheadernav {
    display: flex;
    align-items: center;
}

.Newheadernav-list {
    display: flex;
    list-style: none;
    gap: 20px;
}

.Newheadernav-list .NewheaderTitle,
.Newheadernav-list .Newheaderbadge-item,
.Newheadernav-list .Newheaderdropdown {
    padding: 0;
    align-items: center;
    display: flex;
    justify-content: center;
}

.Newheadernav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    position: relative;
    transition: color 0.3s;
}

.Newheadernav-link:hover {
    color: #092A45;
}

/* Dropdowns */
.Newheaderdropdown {
    position: relative;
}

.Newheaderarrow {
    font-size: 10px;
    margin-left: 5px;
    transition: transform 0.3s ease;
    display: inline-block;
}

.Newheaderdropdown.open .arrow {
    transform: rotate(180deg);
}

.Newheadersubmenu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #fff;
    min-width: 150px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    list-style: none;
    z-index: 1000;
    border-radius: 5px;
    border: 1px solid gray;
}

.Newheadersubmenu .NewheaderSubTitle {
    padding: 10px;
    border-bottom: 1px solid #eee;
    width: 100%;
    box-sizing: border-box;
}

.Newheadersubmenu .NewheaderSubTitle:hover {
    background-color: gray;
}

.Newheadersubmenu a:hover {
    color: white;
}

.Newheadersubmenu .NewheaderSubTitle:last-child {
    border-bottom: none;
}

.Newheadersubmenu a {
    display: block;
    text-decoration: none;
    color: #333;
}

.Newheaderdropdown:hover .Newheadersubmenu {
    display: block;
}

/* Badge for Reviewer Panel */
.Newheaderbadge-item {
    position: relative;
}

.Newheaderbadge {
    background-color: #ff0000;
    color: #fff;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
}

.Newheaderenroll-reviewer-btn {
    background-color: #F3C500;
    border-radius: 5px;
    text-align: center;
    padding: 8px;
}

/* User Section: Right-aligned, logged-in only */
.Newheaderuser-section {
    display: flex;
    align-items: center;
    gap: 15px;
}

@keyframes blink {
    0%,
    50% {
        opacity: 1;
    }

    51%,
    100% {
        opacity: 0;
    }
}

.Newheaderuser-dropdown {
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
    cursor: pointer;
    padding: 15px 5px;
}

.Newheaderuser-pic {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.Newheaderuser-name {
    font-weight: 500;
    color: #333;
}

.Newheaderuser-menu {
    display: none;
    position: absolute;
    top: 95%;
    right: 0;
    background-color: #fff;
    min-width: 150px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    list-style: none;
    z-index: 1000;
    border-radius: 5px;
}

.Newheaderuser-dropdown:hover .Newheaderuser-menu {
    display: block;
}

.Newheaderuser-menu li {
    padding: 10px;
    border-bottom: 1px solid #eee;
}

.Newheaderuser-menu li:hover {
    background-color: gray;
    color: white;
}

.Newheaderuser-menu a:hover {
    color: white;
}

.Newheaderuser-menu li:last-child {
    border-bottom: none;
}

.Newheaderuser-menu a {
    display: block;
    text-decoration: none;
    color: #333;
}

/* Sign Up Button: For not logged in, background #092A45 */
.Newheadersign-up-btn {
    background-color: #092A45;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: background-color 0.3s;
}

.Newheadersign-up-btn:hover {
    background-color: #0a3b5e;
}

/* Hamburger: Mobile only */
.Newheaderhamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.Newheaderhamburger span {
    width: 25px;
    height: 3px;
    background-color: #333;
    transition: 0.3s;
}

.Newheaderhamburger.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.Newheaderhamburger.active span:nth-child(2) {
    opacity: 0;
}

.Newheaderhamburger.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

.headermainBox a.sign-up-button {
    padding: 0.806em 3.157em 0.806em 1.4em;
    position: relative;
    padding-left: 30px;
    padding-right: 52px;
    text-decoration: none;
    line-height: 22px;
    letter-spacing: 0;
    display: inline-block;
    background: linear-gradient(135deg, #198BEA 0%, #1565c0 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.4s ease;
    box-shadow: 0 4px 15px rgba(25, 139, 234, 0.3);
}

.headermainBox a.sign-up-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(25, 139, 234, 0.5);
}

/* Mobile Responsive */
@media (max-width: 1250px) {
    .Newheaderlogo {
        width: 120px;
    }

    .Newheaderlogo span {
        font-size: 11px;
    }

    .Newheadernav-list {
        gap: 15px;
    }
}

@media (max-width: 1080px) {
    .mail-badge {
        top: 4px;
        right: 7px;
    }

    .Newheaderheader {
        padding: 10px;
        height: auto;
    }

    .Newheaderlogo {
        flex-direction: column;
        align-items: center;
        width: 150px;
    }

    .Newheaderlogo span {
        margin-top: 0;
        font-size: 14px;
    }

    .NewheaderForMobileUserPic {
        display: flex;
    }

    .Newheadernav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #fff;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
        display: none;
        z-index: 1;
    }

    .Newheadernav-list .NewheaderTitle,
    .Newheadernav-list .Newheaderbadge-item,
    .Newheadernav-list .Newheaderdropdown {
        display: unset;
    }

    .Newheadernav.active {
        display: block;
    }

    .Newheadernav-list {
        flex-direction: column;
        padding: 20px;
        gap: 0;
    }

    .Newheadernav-link {
        display: block;
        padding: 15px;
        border-bottom: 1px solid #198bea;
    }

    .Newheaderdropdown {
        width: 100%;
    }

    .Newheadersubmenu {
        position: static;
        display: none;
        background-color: #f9f9f9;
        box-shadow: none;
        margin-left: 20px;
        border-radius: 0;
        width: 95%;
    }

    .Newheadersubmenu.active {
        display: block;
    }

    .Newheadersubmenu .NewheaderSubTitle {
        border-bottom: 1px solid #ddd;
        padding-left: 10px;
        display: block;
    }

    .ForLaptopUserPic {
        display: none;
    }

    .Newheaderuser-dropdown {
        flex-direction: column;
        text-align: center;
        gap: 5px;
    }

    .Newheaderuser-menu {
        right: auto;
        left: -85px;
        width: 100%;
    }

    .Newheaderhamburger {
        display: flex;
    }
}

@media (max-width: 480px) {
    /* Additional mobile optimizations can be added here if needed */
}
