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

body {
    min-height: 100vh;

    font-family:
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;

    background-color: #f5efe3;

    color: #333;

    display: flex;
    justify-content: center;
    align-items: center;

    padding: 20px;
}

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

.card {
    background-color: #fffdf8;

    border-radius: 20px;

    padding: 32px 24px;

    box-shadow:
        0 8px 30px
        rgba(80, 60, 30, 0.08);
}

.logo-container {
    display: flex;
    justify-content: center;

    margin-bottom: 20px;
}

.logo {
    width: 64px;
    height: 64px;

    object-fit: contain;

    border-radius: 12px;
}

h1 {
    text-align: center;

    font-size: 28px;
    font-weight: 600;

    margin-bottom: 8px;
}

.subtitle {
    text-align: center;

    color: #777;

    font-size: 15px;

    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 20px;
}

label {
    display: block;

    font-size: 15px;
    font-weight: 500;

    margin-bottom: 8px;
}

input {
    width: 100%;

    height: 52px;

    padding: 0 16px;

    border: 1px solid #ddd5c7;

    border-radius: 12px;

    background-color: #ffffff;

    font-size: 16px;

    outline: none;

    transition:
        border-color 0.2s,
        box-shadow 0.2s;
}

input:focus {
    border-color: #a58c68;

    box-shadow:
        0 0 0 3px
        rgba(165, 140, 104, 0.12);
}

input::placeholder {
    color: #aaa;
}

button {
    width: 100%;

    height: 54px;

    margin-top: 8px;

    border: none;

    border-radius: 12px;

    background-color: #5f7055;

    color: white;

    font-size: 16px;
    font-weight: 600;

    cursor: pointer;

    transition:
        opacity 0.2s,
        transform 0.1s;
}

button:active {
    transform: scale(0.98);
}

button:disabled {
    opacity: 0.6;

    cursor: not-allowed;
}

.message {
    margin-top: 20px;

    text-align: center;

    font-size: 14px;

    min-height: 20px;
}

.message.success {
    color: #4d7047;
}

.message.error {
    color: #a04b45;
}


@media (min-width: 600px) {

    body {
        padding: 40px;
    }

    .card {
        padding: 40px 36px;
    }

}