@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400..900;1,400..900&family=Raleway:ital,wght@0,100..900;1,100..900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Raleway", sans-serif;
}

body {
    width: 100%;
    min-height: 100vh;
    padding: 20px;
    background: #983809;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

/* Container */
.container {
    width: 100%;
    max-width: 1000px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    position: relative;
}

/* Logo */
.logo img {
    max-width: 200px;
    height: auto;
}

/* Form container */
.login_form {
    width: 100%;
    max-width: 420px;
    background: #fff8f0;
    border-radius: 12px;
    padding: 25px 22px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

.login_form h3 {
    font-size: 30px;
    text-align: center;
    margin-bottom: 18px;
    font-weight: 600;
    font-family: "Playfair Display", serif;
}

/* Input fields */
.input_box label {
    display: block;
    font-weight: 500;
    margin-bottom: 6px;
}

.input_box input,
.input_box textarea {
    width: 100%;
    border: 1px solid #DADAF2;
    border-radius: 5px;
    outline: none;
    background: #F8F8FB;
    font-size: 15px;
    padding: 12px 15px;
    margin-bottom: 18px;
    transition: 0.2s ease;
}

.input_box textarea {
    height: 110px;
    resize: none;
}

.input_box input:focus,
.input_box textarea:focus {
    border-color: #983809;
}

/* Button */
button {
    width: 100%;
    height: 48px;
    border-radius: 12px;
    border: none;
    outline: none;
    background: #983809;
    color: #fff8f0;
    font-size: 16px;
    font-weight: 500;
    text-transform: uppercase;
    cursor: pointer;
    margin-top: 5px;
    transition: 0.3s ease;
}

button:hover {
    background: #792c0a;
}

/* ---------------------------- */
/* Desktop: logo top-left       */
/* ---------------------------- */
@media (min-width: 992px) {
    .logo {
        position: absolute;
        top: -10px;
        left: -140px;
    }

    .container {
        flex-direction: column; /* keep form centered */
        align-items: center;
    }
}

/* Small mobile screens */
@media (max-width: 380px) {
    .login_form {
        padding: 20px 18px;
    }

    .input_box input,
    .input_box textarea {
        font-size: 14px;
        padding: 10px 12px;
    }

    .input_box textarea {
        height: 95px;
    }
}
