/* login page css */

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

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

body {
    font-family: 'Space Grotesk', sans-serif;
    background-color: #fbf4eb;
    color: #332102;
}

a {
    text-decoration: none;
    color: #0081cc;
}

/* two column layout */
.wrapper {
    display: flex;
    min-height: 100vh;
}

/* blue side */
.left-side {
    flex: 1;
    background-color: #0081cc;
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.left-side .site-name {
    font-size: 3rem;
    font-weight: 700;
    color: #332102;
    margin-bottom: 20px;
}

.left-side .big-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: #332102;
}

.left-side .small-text {
    font-size: 1.2rem;
    font-weight: 600;
    color: #332102;
    margin-top: 12px;
    line-height: 1.4;
}

.left-side .desc {
    margin-top: 14px;
    font-size: 0.95rem;
    color: rgba(51, 33, 2, 0.7);
    line-height: 1.6;
}

/* white form side */
.right-side {
    width: 460px;
    background-color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.login-box {
    width: 100%;
    max-width: 360px;
}

.login-box h2 {
    font-size: 1.4rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 28px;
    color: #332102;
}

/* form */
.login-box label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 6px;
    margin-top: 16px;
    color: #332102;
}

.login-box input {
    width: 100%;
    padding: 11px 14px;
    border: 2px solid #f0e8d8;
    border-radius: 8px;
    background-color: #fbf4eb;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.9rem;
    color: #332102;
    outline: none;
}

.login-box input:focus {
    border-color: #0081cc;
}

.login-box input::placeholder {
    color: #8a8a8a;
}

/* error text */
.error-msg {
    color: #c0392b;
    font-size: 0.85rem;
    margin-top: 10px;
    margin-bottom: 10px;
    display: none;
}

/* login button */
.login-box button {
    width: 100%;
    padding: 13px;
    margin-top: 20px;
    background-color: #0081cc;
    color: white;
    border: none;
    border-radius: 50px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
}

.login-box button:hover {
    background-color: #006aaa;
}

/* links at the bottom */
.bottom-links {
    margin-top: 20px;
    text-align: center;
    font-size: 0.85rem;
    color: #8a8a8a;
}

.bottom-links a {
    color: #0081cc;
    font-weight: 600;
}

.bottom-links hr {
    border: none;
    border-top: 1px solid #f0e8d8;
    margin: 14px 0;
}

/* smaller screens */
@media (max-width: 700px) {
    .wrapper {
        flex-direction: column;
    }
    .left-side {
        padding: 30px;
        min-height: 160px;
    }
    .right-side {
        width: 100%;
        padding: 30px 20px;
    }
}
