@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@200..800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300..700&display=swap');

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

body {
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    color: #c7c7c7;
    background: linear-gradient(180deg, #1A252F 0%, #263340 100%);
    font-family: 'Manrope', sans-serif;
}

.container {
    margin: 20px auto;
    margin-top: 10rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 90%;
    max-width: 1000px;
    height: 90vh;
    max-height: 650px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.7);
    flex: 1;
    background: #0d0d0d;
}

.left-section {
    background: #1A252F;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.left-section h1 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #e0e0e0;
}

.right-section {
    background: #263340;
    padding: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.form-container {
    width: 100%;
    max-width: 400px;
}

.form-container h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.8rem;
    margin-bottom: 20px;
    text-align: center;
    color: #e0e0e0;
}

label {
    font-family: 'Manrope', sans-serif;
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #c7c7c7;
}

input {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: none;
    border-radius: 8px;
    background: #2d3a4a;
    color: #fff;
    font-size: 1rem;
    outline: none;
    transition: background 0.3s;
}

input:focus {
    background: #3d4f63;
}

.password-container {
    position: relative;
    margin-bottom: 15px;
}

.password-container .toggle-password {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-90%);
    cursor: pointer;
    color: #888;
    font-size: 1.2rem;
}

.password-container .toggle-password:hover {
    color: #fff;
}

button {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 8px;
    background: #1A252F;
    color: #e0e0e0;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.3s;
    font-family: 'Manrope', sans-serif;
}

button:hover {
    background: #3d4f63;
}

.terms {
    font-family: 'Manrope', sans-serif;
    font-size: 0.9rem;
    text-align: center;
    margin-top: 20px;
    color: #a0a0a0;
}

.terms a {
    color: #28d294;
    text-decoration: none;
}

.terms a:hover {
    text-decoration: underline;
}

.login-link {
    font-family: 'Manrope', sans-serif;
    text-align: center;
    margin-top: 20px;
    color: #a0a0a0;
}

.login-link a {
    color: #28d294;
    text-decoration: none;
    font-size: 1rem;
}

.login-link a:hover {
    text-decoration: underline;
}



.message-box {
    font-family: 'Manrope', sans-serif;
    font-size: 0.9rem;
    text-align: center;
    margin-top: 10px;
    color: #f00;
}

@media screen and (max-width: 768px) {
    .container {
        margin: 10px auto;
        margin-top: 12rem;
        grid-template-columns: 1fr;
        height: auto;
        width: 95%;
        max-height: none;
    }

    .left-section {
        display: none;
    }

    .left-section h1 {
        font-size: 2rem;
    }

    .right-section {
        padding: 20px;
    }

    .form-container {
        max-width: 100%;
    }

    input {
        font-size: 0.95rem;
        padding: 10px;
    }

    button {
        font-size: 0.95rem;
        padding: 10px;
    }

    .form-container h2 {
        font-size: 1.5rem;
    }

    .password-container .toggle-password {
        right: 8px;
        font-size: 1rem;
    }
}

@media screen and (max-width: 480px) {
    .left-section h1 {
        font-size: 1.6rem;
    }

    .form-container h2 {
        font-size: 1.3rem;
    }

    input {
        font-size: 0.9rem;
        padding: 8px;
    }

    button {
        font-size: 0.9rem;
        padding: 8px;
    }

    .terms,
    .login-link {
        font-size: 0.85rem;
    }

}

@media screen and (max-width: 320px) {
    .left-section h1 {
        font-size: 1.4rem;
    }

    .form-container h2 {
        font-size: 1.2rem;
    }

    input {
        font-size: 0.85rem;
        padding: 6px;
    }

    button {
        font-size: 0.85rem;
        padding: 6px;
    }

    .terms,
    .login-link {
        font-size: 0.8rem;
    }

    .password-container .toggle-password {
        right: 6px;
        font-size: 0.9rem;
    }
}