/* Reset and Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

@font-face {
    font-family: 'Inter';
    src: url('../fonts/Inter&poppins/Inter/static/Inter_18pt-Regular.ttf');
    font-weight: 400;
}

@font-face {
    font-family: 'Inter';
    src: url('../fonts/Inter&poppins/Inter/static/Inter_18pt-ExtraLight.ttf');
    font-weight: 200;
}

@font-face {
    font-family: 'Inter';
    src: url('../fonts/Inter&poppins/Inter/static/Inter_18pt-ExtraBold.ttf');
    font-weight: 800;
}

body {
    font-family: 'Inter', sans-serif;
    height: 100vh;
    overflow: hidden;  /* Prevent scrolling */
}

/* Main Container */
.login-container {
    height: 100vh;
    width: 100%;
    overflow: hidden;
}

.row {
    height: 100vh;
    margin: 0;
}

/* Left Section */
.left-section {
    background-color: #FFFFFF;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2vh 3vw;  /* Use viewport units */
}

.col-lg-6 {
    width: 50% !important;
    flex: 0 0 50% !important;
    max-width: 50% !important;
    padding: 0 !important;
    height: 100vh;
}

/* logo 1 */
.logo {
    margin-bottom: -8vh;
    margin-top: -20vh;
}

.logo img {
    width: 20vw;  /* 20% of viewport width */
    max-width: 300px;
    height: auto;
    display: block;
}

/* Login your account */
.login-text {
    width: 100%;
    max-width: 90%;
    font-family: 'Inter';
    font-style: normal;
    font-weight: 800;
    font-size: 2.5vw;  /* Scales with viewport */
    line-height: 1.2;
    text-align: center;
    color: #8F1402;
    margin-bottom: 3vh;
}

/* Frame 4 - Main form container */
.frame-4 {
    display: flex;
    flex-direction: column;
    gap: 2vh;  /* Viewport-based spacing */
    width: 90%;
    max-width: 450px;
}

/* Frame 2 - Username section */
.frame-2 {
    display: flex;
    flex-direction: column;
    gap: 0.5vh;
}

/* Frame 3 - Password section */
.frame-3 {
    display: flex;
    flex-direction: column;
    gap: 0.5vh;
}

/* Username or Email / Password labels */
.form-label {
    width: 100%;
    font-family: 'Inter';
    font-style: normal;
    font-weight: 200;
    font-size: 1.5vw;  /* Scales with viewport */
    line-height: 1.3;
    color: #000000;
}

/* Rectangle 2 & Rectangle 3 wrappers */
.rectangle-2,
.rectangle-3 {
    width: 100%;
}

/* Form inputs */
.form-control {
    box-sizing: border-box;
    width: 100%;
    height: 5vh;  /* 5% of viewport height */
    min-height: 50px;
    background: rgba(217, 217, 217, 0.5);
    border: 1px solid rgba(0, 0, 0, 0.7);
    border-radius: 50px;
    padding: 0 2vw;
    font-size: 1vw;
    font-family: 'Inter';
    outline: none;
}

.form-control:focus {
    outline: none;
    border-color: #8F1402;
    border-width: 2px;
    background-color: #FFFFFF;
}

/* Frame 1 - Forgot password + Login button */
.frame-1 {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-top: 1vh;
    gap: 1vw;
}

/* Forgot password? */
.forgot-password-link {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 200;
    font-size: 1.3vw;  /* Scales with viewport */
    line-height: 1.6;
    color: #000000;
    text-decoration: none;
    white-space: nowrap;
}

.forgot-password-link:hover {
    color: #8F1402;
    text-decoration: underline;
}

/* login button */
.login-button {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 0.8vh 3vw;
    gap: 10px;
    min-width: 10vw;
    height: 5vh;
    min-height: 50px;
    background: #8F1402;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    font-family: 'Inter';
    font-style: normal;
    font-weight: 300;
    font-size: 1.5vw;  /* Scales with viewport */
    line-height: 1.2;
    color: #FFFFFF;
    white-space: nowrap;
}

.login-button:hover {
    background-color: #6B0F01;
    transform: translateY(-2px);
}

/* Don't have an account? Register now */
.register {
    width: 100%;
    max-width: 90%;
    font-family: 'Inter';
    font-style: normal;
    font-weight: 200;
    font-size: 1.3vw;  /* Scales with viewport */
    line-height: 1.6;
    text-align: center;
    color: #000000;
    margin-top: 2vh;
}

.register p {
    margin: 0;
}

.register-link {
    color: #8F1402;
    text-decoration: none;
    font-weight: 600;
}

.register-link:hover {
    text-decoration: underline;
}

/* Frame 6 - Right Section */
.frame-6 {
    background-image: url('../images/insatshadow.png');
    background-size: cover;
    background-position: center;
    height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 5vh 3vw;
}

.frame-6::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

/* WHERE TODAY'S IDEAS TURN INTO TOMORROW'S REALITY */
.hero-text {
    position: relative;
    z-index: 2;
    color: white;
    font-size: 3vw;  /* Scales with viewport */
    font-weight: 200;
    text-align: center;
    letter-spacing: 2px;
    line-height: 1.4;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
    font-family: 'Inter';
    margin-top: -50vh;
}