@import url('https://fonts.googleapis.com/css2?family=Google+Sans:wght@400;500;700&family=Merriweather:wght@700;900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Google Sans", sans-serif;
}

body {
    background: linear-gradient(135deg, #f0f4f8, #d9e2ec);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.c-logo {
    width: 10vw;
    position: absolute;
    top: 2vw;
    left: 2vw;
}

.wrap {
    width: 100%;
    max-width: 420px;
    background: linear-gradient(180deg, #df0303ec 35%, #ffffff);
    padding: 3vw;
    border-radius: 1vw;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.header-text-box {
    text-align: center;
    margin-bottom: 2vw;
}

.sup-text {
    font-size: 1.2vw;
    font-weight: 600;
    color: #f8f9fa;
    text-transform: uppercase;
    letter-spacing: 0.2vw;
}

.title {
    font-family: "Merriweather", serif;
    font-size: 1.8vw;
    font-weight: 800;
    margin: 1vw 0;
    color: #ffffff;
    text-shadow: 2px 6px 6px rgba(0, 0, 0, 0.2),
        0px -5px 25px rgba(255, 255, 255, 0.3);
}

.subtitle {
    font-size: 1.2vw;
    color: #f1f3f5;
}

.form {
    display: flex;
    flex-direction: column;
    gap: 2vw;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 1.5vw;
}

.input {
    padding: 1vw 1.2vw;
    border: 1px solid #ccc;
    border-radius: 0.8vw;
    font-size: 1.2vw;
    transition: border-color 0.3s;
}

.input:focus {
    border-color: #0077b6;
    outline: none;
    box-shadow: 0 0 1vw rgba(0, 119, 182, 0.3);
}

/* Error */
.error {
    background: #ffe5e5;
    color: #dd291b;
    padding: 1vw;
    border-radius: 0.8vw;
    font-size: 1.2vw;
    text-align: center;
}

/* Button */
.btn-primary {
    background: #ffffff;
    color: #000000;
    border: none;
    padding: 1vw;
    border-radius: 0.8vw;
    font-size: 1.2vw;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

.btn-primary:hover {
    background: #dd291b;
    color: #ffffff;
}

/* ---------------- Responsive ---------------- */

/* Tablet screens */
@media (max-width: 800px) {
    .c-logo {
        width: 15vw;
        top: 3vw;
        left: 3vw;
    }

    .wrap {
        max-width: 90%;
        padding: 4vw;
        border-radius: 2vw;
    }

    .title {
        font-size: 3vw;
    }

    .subtitle {
        font-size: 2vw;
    }

    .input,
    .btn-primary,
    .error {
        font-size: 2vw;
        padding: 2vw;
    }
}

/* Mobile screens */
@media (max-width: 500px) {
    .c-logo {
        width: 20vw;
        top: 4vw;
        left: 4vw;
    }

    .wrap {
        max-width: 95%;
        padding: 5vw;
        border-radius: 3vw;
    }

    .sup-text {
        font-size: 3vw;
    }

    .title {
        font-size: 4vw;
    }

    .subtitle {
        font-size: 3vw;
    }

    .input,
    .btn-primary,
    .error {
        font-size: 3vw;
        padding: 3vw;
        border-radius: 2vw;
    }
}