/* Shared layout for all pages: Background and Logo positioning */

html,
body.shared-layout {
    margin: 0;
    padding: 0;
    width: 100%;
    min-height: 100vh;
    overflow-x: hidden;
}

.shared-layout {
    position: relative;
    display: flex;
    flex-direction: column;
    /* Use the standard background gradient */
    background: linear-gradient(141deg, #5A4986 4.28%, #5D4885 24.74%,
            #674784 41.11%, #784681 56.46%, #91447D 70.78%, #B04179 85.11%,
            #D63E73 98.41%, #F13C70 106.59%);
}

/* Shared Background Image Overlay */
.shared-layout::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-image: url('../assets/images/loginBG2.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.8;
    z-index: 1;
    pointer-events: none;
}

/* Ensure all primary containers are above the background overlay */
.shared-layout .header,
.shared-layout .main-content,
.shared-layout .login-container,
.shared-layout .signup-container,
.shared-layout .policy-container,
.shared-layout .contact-main {
    position: relative;
    z-index: 10;
}

/* Standardized Page Logo Positioning (Matching Speakers Page feel) */
.shared-layout .header {
    width: 100%;
    padding: clamp(10px, 5vw, 30px) 8%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1000;
}

.shared-layout .header-container {
    max-width: 1600px;
    margin: 0 auto;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.shared-layout .sobi-logo {
    position: relative;
    z-index: 100;
}

/* Responsive ONLY in Media Queries */
@media (max-width: 1024px) {
    .shared-layout .header {
        padding: 40px 5%;
    }
}

@media (max-width: 768px) {
    .shared-layout .header {
        padding: 30px 5%;
    }
}