/* =========================================================
   MANIFESTO WATCH - GLOBAL DESIGN SYSTEM
   ========================================================= */

:root {
    --mw-navy: #06264a;
    --mw-navy-dark: #031a35;
    --mw-red: #ed1c24;
    --mw-green: #00843d;

    --mw-white: #ffffff;
    --mw-light: #f5f8fb;
    --mw-text: #172b44;
    --mw-muted: #6b7b8f;
    --mw-border: #e3eaf1;

    --mw-radius: 14px;
    --mw-container: 1380px;

    --mw-shadow:
        0 8px 30px rgba(6, 38, 74, 0.08);

    --mw-transition:
        all 0.25s ease;
}


/* =========================================================
   NAVBAR
   ========================================================= */

.mw-navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 76px;

    background: rgba(255, 255, 255, 0.97);
    border-bottom: 1px solid var(--mw-border);

    z-index: 9999;

    display: flex;
    align-items: center;

    box-shadow:
        0 2px 15px rgba(6, 38, 74, 0.05);

    backdrop-filter: blur(10px);
}


/* Container */

.mw-nav-container {
    width: min(100% - 40px, var(--mw-container));
    height: 100%;

    margin: auto;

    display: flex;
    align-items: center;
    justify-content: space-between;
}


/* =========================================================
   BRAND
   ========================================================= */

.mw-brand {
    display: flex;
    align-items: center;

    text-decoration: none;

    flex-shrink: 0;
}

.mw-brand img {
    display: block;

    width: 190px;
    max-height: 55px;

    object-fit: contain;
}


/* =========================================================
   DESKTOP NAVIGATION
   ========================================================= */

.mw-nav-menu {
    display: flex;
    align-items: center;
    gap: 30px;

    margin-left: auto;
    margin-right: 35px;
}

.mw-nav-menu a {
    position: relative;

    color: var(--mw-text);
    text-decoration: none;

    font-size: 14px;
    font-weight: 600;

    padding: 29px 0;

    transition: var(--mw-transition);
}

.mw-nav-menu a:hover {
    color: var(--mw-red);
}


/* Active navigation */

.mw-nav-menu a.active {
    color: var(--mw-red);
}

.mw-nav-menu a.active::after {
    content: "";

    position: absolute;

    left: 0;
    right: 0;
    bottom: 18px;

    height: 2px;

    background: var(--mw-red);
    border-radius: 5px;
}


/* =========================================================
   NAV ACTIONS
   ========================================================= */

.mw-nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}


/* Login */

.mw-login {
    color: var(--mw-navy);

    text-decoration: none;

    font-size: 14px;
    font-weight: 600;

    padding: 10px 12px;

    transition: var(--mw-transition);
}

.mw-login:hover {
    color: var(--mw-red);
}


/* Sign Up */

.mw-signup {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 88px;

    padding: 11px 20px;

    background: var(--mw-red);
    color: var(--mw-white);

    border-radius: 8px;

    text-decoration: none;

    font-size: 13px;
    font-weight: 700;

    transition: var(--mw-transition);
}

.mw-signup:hover {
    background: var(--mw-navy);

    color: var(--mw-white);

    transform: translateY(-1px);
}


/* =========================================================
   MOBILE MENU BUTTON
   ========================================================= */

.mw-menu-toggle {
    display: none;

    width: 44px;
    height: 44px;

    border: 0;
    background: transparent;

    cursor: pointer;

    padding: 9px;
}

.mw-menu-toggle span {
    display: block;

    width: 25px;
    height: 2px;

    margin: 5px auto;

    background: var(--mw-navy);

    border-radius: 5px;

    transition: var(--mw-transition);
}


/* =========================================================
   MOBILE OVERLAY
   ========================================================= */

.mw-mobile-overlay {
    display: none;

    position: fixed;

    inset: 0;

    background: rgba(3, 26, 53, 0.45);

    z-index: 9997;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1100px) {

    .mw-nav-menu {
        gap: 20px;
        margin-right: 20px;
    }

    .mw-nav-menu a {
        font-size: 13px;
    }

    .mw-brand img {
        width: 165px;
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 850px) {

    .mw-navbar {
        height: 68px;
    }

    .mw-nav-container {
        width: calc(100% - 30px);
    }

    .mw-brand img {
        width: 155px;
        max-height: 48px;
    }


    /* Hide desktop navigation */

    .mw-nav-menu {
        position: fixed;

        top: 68px;
        right: -100%;

        width: min(310px, 85%);

        height: calc(100vh - 68px);

        margin: 0;

        padding: 30px 25px;

        background: var(--mw-white);

        display: flex;
        flex-direction: column;
        align-items: stretch;

        gap: 0;

        box-shadow:
            -10px 0 30px rgba(6, 38, 74, 0.12);

        transition: right 0.3s ease;

        z-index: 9998;

        overflow-y: auto;
    }


    /* Open menu */

    .mw-nav-menu.mobile-open {
        right: 0;
    }


    .mw-nav-menu a {
        display: block;

        padding: 17px 5px;

        font-size: 15px;

        border-bottom: 1px solid var(--mw-border);
    }

    .mw-nav-menu a.active::after {
        display: none;
    }


    /* Mobile login/signup */

    .mw-nav-actions {
        margin-left: auto;
    }

    .mw-login,
    .mw-signup {
        display: none;
    }


    /* Hamburger */

    .mw-menu-toggle {
        display: block;
        position: relative;
        z-index: 10000;
    }


    /* Overlay */

    .mw-mobile-overlay.active {
        display: block;
    }


    /* Hamburger animation */

    .mw-menu-toggle.open span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .mw-menu-toggle.open span:nth-child(2) {
        opacity: 0;
    }

    .mw-menu-toggle.open span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

}


/* =========================================================
   SMALL PHONES
   ========================================================= */

@media (max-width: 420px) {

    .mw-nav-container {
        width: calc(100% - 20px);
    }

    .mw-brand img {
        width: 140px;
    }

}

/* =========================================================
   COUNTIES NAVIGATION
   ========================================================= */

.mw-nav-dropdown {
    position: relative;
    display: flex;
    align-items: center;
    height: 100%;
}

.mw-nav-dropdown-toggle {
    display: flex !important;
    align-items: center;
    gap: 6px;

    color: var(--mw-text);
    text-decoration: none;

    font-size: 14px;
    font-weight: 600;

    padding: 29px 0 !important;

    transition: var(--mw-transition);
}

.mw-nav-dropdown-toggle:hover {
    color: var(--mw-red);
}

.mw-nav-dropdown-toggle i {
    font-size: 10px;
    transition: transform 0.25s ease;
}


/* Main Counties dropdown */

.mw-counties-menu {
    position: absolute;

    top: 76px;
    left: 50%;

    width: 250px;

    background: #ffffff;

    border: 1px solid var(--mw-border);
    border-radius: 0 0 10px 10px;

    box-shadow: 0 12px 35px rgba(6, 38, 74, 0.15);

    padding: 8px 0;

    opacity: 0;
    visibility: hidden;

    transform: translateX(-50%) translateY(10px);

    transition:
        opacity 0.2s ease,
        visibility 0.2s ease,
        transform 0.2s ease;

    z-index: 10000;
}


/* Open Counties */

.mw-nav-dropdown:hover .mw-counties-menu {
    opacity: 1;
    visibility: visible;

    transform: translateX(-50%) translateY(0);
}

.mw-nav-dropdown:hover
.mw-nav-dropdown-toggle i {
    transform: rotate(180deg);
}


/* =========================================================
   REGIONS
   ========================================================= */

.mw-region {
    position: relative;
}

.mw-region-toggle {
    display: flex;

    align-items: center;
    justify-content: space-between;

    width: 100%;

    padding: 13px 18px;

    color: var(--mw-text);

    text-decoration: none;

    font-size: 13px;
    font-weight: 700;

    transition: var(--mw-transition);
}

.mw-region-toggle:hover {
    background: var(--mw-light);
    color: var(--mw-red);
}

.mw-region-toggle i {
    font-size: 11px;
}


/* =========================================================
   COUNTY SUBMENU
   ========================================================= */

.mw-county-submenu {
    position: absolute;

    top: 0;
    left: 100%;

    width: 245px;

    max-height: 450px;
    overflow-y: auto;

    background: #ffffff;

    border: 1px solid var(--mw-border);
    border-radius: 8px;

    box-shadow: 0 12px 35px rgba(6, 38, 74, 0.15);

    padding: 8px 0;

    opacity: 0;
    visibility: hidden;

    transform: translateX(8px);

    transition:
        opacity 0.2s ease,
        visibility 0.2s ease,
        transform 0.2s ease;

    z-index: 10001;
}


/* Show counties */

.mw-region:hover .mw-county-submenu {
    opacity: 1;
    visibility: visible;

    transform: translateX(0);
}

/* Compact region list */
.mw-region-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 9px 16px;       /* reduced from 13px */
    color: var(--mw-text);
    font-size: 13px;
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none;
    cursor: pointer;
    transition: var(--mw-transition);
}

.mw-region-toggle:hover {
    background: var(--mw-light);
    color: var(--mw-red);
}

/* Reduce spacing inside the Counties dropdown */
.mw-counties-menu {
    padding: 4px 0;
}

/* Make each region tighter */
.mw-region {
    margin: 0;
    padding: 0;
}

/* County submenu */
.mw-county-submenu a {
    display: block;
    padding: 8px 14px;
    font-size: 13px;
    line-height: 1.2;
    color: var(--mw-text);
    text-decoration: none;
}

.mw-county-submenu a:hover {
    background: var(--mw-light);
    color: var(--mw-red);
}


/* Make username look like normal navigation links */
.mw-user-dropdown {
    position: relative;
}

.mw-user-name {
    color: inherit;
    text-decoration: none;
    padding: 10px 15px;
    display: block;
    font-weight: inherit;
    font-size: inherit;
}

.mw-user-name:hover {
    color: inherit;
}

/* Dropdown */
.mw-dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    min-width: 240px;
    background: #fff;
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
    border-radius: 6px;
    overflow: hidden;
    z-index: 9999;
}

/* Show dropdown on hover */
.mw-user-dropdown:hover .mw-dropdown-menu {
    display: block;
}

.mw-dropdown-menu a {
    display: block;
    padding: 12px 16px;
    color: #333;
    text-decoration: none;
    white-space: nowrap;
}

.mw-dropdown-menu a:hover {
    background: #f5f5f5;
}
/* =========================================================
   MOBILE NAVIGATION
   ========================================================= */

@media (max-width: 900px) {

    .mw-navbar {
        height: 68px;
    }

    .mw-nav-container {
        width: calc(100% - 30px);
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin: auto;
    }

    /* Hide desktop navigation off-screen */
    .mw-nav-menu {
        position: fixed !important;

        top: 68px !important;
        right: -100% !important;

        width: min(310px, 85vw) !important;
        height: calc(100vh - 68px) !important;

        margin: 0 !important;
        padding: 30px 25px !important;

        background: #ffffff !important;

        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;

        gap: 0 !important;

        box-shadow: -10px 0 30px rgba(6, 38, 74, 0.12);

        transition: right 0.3s ease;

        z-index: 9998 !important;

        overflow-y: auto;
    }

    /* OPEN */
    .mw-nav-menu.mobile-open {
        right: 0 !important;
    }

    /* Navigation links */
    .mw-nav-menu > a {
        display: block;

        padding: 17px 5px;

        font-size: 15px;

        border-bottom: 1px solid var(--mw-border);
    }

    .mw-nav-menu a.active::after {
        display: none;
    }

    /* Hide desktop buttons */
    .mw-login,
    .mw-signup {
        display: none !important;
    }

    /* Hamburger */
    .mw-menu-toggle {
        display: block !important;

        width: 44px;
        height: 44px;

        padding: 9px;

        border: 0;
        background: transparent;

        cursor: pointer;

        position: relative;

        z-index: 10001;
    }

    .mw-menu-toggle span {
        display: block;

        width: 25px;
        height: 2px;

        margin: 5px auto;

        background: var(--mw-navy);

        border-radius: 5px;

        transition: all 0.25s ease;
    }

    /* Hamburger becomes X */
    .mw-menu-toggle.open span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .mw-menu-toggle.open span:nth-child(2) {
        opacity: 0;
    }

    .mw-menu-toggle.open span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    /* Overlay */
    .mw-mobile-overlay.active {
        display: block;
    }

}

/* =========================================================
   HERO SECTION
   ========================================================= */

.mw-hero {
    position: relative;
    width: 100%;
    min-height: 390px;

    margin-top: 76px;

    overflow: hidden;

    display: flex;
    align-items: center;

    background: var(--mw-navy);
}


/* =========================================================
   HERO BACKGROUND IMAGE
   ========================================================= */

.mw-hero-bg {
    position: absolute;
    inset: 0;

    background-image: url("https://manifestowatchglobal.co.ke/images/join%20u.jpg");
    background-size: cover;
    background-position: center;

    z-index: 1;
}


/* =========================================================
   BLUE FADED OVERLAY
   ========================================================= */

.mw-hero-overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(3, 26, 53, 0.94) 0%,
            rgba(6, 38, 74, 0.82) 30%,
            rgba(6, 38, 74, 0.48) 60%,
            rgba(6, 38, 74, 0.18) 100%
        );

    z-index: 2;
}


/* =========================================================
   HERO CONTAINER
   ========================================================= */

.mw-hero-container {
    position: relative;

    width: min(100% - 80px, var(--mw-container));

    min-height: 390px;

    margin: auto;

    display: flex;
    align-items: center;
    justify-content: space-between;

    z-index: 3;
}


/* =========================================================
   HERO CONTENT
   ========================================================= */
/* =========================================================
   HERO SECTION
   ========================================================= */

.mw-hero {
    position: relative;

    width: 100%;
    height: 310px;

    margin-top: 76px;

    overflow: hidden;

    background: var(--mw-navy);
}


/* =========================================================
   HERO BACKGROUND IMAGE
   ========================================================= */

.mw-hero-bg {
    position: absolute;

    inset: 0;

    background-image: url("https://manifestowatchglobal.co.ke/images/join%20u.jpg");
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;

    transform: scale(1.01);
}


/* =========================================================
   BLUE FADED OVERLAY
   ========================================================= */

.mw-hero-overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(3, 26, 53, 0.96) 0%,
            rgba(3, 26, 53, 0.85) 30%,
            rgba(0, 0, 0, 0.65) 65%,
            rgba(0, 0, 0, 0.88) 100%
        );

    z-index: 1;
}

/* =========================================================
   HERO CONTAINER
   ========================================================= */

.mw-hero-container {
    position: relative;

    z-index: 2;

    width: min(100% - 80px, var(--mw-container));
    height: 100%;

    margin: auto;

    display: flex;
    align-items: center;
    justify-content: space-between;
}


/* =========================================================
   HERO CONTENT
   ========================================================= */

.mw-hero-content {
    width: 55%;
    max-width: 650px;

    color: var(--mw-white);
}


/* Small heading */

.mw-hero-eyebrow {
    display: block;

    margin-bottom: 3px;

    font-size: 13px;
    font-weight: 700;

    letter-spacing: 0.2px;

    color: rgba(255, 255, 255, 0.9);
}


/* Main heading */

.mw-hero-content h1 {
    margin: 0 0 6px;

    font-size: clamp(32px, 3.2vw, 48px);

    line-height: 0.98;

    font-weight: 800;

    letter-spacing: -1px;

    color: #ffffff;
}


/* Red heading */

.mw-hero-content h1 span {
    color: var(--mw-red);
}


/* Description */

.mw-hero-content p {
    max-width: 510px;

    margin: 0 0 14px;

    font-size: 13px;

    line-height: 1.35;

    font-weight: 400;

    color: rgba(255, 255, 255, 0.94);
}


/* =========================================================
   HERO BUTTONS
   ========================================================= */

.mw-hero-buttons {
    display: flex;

    align-items: center;

    gap: 10px;
}


/* General button */

.mw-hero-btn {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 9px;

    min-height: 36px;

    padding: 9px 18px;

    border-radius: 20px;

    text-decoration: none;

    font-size: 12px;
    font-weight: 700;

    transition: var(--mw-transition);
}


/* Primary */

.mw-hero-btn-primary {
    background: var(--mw-red);

    color: #ffffff;

    border: 1px solid var(--mw-red);
}

.mw-hero-btn-primary:hover {
    background: #ffffff;

    color: var(--mw-red);

    transform: translateY(-2px);
}


/* Secondary */

.mw-hero-btn-secondary {
    background: rgba(255, 255, 255, 0.05);

    color: #ffffff;

    border: 1px solid rgba(255, 255, 255, 0.85);
}

.mw-hero-btn-secondary:hover {
    background: #ffffff;

    color: var(--mw-navy);

    transform: translateY(-2px);
}


/* =========================================================
   RIGHT HERO MESSAGE
   ========================================================= */

.mw-hero-message {
    width: 35%;

    height: 100%;

    display: flex;

    align-items: center;
    justify-content: center;

    text-align: center;
}


/* Message */

.mw-hero-message-text {
    position: relative;

    margin-top: 5px;

    font-family: Georgia, "Times New Roman", serif;

    font-style: italic;

    font-size: clamp(28px, 3vw, 43px);

    line-height: 0.88;

    font-weight: 700;

    color: rgba(3, 38, 72, 0.95);

    text-shadow:
        0 1px 2px rgba(255, 255, 255, 0.35);
}


/* Possible */

.mw-hero-message-text strong {
    color: rgba(255, 255, 255, 0.35);

    font-weight: 800;
}


/* Red brush underneath */

.mw-hero-brush {
    position: absolute;

    width: 120px;
    height: 5px;

    margin-top: 115px;

    background: var(--mw-red);

    border-radius: 50%;

    transform: rotate(-4deg);

    opacity: 0.95;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1000px) {

    .mw-hero {
        height: 300px;
    }

    .mw-hero-container {
        width: calc(100% - 50px);
    }

    .mw-hero-content {
        width: 62%;
    }

    .mw-hero-message {
        width: 32%;
    }

    .mw-hero-message-text {
        font-size: 32px;
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 850px) {

    .mw-hero {
        margin-top: 68px;

        height: auto;

        min-height: 440px;
    }

    .mw-hero-bg {
        background-position: center;
    }

    .mw-hero-overlay {
        background:
            linear-gradient(
                180deg,
                rgba(3, 32, 61, 0.88) 0%,
                rgba(3, 38, 74, 0.82) 55%,
                rgba(3, 38, 74, 0.70) 100%
            );
    }

    .mw-hero-container {
        width: calc(100% - 35px);

        min-height: 440px;

        padding: 45px 0 35px;

        display: flex;

        flex-direction: column;

        align-items: flex-start;

        justify-content: center;
    }

    .mw-hero-content {
        width: 100%;
    }

    .mw-hero-content h1 {
        font-size: 38px;
    }

    .mw-hero-content p {
        max-width: 600px;

        font-size: 14px;

        line-height: 1.45;
    }

    .mw-hero-message {
        width: 100%;

        height: auto;

        margin-top: 30px;

        justify-content: flex-start;

        text-align: left;
    }

    .mw-hero-message-text {
        font-size: 30px;

        line-height: 0.9;
    }

    .mw-hero-brush {
        margin-top: 78px;

        margin-left: 5px;
    }

}


/* =========================================================
   SMALL PHONES
   ========================================================= */

@media (max-width: 480px) {

    .mw-hero {
        min-height: 460px;
    }

    .mw-hero-container {
        width: calc(100% - 28px);

        min-height: 460px;

        padding: 35px 0 30px;
    }

    .mw-hero-content h1 {
        font-size: 34px;
    }

    .mw-hero-content p {
        font-size: 13px;
    }

    .mw-hero-buttons {
        flex-wrap: wrap;
    }

    .mw-hero-btn {
        padding: 9px 15px;
    }

}

/* =====================================================
   USER MENU
   ===================================================== */

.mw-user-menu {
    position: relative;
}


/* Username button */

.mw-user-button {
    display: flex;
    align-items: center;
    gap: 8px;

    border: none;
    outline: none;

    background: #3f6f91;
    color: #ffffff;

    padding: 9px 14px;

    border-radius: 12px;

    font-size: 14px;
    font-weight: 600;

    cursor: pointer;

    transition:
        background 0.2s ease,
        transform 0.2s ease,
        box-shadow 0.2s ease;
}


/* Hover */

.mw-user-button:hover,
.mw-user-button.active {
    background: #315b79;

    box-shadow:
        0 6px 18px rgba(0, 0, 0, 0.15);

    transform: translateY(-1px);
}


/* User icon */

.mw-user-button > i:first-child {
    font-size: 17px;
}


/* Username */

.mw-user-button span {
    white-space: nowrap;
}


/* Chevron */

.mw-user-chevron {
    font-size: 11px;

    transition:
        transform 0.2s ease;
}


/* Rotate arrow */

.mw-user-button.active .mw-user-chevron {
    transform: rotate(180deg);
}


/* =====================================================
   USER DROPDOWN
   ===================================================== */

.mw-user-dropdown {
    position: absolute;

    top: calc(100% + 10px);
    right: 0;

    width: 270px;

    background: #ffffff;

    border-radius: 14px;

    padding: 8px;

    box-shadow:
        0 15px 40px rgba(0, 0, 0, 0.15);

    border: 1px solid rgba(0, 0, 0, 0.07);

    opacity: 0;
    visibility: hidden;

    transform:
        translateY(-8px);

    transition:
        opacity 0.2s ease,
        visibility 0.2s ease,
        transform 0.2s ease;

    z-index: 9999;
}


/* Show dropdown */

.mw-user-menu:hover .mw-user-dropdown,
.mw-user-dropdown.show {
    opacity: 1;
    visibility: visible;

    transform:
        translateY(0);
}


/* Dropdown links */

.mw-user-dropdown a {
    display: flex;
    align-items: center;

    gap: 12px;

    width: 100%;

    padding: 12px 13px;

    border-radius: 9px;

    text-decoration: none;

    color: #263746;

    font-size: 14px;
    font-weight: 500;

    transition:
        background 0.2s ease,
        color 0.2s ease;
}


/* Icons */

.mw-user-dropdown a i {
    width: 20px;

    font-size: 16px;

    color: #3f6f91;

    text-align: center;
}


/* Hover links */

.mw-user-dropdown a:hover {
    background: #edf5fa;

    color: #315b79;
}


/* Divider */

.mw-dropdown-divider {
    height: 1px;

    background: #e9eef2;

    margin: 6px 4px;
}


/* Logout */

.mw-user-dropdown .mw-logout {
    color: #b42318;
}

.mw-user-dropdown .mw-logout i {
    color: #b42318;
}

.mw-user-dropdown .mw-logout:hover {
    background: #fff1f0;

    color: #a51d13;
}


/* =====================================================
   MOBILE
   ===================================================== */

@media (max-width: 850px) {

    .mw-user-menu {
        width: 100%;
    }

    .mw-user-button {
        width: 100%;

        justify-content: flex-start;

        padding: 12px 15px;
    }

    .mw-user-chevron {
        margin-left: auto;
    }

    .mw-user-dropdown {
        position: static;

        width: 100%;

        margin-top: 8px;

        box-shadow: none;

        border: 1px solid #e6edf2;

        transform: none;
    }

    .mw-user-menu:hover .mw-user-dropdown {
        /* Don't force it open on mobile */
        opacity: 0;
        visibility: hidden;
    }

    .mw-user-dropdown.show {
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
    }

}

/* =====================================================
   NOTIFICATIONS
   ===================================================== */

.mw-notification {
    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 42px;
    height: 42px;

    color: #315b79;
    text-decoration: none;

    border-radius: 12px;

    transition: all 0.2s ease;
}

.mw-notification:hover {
    background: #edf5fa;
    color: #315b79;
}

.mw-notification > i {
    font-size: 19px;
}


/* Notification badge */

.mw-notification-badge {
    position: absolute;

    top: 2px;
    right: 1px;

    min-width: 18px;
    height: 18px;

    padding: 0 5px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #e63946;
    color: #ffffff;

    border-radius: 50px;

    font-size: 10px;
    font-weight: 700;

    border: 2px solid #ffffff;
}


/* =====================================================
   USER MENU
   ===================================================== */

.mw-user-menu {
    position: relative;
}


/* Username button */

.mw-user-button {
    display: flex;
    align-items: center;

    gap: 8px;

    border: none;
    outline: none;

    background: #3f6f91;
    color: #ffffff;

    padding: 9px 14px;

    border-radius: 12px;

    font-size: 14px;
    font-weight: 600;

    cursor: pointer;

    transition: all 0.2s ease;
}


/* Hover / active */

.mw-user-button:hover,
.mw-user-button.active {
    background: #315b79;

    box-shadow:
        0 6px 18px rgba(0, 0, 0, 0.15);
}


/* Person icon */

.mw-user-button > i:first-child {
    font-size: 17px;
}


/* Username */

.mw-username {
    white-space: nowrap;
}


/* Chevron */

.mw-user-chevron {
    font-size: 10px;

    transition: transform 0.2s ease;
}

.mw-user-button.active .mw-user-chevron {
    transform: rotate(180deg);
}


/* =====================================================
   USER DROPDOWN
   ===================================================== */

.mw-user-dropdown {
    position: absolute;

    top: calc(100% + 10px);
    right: 0;

    width: 285px;

    padding: 8px;

    background: #ffffff;

    border: 1px solid #e7edf2;

    border-radius: 14px;

    box-shadow:
        0 15px 40px rgba(0, 0, 0, 0.14);

    opacity: 0;
    visibility: hidden;

    transform: translateY(-8px);

    transition:
        opacity 0.2s ease,
        visibility 0.2s ease,
        transform 0.2s ease;

    z-index: 9999;
}


/* Show */

.mw-user-dropdown.show {
    opacity: 1;
    visibility: visible;

    transform: translateY(0);
}


/* Desktop hover */

@media (min-width: 851px) {

    .mw-user-menu:hover .mw-user-dropdown {
        opacity: 1;
        visibility: visible;

        transform: translateY(0);
    }

}


/* Dropdown links */

.mw-user-dropdown a {
    display: flex;
    align-items: center;

    gap: 12px;

    padding: 12px 13px;

    border-radius: 9px;

    color: #263746;

    text-decoration: none;

    font-size: 14px;
    font-weight: 500;

    transition: all 0.2s ease;
}


/* Icons */

.mw-user-dropdown a i {
    width: 20px;

    text-align: center;

    font-size: 16px;

    color: #3f6f91;
}


/* Hover */

.mw-user-dropdown a:hover {
    background: #edf5fa;

    color: #315b79;
}


/* Divider */

.mw-dropdown-divider {
    height: 1px;

    margin: 6px 4px;

    background: #e6edf2;
}


/* Logout */

.mw-user-dropdown .mw-logout {
    color: #b42318;
}

.mw-user-dropdown .mw-logout i {
    color: #b42318;
}

.mw-user-dropdown .mw-logout:hover {
    background: #fff1f0;
    color: #a51d13;
}

css
/* =========================================================
   CANDIDATES PAGE
   ========================================================= */

.mw-candidates-page {
    background: var(--mw-light);
    min-height: 100vh;
    padding-bottom: 70px;
}


/* =========================================================
   PAGE HEADER
   ========================================================= */

.mw-page-header {
    margin-top: 76px;

    background:
        linear-gradient(
            135deg,
            var(--mw-navy-dark),
            var(--mw-navy)
        );

    color: var(--mw-white);

    padding: 42px 0;
}

.mw-page-container {
    width: min(100% - 40px, var(--mw-container));
    margin: 0 auto;
}

.mw-page-container {
    box-sizing: border-box;
}


.mw-page-header-content {
    display: flex;
    flex-direction: column;
}


.mw-page-header-content .mw-page-eyebrow {
    font-size: 11px;
    font-weight: 800;

    letter-spacing: 1.8px;

    color: rgba(255,255,255,0.65);

    margin-bottom: 7px;
}


.mw-page-header-content h1 {
    margin: 0;

    font-size: clamp(32px, 4vw, 48px);

    line-height: 1;

    font-weight: 800;

    letter-spacing: -1px;
}


.mw-page-header-content p {
    margin: 10px 0 0;

    font-size: 14px;

    color: rgba(255,255,255,0.78);

    max-width: 520px;
}


/* Header action */

.mw-page-header .mw-page-container {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 30px;
}


.mw-page-action {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    padding: 11px 18px;

    border-radius: 9px;

    background: rgba(255,255,255,0.1);

    border: 1px solid rgba(255,255,255,0.3);

    color: #ffffff;

    text-decoration: none;

    font-size: 13px;
    font-weight: 700;

    transition: var(--mw-transition);
}


.mw-page-action:hover {
    background: #ffffff;
    color: var(--mw-navy);

    transform: translateY(-2px);
}


.mw-page-action-red {
    background: var(--mw-red);
    border-color: var(--mw-red);
}


.mw-page-action-red:hover {
    background: #ffffff;
    color: var(--mw-red);
}


/* =========================================================
   GUEST NOTICE
   ========================================================= */

.mw-candidate-notice {
    padding: 20px 0 0;
}


.mw-notice-inner {
    display: flex;
    align-items: center;

    gap: 14px;

    background: #ffffff;

    border: 1px solid var(--mw-border);

    border-left: 4px solid var(--mw-red);

    border-radius: var(--mw-radius);

    padding: 15px 18px;

    box-shadow: var(--mw-shadow);
}


.mw-notice-icon {
    width: 38px;
    height: 38px;

    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: rgba(237,28,36,0.08);

    color: var(--mw-red);
}


.mw-notice-content {
    display: flex;
    flex-direction: column;

    gap: 3px;

    flex: 1;
}


.mw-notice-content strong {
    color: var(--mw-text);

    font-size: 13px;
}


.mw-notice-content span {
    color: var(--mw-muted);

    font-size: 12px;
}


.mw-notice-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}


.mw-notice-login,
.mw-notice-signup {
    text-decoration: none;

    font-size: 12px;
    font-weight: 700;

    padding: 9px 14px;

    border-radius: 7px;
}


.mw-notice-login {
    color: var(--mw-navy);
}


.mw-notice-signup {
    background: var(--mw-red);
    color: #ffffff;
}


.mw-notice-signup:hover {
    background: var(--mw-navy);
}


/* =========================================================
   FILTER SECTION
   ========================================================= */

.mw-filter-section {
    padding: 30px 0 10px;
}


.mw-filter-card {
    background: #ffffff;

    border: 1px solid var(--mw-border);

    border-radius: var(--mw-radius);

    padding: 22px;

    box-shadow: var(--mw-shadow);
}


.mw-filter-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;

    gap: 20px;

    margin-bottom: 20px;
}


.mw-filter-eyebrow {
    display: block;

    font-size: 10px;
    font-weight: 800;

    letter-spacing: 1.5px;

    color: var(--mw-red);

    margin-bottom: 4px;
}


.mw-filter-heading h2 {
    margin: 0;

    color: var(--mw-text);

    font-size: 20px;

    font-weight: 800;
}


.mw-clear-filter {
    display: inline-flex;
    align-items: center;
    gap: 6px;

    color: var(--mw-muted);

    text-decoration: none;

    font-size: 12px;
    font-weight: 600;
}


.mw-clear-filter:hover {
    color: var(--mw-red);
}


/* =========================================================
   FILTER FORM
   ========================================================= */

.mw-filter-form {
    display: grid;

    grid-template-columns:
        minmax(180px, 1fr)
        minmax(180px, 1fr)
        minmax(180px, 1fr)
        auto;

    gap: 14px;

    align-items: end;
}


.mw-filter-field {
    min-width: 0;
}


.mw-filter-field label {
    display: block;

    margin-bottom: 7px;

    color: var(--mw-text);

    font-size: 11px;
    font-weight: 700;
}


.mw-select-wrap {
    position: relative;
}


.mw-select-wrap select {
    width: 100%;

    height: 44px;

    appearance: none;

    border: 1px solid var(--mw-border);

    border-radius: 8px;

    background: #ffffff;

    color: var(--mw-text);

    padding: 0 38px 0 13px;

    font-family: inherit;

    font-size: 13px;

    outline: none;

    cursor: pointer;

    transition: var(--mw-transition);
}


.mw-select-wrap select:focus {
    border-color: var(--mw-red);

    box-shadow:
        0 0 0 3px rgba(237,28,36,0.08);
}


.mw-select-wrap select:disabled {
    background: #f1f4f7;

    color: #9aa7b5;

    cursor: not-allowed;
}


.mw-select-wrap i {
    position: absolute;

    top: 50%;
    right: 14px;

    transform: translateY(-50%);

    pointer-events: none;

    font-size: 10px;

    color: var(--mw-muted);
}


/* Filter button */

.mw-filter-button {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 8px;

    height: 44px;

    padding: 0 19px;

    border: 1px solid var(--mw-red);

    border-radius: 8px;

    background: var(--mw-red);

    color: #ffffff;

    text-decoration: none;

    font-family: inherit;

    font-size: 12px;
    font-weight: 700;

    cursor: pointer;

    white-space: nowrap;

    transition: var(--mw-transition);
}


.mw-filter-button:hover {
    background: var(--mw-navy);

    border-color: var(--mw-navy);

    transform: translateY(-1px);
}


/* =========================================================
   RESULTS HEADING
   ========================================================= */

.mw-candidates-section {
    padding: 25px 0;
}


.mw-results-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;

    margin-bottom: 18px;
}


.mw-results-eyebrow {
    display: block;

    color: var(--mw-red);

    font-size: 10px;
    font-weight: 800;

    letter-spacing: 1.5px;

    margin-bottom: 4px;
}


.mw-results-heading h2 {
    margin: 0;

    color: var(--mw-text);

    font-size: 23px;

    font-weight: 800;
}


.mw-results-count {
    color: var(--mw-muted);

    font-size: 12px;
    font-weight: 600;

    background: #ffffff;

    border: 1px solid var(--mw-border);

    padding: 7px 11px;

    border-radius: 20px;
}


/* =========================================================
   CANDIDATE GRID
   ========================================================= */

.mw-candidates-grid {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 18px;
}


/* =========================================================
   CANDIDATE CARD
   ========================================================= */

.mw-candidate-card {
    position: relative;

    min-width: 0;

    background: #ffffff;

    border: 1px solid var(--mw-border);

    border-radius: 16px;

    overflow: hidden;

    box-shadow: var(--mw-shadow);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}


.mw-candidate-card:hover {
    transform: translateY(-5px);

    border-color: rgba(6,38,74,0.15);

    box-shadow:
        0 16px 40px rgba(6,38,74,0.13);
}


/* =========================================================
   YOUNGEST CARD
   ========================================================= */

.mw-youngest-card {
    border-color: #d4af37;
}


.mw-youngest-badge {
    position: absolute;

    top: 12px;
    left: 12px;

    z-index: 5;

    display: inline-flex;
    align-items: center;
    gap: 5px;

    background: #d4af37;

    color: #ffffff;

    padding: 6px 9px;

    border-radius: 20px;

    font-size: 9px;
    font-weight: 800;

    box-shadow:
        0 4px 12px rgba(0,0,0,0.15);
}


/* =========================================================
   CANDIDATE PHOTO
   ========================================================= */

.mw-candidate-photo-link {
    display: block;

    text-decoration: none;
}


.mw-candidate-photo {
    height: 225px;

    background:
        linear-gradient(
            180deg,
            #edf3f8,
            #dce7f0
        );

    display: flex;

    align-items: flex-end;
    justify-content: center;

    overflow: hidden;
}


.mw-candidate-photo img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    display: block;

    transition: transform 0.35s ease;
}


.mw-candidate-card:hover
.mw-candidate-photo img {
    transform: scale(1.04);
}


/* =========================================================
   CANDIDATE CONTENT
   ========================================================= */

.mw-candidate-content {
    padding: 17px;
}


.mw-candidate-name {
    margin: 0 0 7px;

    font-size: 17px;

    line-height: 1.15;

    font-weight: 800;
}


.mw-candidate-name a {
    color: var(--mw-text);

    text-decoration: none;

    transition: var(--mw-transition);
}


.mw-candidate-name a:hover {
    color: var(--mw-red);
}


/* Position */

.mw-candidate-position {
    display: inline-flex;

    align-items: center;

    gap: 5px;

    margin-bottom: 13px;

    color: var(--mw-red);

    font-size: 12px;

    font-weight: 800;
}


.mw-candidate-position span {
    color: var(--mw-muted);

    font-size: 9px;

    letter-spacing: 0.5px;
}


/* =========================================================
   LOCATION
   ========================================================= */

.mw-candidate-location {
    display: flex;

    flex-direction: column;

    gap: 6px;

    padding-top: 11px;

    border-top: 1px solid var(--mw-border);

    margin-bottom: 15px;
}


.mw-candidate-location a {
    display: flex;

    align-items: center;

    gap: 8px;

    color: var(--mw-muted);

    text-decoration: none;

    font-size: 11px;

    font-weight: 500;
}


.mw-candidate-location a:first-child {
    color: var(--mw-text);

    font-weight: 700;
}


.mw-candidate-location a:hover {
    color: var(--mw-red);
}


.mw-candidate-location i {
    width: 13px;

    color: var(--mw-red);

    font-size: 10px;

    text-align: center;
}


/* =========================================================
   VIEW PROFILE
   ========================================================= */

.mw-view-profile {
    display: flex;

    align-items: center;
    justify-content: space-between;

    width: 100%;

    box-sizing: border-box;

    padding: 10px 12px;

    border-radius: 8px;

    background: var(--mw-light);

    color: var(--mw-navy);

    text-decoration: none;

    font-size: 11px;
    font-weight: 800;

    transition: var(--mw-transition);
}


.mw-view-profile:hover {
    background: var(--mw-red);

    color: #ffffff;
}


.mw-view-profile i {
    font-size: 10px;
}


/* =========================================================
   NO RESULTS
   ========================================================= */

.mw-no-candidates {
    grid-column: 1 / -1;

    text-align: center;

    background: #ffffff;

    border: 1px solid var(--mw-border);

    border-radius: var(--mw-radius);

    padding: 60px 25px;

    box-shadow: var(--mw-shadow);
}


.mw-no-candidates-icon {
    width: 60px;
    height: 60px;

    margin: 0 auto 15px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: var(--mw-light);

    color: var(--mw-muted);

    font-size: 22px;
}


.mw-no-candidates h3 {
    margin: 0 0 6px;

    color: var(--mw-text);

    font-size: 20px;
}


.mw-no-candidates p {
    margin: 0 0 20px;

    color: var(--mw-muted);

    font-size: 13px;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1100px) {

    .mw-candidates-grid {
        grid-template-columns:
            repeat(3, minmax(0, 1fr));
    }

}


@media (max-width: 900px) {

    .mw-filter-form {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .mw-filter-button {
        width: 100%;
    }

    .mw-candidates-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 650px) {

    .mw-page-header {
        margin-top: 68px;

        padding: 32px 0;
    }

    .mw-page-container {
        width: calc(100% - 28px);
    }

    .mw-page-header .mw-page-container {
        align-items: flex-start;

        flex-direction: column;

        gap: 20px;
    }

    .mw-page-action {
        width: 100%;

        justify-content: center;

        box-sizing: border-box;
    }


    /* Notice */

    .mw-notice-inner {
        align-items: flex-start;

        flex-wrap: wrap;
    }

    .mw-notice-content {
        min-width: 0;
    }

    .mw-notice-actions {
        width: 100%;

        margin-left: 52px;
    }

    .mw-notice-login,
    .mw-notice-signup {
        flex: 1;

        text-align: center;
    }


    /* Filter */

    .mw-filter-card {
        padding: 17px;
    }

    .mw-filter-heading {
        align-items: flex-start;

        flex-direction: column;

        margin-bottom: 17px;
    }

    .mw-filter-form {
        grid-template-columns: 1fr;
    }


    /* Results */

    .mw-results-heading {
        align-items: flex-start;

        flex-direction: column;

        gap: 9px;
    }


    /* Cards */

    .mw-candidates-grid {
        grid-template-columns: 1fr 1fr;

        gap: 12px;
    }

    .mw-candidate-photo {
        height: 190px;
    }

    .mw-candidate-content {
        padding: 13px;
    }

    .mw-candidate-name {
        font-size: 15px;
    }

    .mw-candidate-position {
        font-size: 10px;
    }

    .mw-candidate-location a {
        font-size: 10px;
    }

    .mw-view-profile {
        font-size: 10px;
    }

}


/* =========================================================
   SMALL PHONES
   ========================================================= */

@media (max-width: 420px) {

    .mw-candidates-grid {
        grid-template-columns: 1fr;
    }

    .mw-candidate-photo {
        height: 260px;
    }

    .mw-notice-actions {
        margin-left: 0;
    }

}

/* =========================================================
   LOGIN PAGE
   ========================================================= */

.mw-login-page {
    min-height: 100vh;

    background: var(--mw-light);

    padding-bottom: 70px;
}


/* =========================================================
   LOGIN HERO
   ========================================================= */

.mw-login-hero {
    position: relative;

    margin-top: 76px;

    min-height: 270px;

    overflow: hidden;

    display: flex;
    align-items: center;

    background:
        linear-gradient(
            135deg,
            var(--mw-navy-dark),
            var(--mw-navy)
        );

    color: #ffffff;
}


.mw-login-hero-pattern {
    position: absolute;

    inset: 0;

    opacity: 0.12;

    background-image:
        radial-gradient(
            circle at 20% 30%,
            #ffffff 1px,
            transparent 1px
        );

    background-size: 24px 24px;
}


.mw-login-container {
    position: relative;

    width: min(
        100% - 40px,
        var(--mw-container)
    );

    margin: auto;
}


.mw-login-brand {
    display: flex;

    align-items: center;

    gap: 10px;

    margin-bottom: 25px;
}


.mw-login-brand img {
    width: 42px;
    height: 42px;

    object-fit: cover;

    border-radius: 10px;

    border: 2px solid
        rgba(255,255,255,0.4);
}


.mw-login-brand span {
    font-size: 12px;

    font-weight: 800;

    letter-spacing: 1.5px;

    color:
        rgba(255,255,255,0.9);
}


.mw-login-intro {
    max-width: 650px;
}


.mw-login-eyebrow {
    display: block;

    margin-bottom: 7px;

    font-size: 10px;

    font-weight: 800;

    letter-spacing: 1.8px;

    color:
        rgba(255,255,255,0.6);
}


.mw-login-intro h1 {
    margin: 0;

    font-size:
        clamp(32px, 4vw, 48px);

    line-height: 1;

    font-weight: 800;

    letter-spacing: -1.2px;
}


.mw-login-intro h1 span {
    color: var(--mw-red);
}


.mw-login-intro p {
    margin: 12px 0 0;

    font-size: 14px;

    line-height: 1.5;

    color:
        rgba(255,255,255,0.75);
}


/* =========================================================
   LOGIN SECTION
   ========================================================= */

.mw-login-section {
    position: relative;

    margin-top: -45px;

    z-index: 5;
}


.mw-login-content-wrap {
    display: grid;

    grid-template-columns:
        minmax(350px, 500px)
        minmax(300px, 1fr);

    align-items: center;

    gap: 60px;
}


/* =========================================================
   LOGIN CARD
   ========================================================= */

.mw-login-card {
    background: #ffffff;

    border: 1px solid var(--mw-border);

    border-radius: 18px;

    padding: 28px;

    box-shadow:
        0 20px 55px
        rgba(6,38,74,0.14);
}


.mw-login-card-header {
    display: flex;

    align-items: center;

    gap: 13px;

    margin-bottom: 24px;
}


.mw-login-icon {
    width: 46px;
    height: 46px;

    flex-shrink: 0;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 12px;

    background:
        rgba(237,28,36,0.08);

    color: var(--mw-red);

    font-size: 18px;
}


.mw-login-card-header h2 {
    margin: 0 0 3px;

    color: var(--mw-text);

    font-size: 22px;

    font-weight: 800;
}


.mw-login-card-header p {
    margin: 0;

    color: var(--mw-muted);

    font-size: 12px;
}


/* =========================================================
   FORM
   ========================================================= */

.mw-login-form {
    width: 100%;

    margin: 0;

    padding: 0;

    border: none;

    background: transparent;

    border-radius: 0;
}


.mw-login-field {
    margin-bottom: 17px;
}


.mw-login-field label {
    display: block;

    margin-bottom: 7px;

    color: var(--mw-text);

    font-size: 12px;

    font-weight: 700;
}


.mw-login-label-row {
    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 10px;

    margin-bottom: 7px;
}


.mw-login-label-row label {
    margin: 0;
}


.mw-login-label-row a {
    color: var(--mw-red);

    text-decoration: none;

    font-size: 11px;

    font-weight: 700;
}


.mw-login-label-row a:hover {
    color: var(--mw-navy);
}


/* =========================================================
   INPUT
   ========================================================= */

.mw-login-input {
    position: relative;

    display: flex;

    align-items: center;
}


.mw-login-input > i:first-child {
    position: absolute;

    left: 14px;

    color: var(--mw-muted);

    font-size: 13px;

    pointer-events: none;
}


.mw-login-input input {
    width: 100%;

    height: 47px;

    box-sizing: border-box;

    padding: 0 45px 0 40px;

    border: 1px solid var(--mw-border);

    border-radius: 9px;

    background: #ffffff;

    color: var(--mw-text);

    font-family: inherit;

    font-size: 13px;

    outline: none;

    transition: var(--mw-transition);
}


.mw-login-input input::placeholder {
    color: #9aa7b5;
}


.mw-login-input input:focus {
    border-color: var(--mw-red);

    box-shadow:
        0 0 0 3px
        rgba(237,28,36,0.08);
}


/* Password toggle */

.mw-password-toggle {
    position: absolute;

    right: 4px;

    top: 4px;

    width: 39px;
    height: 39px;

    border: none;

    background: transparent;

    color: var(--mw-muted);

    cursor: pointer;

    border-radius: 7px;

    transition: var(--mw-transition);
}


.mw-password-toggle:hover {
    color: var(--mw-red);

    background: var(--mw-light);
}


/* =========================================================
   LOGIN BUTTON
   ========================================================= */

.mw-login-button {
    width: 100%;

    height: 47px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    padding: 0 17px;

    margin-top: 7px;

    border: 1px solid var(--mw-red);

    border-radius: 9px;

    background: var(--mw-red);

    color: #ffffff;

    font-family: inherit;

    font-size: 13px;

    font-weight: 800;

    cursor: pointer;

    transition: var(--mw-transition);
}


.mw-login-button:hover {
    background: var(--mw-navy);

    border-color: var(--mw-navy);

    transform: translateY(-1px);

    box-shadow:
        0 8px 20px
        rgba(6,38,74,0.15);
}


.mw-login-button i {
    font-size: 11px;
}


/* =========================================================
   REGISTER
   ========================================================= */

.mw-login-register {
    display: flex;

    justify-content: center;

    align-items: center;

    gap: 5px;

    margin-top: 20px;

    padding-top: 18px;

    border-top: 1px solid var(--mw-border);

    color: var(--mw-muted);

    font-size: 12px;
}


.mw-login-register a {
    color: var(--mw-red);

    text-decoration: none;

    font-weight: 800;
}


.mw-login-register a:hover {
    color: var(--mw-navy);
}


/* =========================================================
   SIDE CONTENT
   ========================================================= */

.mw-login-side {
    max-width: 470px;

    padding: 30px 0;
}


.mw-login-side-label {
    display: inline-block;

    margin-bottom: 13px;

    color: var(--mw-red);

    font-size: 10px;

    font-weight: 800;

    letter-spacing: 1.8px;
}


.mw-login-side h2 {
    margin: 0;

    color: var(--mw-text);

    font-size:
        clamp(30px, 3.5vw, 44px);

    line-height: 0.98;

    letter-spacing: -1.2px;

    font-weight: 800;
}


.mw-login-side h2 span {
    color: var(--mw-red);
}


.mw-login-side > p {
    max-width: 420px;

    margin: 17px 0;

    color: var(--mw-muted);

    font-size: 13px;

    line-height: 1.65;
}


.mw-login-side-line {
    width: 55px;

    height: 3px;

    margin: 20px 0;

    background: var(--mw-red);

    border-radius: 5px;
}


.mw-login-side-points {
    display: flex;

    flex-direction: column;

    gap: 12px;
}


.mw-login-side-points div {
    display: flex;

    align-items: center;

    gap: 11px;

    color: var(--mw-text);

    font-size: 12px;

    font-weight: 700;
}


.mw-login-side-points i {
    width: 30px;
    height: 30px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 8px;

    background:
        rgba(6,38,74,0.07);

    color: var(--mw-navy);

    font-size: 12px;
}


/* =========================================================
   ERROR MESSAGE OVERRIDE
   ========================================================= */

.mw-login-card .error {
    width: auto;

    margin: 0 0 17px;

    padding: 10px 12px;

    border: 1px solid #f0c2c2;

    border-radius: 8px;

    background: #fff5f5;

    color: #b42318;

    font-size: 12px;
}


.mw-login-card .success {
    width: auto;

    margin: 0 0 17px;

    padding: 10px 12px;

    border: 1px solid #b8dfb8;

    border-radius: 8px;

    background: #f1faef;

    color: #28722d;

    font-size: 12px;
}


/* =========================================================
   PROMISE DISPLAY
   ========================================================= */

#promiseDisplay {
    width: min(
        100% - 40px,
        var(--mw-container)
    );

    box-sizing: border-box;

    margin: 40px auto 0;

    padding: 22px;

    background: #ffffff;

    border: 1px solid var(--mw-border);

    border-left: 4px solid var(--mw-red);

    border-radius: var(--mw-radius);

    box-shadow: var(--mw-shadow);
}


#promiseDisplay .author-img {
    display: block;

    width: 70px;
    height: 70px;

    border-radius: 12px;

    object-fit: cover;

    float: left;

    margin: 0 15px 8px 0;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 950px) {

    .mw-login-content-wrap {
        grid-template-columns:
            minmax(320px, 470px);

        justify-content: center;
    }

    .mw-login-side {
        display: none;
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 850px) {

    .mw-login-hero {
        margin-top: 68px;

        min-height: 245px;

        padding: 35px 0;
    }

    .mw-login-container {
        width: calc(100% - 28px);
    }

    .mw-login-section {
        margin-top: -30px;
    }

    .mw-login-card {
        padding: 22px 18px;

        border-radius: 15px;
    }

    .mw-login-intro h1 {
        font-size: 34px;
    }

    .mw-login-intro p {
        font-size: 13px;
    }

}


/* =========================================================
   SMALL PHONES
   ========================================================= */

@media (max-width: 480px) {

    .mw-login-hero {
        min-height: 260px;
    }

    .mw-login-brand {
        margin-bottom: 20px;
    }

    .mw-login-intro h1 {
        font-size: 30px;
    }

    .mw-login-card-header h2 {
        font-size: 20px;
    }

    .mw-login-register {
        flex-direction: column;

        gap: 4px;
    }

    #promiseDisplay {
        width: calc(100% - 28px);

        padding: 17px;
    }

}

/* =========================================================
   REGISTRATION PAGE
   ========================================================= */

.mw-registration-page {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    background: var(--mw-light);
    color: var(--mw-text);
}


/* =========================================================
   REGISTRATION LAYOUT
   ========================================================= */

.mw-registration {
    min-height: 100vh;
    display: grid;
    grid-template-columns: minmax(360px, 0.85fr) minmax(520px, 1.15fr);
}


/* =========================================================
   LEFT INTRO PANEL
   ========================================================= */

.mw-registration-intro {
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(
            145deg,
            var(--mw-navy-dark) 0%,
            var(--mw-navy) 60%,
            #0a3766 100%
        );
    color: var(--mw-white);
}

.mw-registration-intro::before {
    content: "";
    position: absolute;
    width: 420px;
    height: 420px;
    right: -220px;
    top: -160px;
    border-radius: 50%;
    border: 70px solid rgba(255,255,255,0.035);
}

.mw-registration-intro::after {
    content: "";
    position: absolute;
    width: 300px;
    height: 300px;
    left: -180px;
    bottom: -150px;
    border-radius: 50%;
    border: 55px solid rgba(237,28,36,0.12);
}

.mw-registration-intro-inner {
    position: relative;
    z-index: 2;
    width: min(100% - 70px, 570px);
    margin: auto;
    padding: 55px 0;
}


/* =========================================================
   BRAND
   ========================================================= */

.mw-registration-brand {
    width: 72px;
    height: 72px;
    margin-bottom: 55px;
    padding: 7px;
    background: rgba(255,255,255,0.95);
    border-radius: 18px;
    box-shadow:
        0 10px 30px rgba(0,0,0,0.15);
}

.mw-registration-brand img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 12px;
}


/* =========================================================
   INTRO TYPOGRAPHY
   ========================================================= */

.mw-registration-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 13px;
    color: rgba(255,255,255,0.75);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.5px;
}

.mw-registration-eyebrow::before {
    content: "";
    width: 24px;
    height: 2px;
    background: var(--mw-red);
    border-radius: 5px;
}

.mw-registration-intro h1 {
    margin: 0 0 20px;
    font-size: clamp(42px, 5vw, 68px);
    line-height: 0.96;
    letter-spacing: -2px;
    font-weight: 850;
    color: #fff;
}

.mw-registration-intro h1 span {
    color: var(--mw-red);
}

.mw-registration-lead {
    max-width: 500px;
    margin: 0 0 35px;
    color: rgba(255,255,255,0.78);
    font-size: 15px;
    line-height: 1.7;
}


/* =========================================================
   BENEFIT POINTS
   ========================================================= */

.mw-registration-points {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.mw-registration-point {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.mw-registration-icon {
    flex-shrink: 0;
    width: 27px;
    height: 27px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(237,28,36,0.15);
    border: 1px solid rgba(237,28,36,0.35);
    border-radius: 50%;
    color: var(--mw-red);
    font-size: 13px;
    font-weight: 800;
}

.mw-registration-point strong {
    display: block;
    margin-bottom: 3px;
    font-size: 14px;
    font-weight: 750;
    color: #fff;
}

.mw-registration-point p {
    margin: 0;
    color: rgba(255,255,255,0.62);
    font-size: 12px;
    line-height: 1.5;
}


/* =========================================================
   QUOTE
   ========================================================= */

.mw-registration-quote {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 45px;
    padding-top: 25px;
    border-top: 1px solid rgba(255,255,255,0.12);
}

.mw-registration-quote span {
    color: var(--mw-red);
    font-size: 40px;
    line-height: 20px;
    font-weight: 800;
}

.mw-registration-quote p {
    margin: 0;
    color: rgba(255,255,255,0.7);
    font-size: 12px;
    font-weight: 600;
}


/* =========================================================
   RIGHT FORM SECTION
   ========================================================= */

.mw-registration-form-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 50px 40px;
    background:
        radial-gradient(
            circle at top right,
            rgba(6,38,74,0.035),
            transparent 35%
        ),
        var(--mw-light);
}


/* =========================================================
   REGISTRATION CARD
   ========================================================= */

.mw-registration-card {
    width: 100%;
    max-width: 650px;
    padding: 42px;
    background: var(--mw-white);
    border: 1px solid var(--mw-border);
    border-radius: 22px;
    box-shadow:
        0 20px 60px rgba(6,38,74,0.10);
}


/* =========================================================
   FORM HEADER
   ========================================================= */

.mw-registration-card-header {
    margin-bottom: 30px;
}

.mw-registration-logo-mobile {
    display: none;
}

.mw-form-eyebrow {
    display: block;
    margin-bottom: 8px;
    color: var(--mw-red);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.3px;
}

.mw-registration-card-header h2 {
    margin: 0 0 8px;
    color: var(--mw-navy);
    font-size: clamp(28px, 3vw, 36px);
    line-height: 1.1;
    letter-spacing: -0.8px;
    font-weight: 800;
}

.mw-registration-card-header p {
    max-width: 500px;
    margin: 0;
    color: var(--mw-muted);
    font-size: 13px;
    line-height: 1.55;
}


/* =========================================================
   FORM
   ========================================================= */

.mw-registration-form {
    width: 100%;
    padding: 0;
    margin: 0;
    border: 0;
    background: transparent;
    border-radius: 0;
}

.mw-form-group {
    margin: 0 0 19px;
}

.mw-form-group label {
    display: block;
    margin: 0 0 7px;
    color: var(--mw-text);
    font-size: 12px;
    font-weight: 750;
}

.mw-form-group input,
.mw-form-group select {
    box-sizing: border-box;
    width: 100%;
    height: 48px;
    padding: 0 14px;
    border: 1px solid var(--mw-border);
    border-radius: 10px;
    outline: none;
    background: #fbfcfe;
    color: var(--mw-text);
    font-family: inherit;
    font-size: 13px;
    transition: var(--mw-transition);
}

.mw-form-group input::placeholder {
    color: #9aa8b7;
}

.mw-form-group select {
    cursor: pointer;
}

.mw-form-group input:hover,
.mw-form-group select:hover {
    border-color: #cbd7e3;
}

.mw-form-group input:focus,
.mw-form-group select:focus {
    border-color: var(--mw-navy);
    background: #fff;
    box-shadow:
        0 0 0 3px rgba(6,38,74,0.07);
}


/* =========================================================
   PASSWORD ROW
   ========================================================= */

.mw-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}


/* =========================================================
   PRIVACY CHECKBOX
   ========================================================= */

.mw-privacy {
    margin: 4px 0 22px;
}

.mw-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
}

.mw-checkbox input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.mw-checkmark {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    margin-top: 1px;
    border: 1px solid #c8d3df;
    border-radius: 5px;
    background: #fff;
    transition: var(--mw-transition);
}

.mw-checkbox input:checked + .mw-checkmark {
    background: var(--mw-red);
    border-color: var(--mw-red);
    box-shadow:
        inset 0 0 0 4px #fff;
}

.mw-privacy-text {
    color: var(--mw-muted);
    font-size: 11px;
    line-height: 1.55;
}

.mw-privacy-text a {
    color: var(--mw-navy);
    font-weight: 700;
    text-decoration: none;
}

.mw-privacy-text a:hover {
    color: var(--mw-red);
    text-decoration: underline;
}


/* =========================================================
   REGISTER BUTTON
   ========================================================= */

.mw-register-btn {
    width: 100%;
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 20px;
    border: 1px solid var(--mw-red);
    border-radius: 10px;
    background: var(--mw-red);
    color: #fff;
    font-family: inherit;
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
    transition: var(--mw-transition);
}

.mw-register-btn span {
    font-size: 18px;
    line-height: 1;
    transition: transform 0.25s ease;
}

.mw-register-btn:hover {
    background: var(--mw-navy);
    border-color: var(--mw-navy);
    transform: translateY(-1px);
    box-shadow:
        0 8px 20px rgba(6,38,74,0.15);
}

.mw-register-btn:hover span {
    transform: translateX(4px);
}


/* =========================================================
   LOGIN PROMPT
   ========================================================= */

.mw-login-prompt {
    margin-top: 20px;
    text-align: center;
    color: var(--mw-muted);
    font-size: 12px;
}

.mw-login-prompt a {
    color: var(--mw-navy);
    font-weight: 800;
    text-decoration: none;
}

.mw-login-prompt a:hover {
    color: var(--mw-red);
}


/* =========================================================
   ERROR / SUCCESS MESSAGES
   ========================================================= */

.mw-registration-form .error {
    box-sizing: border-box;
    width: 100%;
    margin: 0 0 20px;
    padding: 12px 14px;
    border: 1px solid #f0b7b9;
    border-radius: 9px;
    background: #fff5f5;
    color: #a94442;
    font-size: 12px;
    line-height: 1.5;
}

.mw-registration-form .success {
    box-sizing: border-box;
    width: 100%;
    margin: 0 0 20px;
    padding: 12px 14px;
    border: 1px solid #b8dfc2;
    border-radius: 9px;
    background: #f3fbf5;
    color: #26733a;
    font-size: 12px;
}


/* =========================================================
   PROMISE DISPLAY
   ========================================================= */

#promiseDisplay {
    box-sizing: border-box;
    width: min(90%, 900px);
    margin: 35px auto;
    padding: 25px;
    border: 1px solid var(--mw-border);
    border-radius: var(--mw-radius);
    background: var(--mw-white);
    color: var(--mw-text);
    box-shadow: var(--mw-shadow);
}

.author-img {
    display: block;
    width: 85px;
    height: 85px;
    margin: 0 15px 10px 0;
    border-radius: 12px;
    object-fit: cover;
    float: left;
}


/* =========================================================
   TABLET
   ========================================================= */

@media screen and (max-width: 1050px) {

    .mw-registration {
        grid-template-columns: 1fr;
    }

    .mw-registration-intro {
        min-height: auto;
    }

    .mw-registration-intro-inner {
        width: min(100% - 50px, 700px);
        padding: 45px 0;
    }

    .mw-registration-brand {
        margin-bottom: 35px;
    }

    .mw-registration-points {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }

    .mw-registration-quote {
        display: none;
    }

    .mw-registration-form-section {
        min-height: auto;
        padding: 45px 25px;
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media screen and (max-width: 700px) {

    .mw-registration-intro-inner {
        width: min(100% - 36px, 600px);
        padding: 35px 0;
    }

    .mw-registration-brand {
        width: 60px;
        height: 60px;
        margin-bottom: 30px;
        border-radius: 15px;
    }

    .mw-registration-intro h1 {
        font-size: 44px;
        letter-spacing: -1.5px;
    }

    .mw-registration-lead {
        font-size: 13px;
        line-height: 1.6;
        margin-bottom: 28px;
    }

    .mw-registration-points {
        display: flex;
        gap: 16px;
    }

    .mw-registration-point p {
        font-size: 11px;
    }

    .mw-registration-form-section {
        padding: 25px 15px 40px;
    }

    .mw-registration-card {
        padding: 27px 20px;
        border-radius: 18px;
    }

    .mw-registration-logo-mobile {
        display: flex;
        width: 52px;
        height: 52px;
        margin-bottom: 20px;
        padding: 5px;
        background: #fff;
        border: 1px solid var(--mw-border);
        border-radius: 13px;
    }

    .mw-registration-logo-mobile img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        border-radius: 9px;
    }

    .mw-registration-card-header {
        margin-bottom: 25px;
    }

    .mw-registration-card-header h2 {
        font-size: 27px;
    }

    .mw-registration-card-header p {
        font-size: 12px;
    }

    .mw-form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

}


/* =========================================================
   SMALL PHONES
   ========================================================= */

@media screen and (max-width: 420px) {

    .mw-registration-intro h1 {
        font-size: 38px;
    }

    .mw-registration-card {
        padding: 24px 16px;
    }

    .mw-form-group input,
    .mw-form-group select {
        height: 46px;
    }

}
