@import url("https://fonts.googleapis.com/css2?family=Heebo:wght@400;500;600;700&display=swap");

html {
    height: 100%;
}

body.login-page {
    margin: 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px 16px;
    box-sizing: border-box;
    direction: rtl;
    text-align: right;
    font-family: "Heebo", "Segoe UI", Tahoma, Arial, sans-serif;
    background: #fff;
    color: #2f3a32;
}

.login-card {
    width: 100%;
    max-width: 420px;
    background: #fff;
    border-radius: 20px;
    border: 1px solid rgba(90, 130, 70, 0.12);
    box-shadow: 0 18px 44px rgba(40, 60, 50, 0.12);
    padding: 36px 32px 28px;
    box-sizing: border-box;
}

.login-brand {
    margin: 0 0 6px;
    font-size: 1.55rem;
    font-weight: 700;
    color: #3d5c18;
    letter-spacing: 0.01em;
}

.login-title {
    margin: 0 0 6px;
    font-size: 1.35rem;
    font-weight: 700;
    color: #2f4a1c;
}

.login-sub {
    margin: 0 0 26px;
    font-size: 0.98rem;
    font-weight: 400;
    color: #5a6a58;
    line-height: 1.45;
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.login-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.login-field label {
    font-size: 0.92rem;
    font-weight: 600;
    color: #3a453c;
}

.login-field input,
.login-field select {
    width: 100%;
    height: 44px;
    padding: 8px 12px;
    border: 1px solid #c9d5cc;
    border-radius: 10px;
    background: #fbfcfb;
    font-family: inherit;
    font-size: 15px;
    color: #2a3328;
    box-sizing: border-box;
}

.login-field input:focus,
.login-field select:focus {
    outline: none;
    border-color: #7bae00;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(123, 174, 0, 0.2);
}

.login-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.login-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 46px;
    margin-top: 8px;
    border: 0;
    border-radius: 999px;
    background: #7bae00;
    color: #fff;
    font-family: inherit;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 6px 16px rgba(90, 130, 20, 0.28);
}

.login-submit:hover {
    background: #6a9600;
}

@media (max-width: 480px) {
    .login-card {
        padding: 28px 20px 22px;
    }

    .login-row {
        grid-template-columns: 1fr;
    }
}
