* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    min-height: 100%;
    font-family:
        Inter,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;
}

body {
    background:
        radial-gradient(
            circle at top right,
            #d9efe4,
            transparent 35%
        ),
        linear-gradient(
            135deg,
            #f4f7f5,
            #e8efeb
        );

    color: #16251d;
}

.login-page {
    min-height: 100vh;

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

    padding: 30px;
}

.login-panel {
    width: 100%;
    max-width: 430px;

    background: #ffffff;

    border-radius: 24px;

    padding: 42px;

    box-shadow:
        0 20px 60px rgba(18, 55, 37, 0.12);
}

.brand {
    text-align: center;

    margin-bottom: 35px;
}


.brand h1 {
    margin: 0;

    font-size: 29px;

    letter-spacing: 3px;

    color: #123d2b;
}

.brand p {
    margin-top: 8px;

    color: #75837b;

    font-size: 14px;
}

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

.form-group label {
    display: block;

    margin-bottom: 7px;

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

    color: #33483c;
}

.form-group input {
    width: 100%;

    height: 50px;

    border: 1px solid #d7dfda;

    border-radius: 12px;

    padding: 0 15px;

    font-size: 15px;

    outline: none;

    transition:
        border-color .2s,
        box-shadow .2s;
}

.form-group input:focus {
    border-color: #176b46;

    box-shadow:
        0 0 0 4px rgba(23, 107, 70, .10);
}

.btn-login {
    width: 100%;

    height: 52px;

    border: 0;

    border-radius: 12px;

    background: #176b46;

    color: white;

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

    cursor: pointer;

    transition:
        transform .15s,
        background .15s;
}

.btn-login:hover {
    background: #125b3b;

    transform: translateY(-1px);
}

.alert {
    margin-bottom: 20px;

    padding: 13px 15px;

    border-radius: 10px;

    font-size: 14px;
}

.alert-danger {
    background: #feecec;
    color: #9d2929;
}

.alert-warning {
    background: #fff5d9;
    color: #8b6507;
}

.alert-success {
    background: #e8f7ef;
    color: #176b46;
}

.login-footer {
    margin-top: 30px;

    text-align: center;

    color: #89958e;

    font-size: 12px;
}

@media (max-width: 520px) {

    .login-page {
        padding: 15px;
    }

    .login-panel {
        padding: 30px 22px;
    }
}

.login-logo {
    width: 150px;
    max-height: 100px;

    margin: 0 auto 16px;

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

.login-logo img {
    max-width: 100%;
    max-height: 100px;

    object-fit: contain;
}
