* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #ffffff;
    color: #222;
}

.login-page {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 58% 42%;
}

/* LEFT SIDE */

.login-visual {
    position: relative;
    min-height: 100vh;
    overflow: hidden;

    background:
        linear-gradient(
            rgba(80, 0, 0, 0.25),
            rgba(80, 0, 0, 0.25)
        ),
        url("../assets/neu-background.jpg");

    background-size: cover;
    background-position: center;
}

.login-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.login-visual::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(80, 0, 0, 0.25);
    z-index: 0;
}

.login-visual .overlay {
    position: absolute;
    left: 60px;
    bottom: 60px;
    color: white;
    z-index: 1;
}

.login-visual h1 {
    font-size: 42px;
    margin-bottom: 10px;
}

.login-visual p {
    font-size: 20px;
}

/* RIGHT SIDE */

.login-panel {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #ffffff;
    padding: 40px;
}

.login-content {
    width: 100%;
    max-width: 430px;
}

.logo {
    text-align: center;
    margin-bottom: 30px;
}

.logo img {
    max-width: 220px;
    width: 100%;
    height: auto;
}

.logo h2 {
    color: #8b0000;
    font-size: 42px;
}

.login-content h1 {
    font-size: 27px;
    font-weight: 700;
    margin-bottom: 10px;
}

.subtitle {
    color: #555;
    margin-bottom: 30px;
}

/* FORM */

form {
    display: flex;
    flex-direction: column;
}

label {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 7px;
}

input,
select {
    width: 100%;
    height: 45px;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 0 13px;
    font-size: 14px;
    margin-bottom: 20px;
    outline: none;
}

input:focus,
select:focus {
    border-color: #8b0000;
}

button {
    height: 45px;
    border: none;
    border-radius: 5px;
    background: #8b0000;
    color: white;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
}

button:hover {
    background: #6f0000;
}

hr {
    border: none;
    border-top: 1px solid #eee;
    margin: 30px 0;
}

/* REGISTRATION */

.registration-box {
    background: #eaf5ff;
    border-radius: 6px;
    padding: 20px;
}

.registration-box p {
    font-size: 13px;
    line-height: 1.6;
    margin-bottom: 15px;
}

.registration-box button {
    width: 100%;
}

/* FOOTER */

footer {
    margin-top: 40px;
    text-align: right;
    color: #777;
    font-size: 11px;
    line-height: 1.8;
}

/* TABLET */

@media (max-width: 1100px) {

    .login-page {
        grid-template-columns: 50% 50%;
    }
}

/* MOBILE */

@media (max-width: 900px) {

    .login-page {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .login-visual {
        display: block;
        position: relative;
        min-height: 220px;
        height: 220px;
    }

    .login-visual .overlay {
        left: 24px;
        bottom: 20px;
    }

    .login-visual h1 {
        font-size: 26px;
    }

    .login-visual p {
        font-size: 15px;
    }

    .login-panel {
        min-height: auto;
        padding: 25px;
    }
}

/* SMALL PHONES */

@media (max-width: 480px) {

    .login-visual {
        min-height: 180px;
        height: 180px;
    }

    .login-visual .overlay {
        left: 18px;
        bottom: 16px;
    }

    .login-visual h1 {
        font-size: 21px;
        margin-bottom: 4px;
    }

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

    .login-panel {
        padding: 20px 16px;
    }

    .logo img {
        max-width: 160px;
    }

    .login-content h1 {
        font-size: 22px;
    }

    .subtitle {
        font-size: 14px;
        margin-bottom: 20px;
    }

    footer {
        text-align: center;
    }
}