/* Shared panel & welcome block styles (used by Login and AboutUs) */

.left-panel {
    position: absolute;
    left: 0;
    top: 0;
    width: 50vw;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-image: url('../../images/login-view/loginBackground.svg');
    background-image: image-set(
        url('../../images/login-view/loginBackground.svg') 1x,
        url('/images/login-view/loginBackground.svg') 1x
    );
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    background-color: #003964;
    overflow: hidden;
}

.left-panel-logo {
    flex: 1 1 auto;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem 1rem;
    box-sizing: border-box;
}

#login-left-background {
    width: 400px;
    max-width: 70%;
    height: auto;
    object-fit: contain;
    display: block;
    margin: 0 auto;
    pointer-events: none;
}
@media (max-width: 1400px) { #login-left-background { width: 340px; } }
@media (max-width: 1100px) { #login-left-background { width: 300px; } }
@media (max-width: 900px)  { #login-left-background { width: 260px; } }
@media (max-width: 700px)  { #login-left-background { width: 220px; } }
@media (max-width: 520px)  { #login-left-background { width: 180px; } }

#login-welcome {
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 100%;
    max-width: 960px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 4px;
    padding: 22px 24px 20px;
    margin: 0;
    box-sizing: border-box;
    background: rgba(33,37,41,0.60);
    z-index: 2;
    text-align: center;
}
#login-welcome .welcome-line1,
#login-welcome .welcome-line2 {
    font-family: 'Segoe UI';
    font-style: normal;
    font-weight: 600;
    color: #FFFFFF;
    margin: 0;
    padding: 0;
    line-height: 1.18;
    width: 100%;
}
#login-welcome .welcome-line1 { font-size: clamp(18px, 2.2vw + 10px, 28px); }
#login-welcome .welcome-line2 { font-size: clamp(15px, 1.8vw + 8px, 24px); }
@media (max-width: 700px) { #login-welcome { left: 0; transform: none; max-width: 100%; padding: 16px 14px 14px; } }
@media (max-width: 480px) { #login-welcome { padding: 14px 12px 12px; } }

.content-container-header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    width: 100%;
    margin-bottom: 1.5rem;
}
.content-container-header label { margin: 0; padding: 0; display: block; }
.section-title {
    font-family: 'Segoe UI';
    font-weight: 400;
    font-size: 28px;
    line-height: 37px;
    color: #333333;
}
.section-subtitle {
    font-family: 'Segoe UI';
    font-weight: 400;
    font-size: 20px;
    line-height: 27px;
    color: #333333;
    margin-top: 4px;
}
@media (max-width: 560px) {
    .section-title { font-size: 24px; line-height: 32px; }
    .section-subtitle { font-size: 18px; line-height: 24px; }
}

.right-panel {
    position: absolute;
    right: 0;
    top: 0;
    width: 50vw;
    height: 100vh;
    background: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow-y: auto;
    overscroll-behavior: contain;
}

/* Stacked layout for narrow screens */
@media (max-width: 680px) {
    .left-panel {
        position: relative;
        width: 100vw;
        height: auto;
        min-height: 240px;
    }
    #login-welcome {
        position: static;
        transform: none;
        max-width: 100%;
        width: 100%;
    }
    .right-panel {
        position: relative;
        width: 100vw;
        height: auto;
        min-height: calc(100vh - 240px);
        overflow-y: visible;
    }
}
