/* LinkedIn Event Registration Page Styles */

html,
body {
    position: relative;
    height: 100%;
}

body {
    background: #000;
    /* Changed to black to match site theme or ensure headers pop */
    font-family: Helvetica Neue, Helvetica, Arial, sans-serif;
    font-size: 14px;
    color: #fff;
    /* Default text white */
    margin: 0;
    padding: 0;
}

/* Ensure navbar header is visible and has background */
.navbar_header {
    display: block !important;
    width: 100% !important;
    background: black;
    /* Ensure contrast for white text */
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

/* Force left alignment globally for this page's specific banner elements */
.rv_partners_banner,
.rv_partners_banner_heading,
.rv_bpr_main_heading {
    text-align: left !important;
}

/* Fix spacing between navbar and banner */
.rv_partners_banner {
    padding-top: 120px !important;
}

/* Reuse BPR Form Styles */
.bpr_form_top {
    position: relative !important;
    z-index: 100 !important;
}

.bpr_form_top input {
    pointer-events: auto !important;
    background: transparent !important;
    border-radius: 0 !important;
    border: none !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.81) !important;
    padding-left: 0 !important;
    color: rgba(255, 255, 255, 0.81) !important;
    transition: 0.3s;
    box-shadow: none !important;
    height: auto !important;
    padding: 10px 0 !important;
}

.bpr_form_top input::placeholder {
    color: rgba(255, 255, 255, 0.81) !important;
    font-weight: 500;
}

.bpr_form_top input:focus {
    box-shadow: none !important;
    border-bottom: 1px solid #fff !important;
    background: transparent !important;
}

.bpr_form_top .dropdown input {
    background: transparent !important;
    color: rgba(255, 255, 255, 0.81) !important;
    border: none !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.81) !important;
    margin: 0 !important;
    padding: 12px 0 !important;
}

.bpr_form_top .dropdown .options {
    background: black !important;
    border: 1px solid rgba(255, 255, 255, 0.18) !important;
    padding: 0 !important;
    margin: 0 !important;
    list-style: none !important;
}

/* Ensure dietary options match other dropdown items */
.parent_dd .dropdown .options .dietary_option {
    transition: all 0.2s ease;
    color: rgba(255, 255, 255, 0.81);
    font-size: small;
    background-color: black;
    margin-bottom: 4px;
    padding: 5px;
    cursor: pointer;
}

.parent_dd .dropdown .options .dietary_option:hover {
    color: black;
    background: rgba(255, 255, 255, 0.81);
}

.bpr_form_top .options li {
    background: black !important;
    color: rgba(255, 255, 255, 0.81) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
    list-style: none !important;
    padding: 5px !important;
}

.bpr_form_top .options li:hover {
    background-color: rgba(255, 255, 255, 0.2) !important;
    color: white !important;
}

.bpr_form_top label {
    color: rgba(255, 255, 255, 0.52) !important;
    text-transform: uppercase;
    font-size: small;
    letter-spacing: 2px;
    margin-top: 10px;
    display: block;
}

/* LinkedIn Specific Override */
.linkedin-btn {
    background: #0A66C2 !important;
    color: white !important;
    padding: 10px 30px !important;
    border-radius: 10px !important;
    border: none !important;
    font-weight: 500;
    transition: 0.3s;
    margin-top: 20px;
    display: block !important;
    width: fit-content !important;
    letter-spacing: 1px !important;
    opacity: 1 !important;
}

.linkedin-btn:hover {
    background: #004182 !important;
    transform: scale(1.02);
    box-shadow: 0 4px 12px rgba(10, 102, 194, 0.3);
}

/* Navbar Layout Fixes */
nav {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    width: 100%;
    padding: 10px 20px;
    /* Added side padding */
    background: transparent;
    box-sizing: border-box;
    /* Maintain width with padding */
}

/* Unified Logo Image Sizing for Desktop */
nav>a>img,
.linkedin-logo-img {
    height: 48px !important;
    /* Unified desktop height */
    width: auto !important;
    border-radius: 0px !important;
    background: transparent !important;
    padding: 0 !important;
}

/* Removed desktop logo filter to preserve original colors */

nav .nav-text {
    color: white;
    font-size: 16px;
    /* Larger on desktop */
    text-align: center;
    font-weight: 400;
    margin: 0 20px;
    line-height: 1.5;
    flex-grow: 1;
}

nav .nav-text .nav-highlight-linkedin {
    color: white;
    /* Simple white */
    font-weight: 700;
}

nav .nav-text .nav-highlight-quadrafort {
    color: white;
    /* Simple white */
    font-weight: 700;
}

/* Prevent double background or stacking issues */
/* Ensure headings have transparent background */
.rv_partners_banner_heading,
.rv_bpr_main_heading {
    background: transparent;
}


@media (max-width: 768px) {
    .navbar_header {
        padding: 0;
        background: black;
        position: relative;
    }

    nav {
        flex-wrap: wrap !important;
        /* Force wrap */
        padding: 10px 15px;
        justify-content: space-between !important;
        align-items: center !important;
    }

    /* Target both logo containers (Quadrafort and LinkedIn) */
    nav>a {
        flex: 0 1 auto;
        /* Mobile: Allow shrink/grow as needed, NOT fixed width */
        width: auto;
        display: flex;
        align-items: center;
        justify-content: flex-start;
    }

    /* First logo (Quadrafort) - Order 1 */
    nav>a:first-child {
        order: 1;
        justify-content: flex-start;
    }

    /* Removed filter: brightness(0) invert(1) to keep original logo colors */

    /* Last logo (LinkedIn) - Order 2 */
    nav>a:last-of-type {
        order: 2;
        justify-content: flex-end;
    }

    /* Unified Logo Image Sizing for Mobile */
    nav>a>img,
    .linkedin-logo-img {
        height: 32px !important;
        /* Unified mobile height */
        width: auto !important;
        border-radius: 0 !important;
        background: transparent !important;
        padding: 0 !important;
    }

    nav .nav-text {
        order: 3;
        flex: 0 0 100% !important;
        /* Force full width on new line */
        width: 100% !important;
        margin: 15px 0 10px 0;
        font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
        font-size: 14px;
        line-height: 1.6;
        display: block !important;
        text-align: center;
        letter-spacing: 0.5px;
        color: white;
        /* Ensure base color is white */
    }

    nav .nav-text .nav-highlight-linkedin {
        color: white;
        /* Reverted to white */
        font-weight: 700;
        display: block;
        /* Stack on mobile for impact */
        margin-bottom: 2px;
        font-size: 15px;
    }

    nav .nav-text .nav-subtext {
        color: rgba(255, 255, 255, 0.9);
        /* Slightly more visible but still white-ish */
        font-weight: 400;
        font-size: 12px;
    }

    nav .nav-text .nav-highlight-quadrafort {
        color: white;
        /* Reverted to white */
        font-weight: 700;
        font-size: 14px;
        letter-spacing: 1px;
    }

    /* Adjust Banner Padding for Mobile */
    .rv_partners_banner {
        padding-top: 80px !important;
        /* Adjusted for fixed navbar */
        text-align: left !important;
        /* Left align banner text on mobile */
        background: transparent !important;
        position: relative;
        /* Ensure pseudos position relative to this */
        overflow: hidden;
        /* Prevent spill */
    }

    /* Force "Purple Gradient" Background from Harness styles */
    .rv_partners_banner::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(130deg, rgba(200, 120, 201, 0.7) -10.2%, rgba(127, 10, 129, 0.4) 19.2%, #00000000 46.85%, #00000000 109.01%) !important;
        z-index: -1;
    }

    .rv_partners_banner::after {
        content: '';
        position: absolute;
        bottom: 0;
        right: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(305deg, rgba(200, 120, 201, 0.7) -10.2%, rgba(127, 10, 129, 0.4) 17.73%, #00000000 50.17%, #00000000 60.9%) !important;
        z-index: -1;
    }

    .rv_partners_banner_heading h3 {
        font-size: 24px;
        /* Fix font size on mobile if it's too big */
        margin-top: 10px;
    }
}

.linkedin-icon {
    color: #0A66C2;
    font-size: 1.5rem;
    margin-right: 10px;
    vertical-align: middle;
}

.checkbox-container {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 15px;
}

.checkbox-container input[type="checkbox"] {
    width: 16px !important;
    height: 16px !important;
    border: 1px solid rgba(255, 255, 255, 0.81) !important;
    flex-shrink: 0;
}

.checkbox-container label {
    margin-top: 0 !important;
    text-transform: none !important;
    color: rgba(255, 255, 255, 0.81) !important;
    letter-spacing: 0.5px !important;
}

/* Banner Text Adjustments */
.rv_partners_banner_heading h3,
.rv_bpr_main_heading h1 {
    color: white;
    font-weight: 700;
    margin-top: 20px;
    font-family: inherit;
    /* Ensure font consistency */
}

/* Custom H1 Styling */
.rv_bpr_main_heading h1 {
    position: relative;
    width: fit-content;
    text-align: left;
}

.rv_bpr_main_heading h1::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #FBDA39 0%, #F89833 28%, #EA396E 59.5%, #8B3A8C 90%);
    border-radius: 5px;
}

/* Ensure headings have transparent background */
.rv_partners_banner_heading,
.rv_bpr_main_heading {
    background: transparent;
    text-align: left;
}

.rv_partners_banner_heading p,
.rv_bpr_main_heading p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 24px;
    margin-top: 10px;
    line-height: 1.4;
    padding: 10px 0 0 0;
    text-align: left;
}

/* Subtitle H4 Styling */
.rv_bpr_main_heading h4 {
    color: rgba(255, 255, 255, 0.8);
    background: transparent !important;
    font-size: 20px;
    font-weight: 400;
    margin-top: 30px !important;
    margin-bottom: 0;
    text-align: left;
    padding-top: 5px;
}

/* Ensure Lists are Transparent */
.rv_bpr_main_heading ul,
.rv_bpr_main_heading li {
    background: transparent !important;
}