@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100..900&display=swap');

* {
    margin: 0;
    padding: 0;
    font-family: "Inter", sans-serif;
    box-sizing: border-box;
}

body {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #DEC7A7;
}

.container {
    max-width: 900px;
    width: 100%;
    border-radius: 6px;
    padding: 30px;
    margin: 0 15px;
    background-color: #fff;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
}

.container header {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    position: relative;
}

.container form {
    margin-top: 20px;
}

.fields {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.input-field {
    width: calc(100% / 3 - 15px);
    display: flex;
    flex-direction: column;
    margin: 10px 0;
}

.input-field label {
    font-size: 12px;
    font-weight: 500;
    color: #2e2e2e;
}

.input-field label span {
    color: red;
}

.input-field input[type="text"],
.input-field input[type="number"] {
    height: 42px;
    padding: 0 15px;
    border-radius: 5px;
    border: 1px solid #aaa;
    font-size: 14px;
    margin-top: 6px;
}

.input-field input:focus {
    outline: none;
    border: 2px solid #4B5320;
}

/* CHECKBOX FIELD */
.checkbox-field {
    width: 100%;
}

.checkbox-group input[type="checkbox"] {
    accent-color: #4B5320;
    /* Any color you want */
}

.checkbox-group {
    display: flex;
    gap: 12px;
    margin-top: 10px;
}

.checkbox-group label {
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 400;
}

/* BUTTON */
.buttons {
    margin-top: 25px;
    display: flex;
    justify-content: flex-start;
}

button {
    height: 45px;
    width: 150px;
    background-color: #4B5320;
    border: none;
    color: white;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
}



/* EXTRA RESPONSIVENESS (DO NOT CHANGE ABOVE CODE) */

/* Large screens */
@media (min-width: 1200px) {
    .container {
        max-width: 1100px;
    }
}

/* Tablets */
@media (max-width: 1024px) {
    .container {
        padding: 25px;
    }

    .input-field {
        width: calc(100% / 2 - 15px);
    }
}

/* Small tablets / large mobiles */
@media (max-width: 768px) {
    body {
        align-items: flex-start;
        padding: 20px 0;
    }

    .container {
        margin: 10px;
        padding: 20px;
    }

    .input-field {
        width: 100%;
    }

    .buttons {
        justify-content: center;
    }

    button {
        width: 100%;
    }
}

/* Mobile */
@media (max-width: 480px) {
    .container header {
        font-size: 18px;
        text-align: center;
    }

    .input-field label {
        font-size: 13px;
    }

    .checkbox-group {
        flex-direction: column;
        gap: 8px;
    }
}

/* Very small devices */
@media (max-width: 360px) {
    .container {
        padding: 15px;
    }

    button {
        height: 42px;
        font-size: 13px;
    }
}