
@font-face {
    font-family: 'notokufiarabic-variablefont_wght';
    src: url('../fonts/notokufiarabic-variablefont_wght.ttf') format('truetype');
}
* {
    font-family: 'notokufiarabic-variablefont_wght', sans-serif;
}

body {
    background: #3d4a18;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    box-sizing: border-box;
}

.login-card {
    background: #fff;
    border-radius: 16px;
    padding: 2.5rem;
    width: 100%;
    max-width: 420px;
    box-shadow: 0 20px 60px rgba(0,0,0,.3);
}

.brand-block {
    text-align: center;
    margin-bottom: 1rem;
}

.brand-logo {
    width: 100%;
    max-width: 300px;
    height: auto;
    max-height: 140px;
    border-radius: 12px;
    object-fit: contain;
    background: #fff;
    border: 1px solid #d8e0d0;
    box-shadow: 0 8px 18px rgba(61, 74, 24, .12);
    margin-bottom: .65rem;
    padding: .55rem .7rem;
}

.brand-company {
    color: #3d4a18;
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: .02em;
}

.brand-tagline {
    color: #5c6b3a;
    font-size: .82rem;
    font-weight: 600;
    margin-top: .2rem;
    line-height: 1.4;
}

.form-control {
    border-radius: 8px;
    border: 1.5px solid #e2e8f0;
    padding: .65rem 1rem;
}

    .form-control:focus {
        border-color: #587020;
        box-shadow: 0 0 0 3px rgba(88,112,32,.15);
    }

.password-wrap {
    position: relative;
}

.password-input {
    padding-inline-end: 2.7rem;
}

.password-toggle {
    position: absolute;
    inset-inline-end: .55rem;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    background: transparent;
    color: #64748b;
    width: 2rem;
    height: 2rem;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.password-toggle:hover {
    background: #eef2f7;
    color: #3d4a18;
}

.btn-login {
    background: #3d4a18;
    border: none;
    border-radius: 8px;
    padding: .75rem;
    font-weight: 600;
    width: 100%;
}

    .btn-login:hover {
        background: #587020;
    }

.hint {
    background: #f3f6e8;
    border-radius: 8px;
    padding: .75rem 1rem;
    font-size: .8rem;
    color: #3d4a18;
    margin-top: 1.25rem;
}

.lang-btn {
    background: rgba(255,255,255,.15);
    border: 1px solid rgba(255,255,255,.3);
    border-radius: 8px;
    color: #fff;
    padding: .4rem 1rem;
    font-size: .8rem;
    text-decoration: none;
    display: block;
    text-align: center;
    margin-bottom: 1rem;
}

/* Login page is standalone (no ar.css); keep checkbox + label adjacent in LTR/RTL */
.login-card .form-check {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0;
    min-height: 1.5rem;
}

.login-card .form-check-input {
    float: none !important;
    margin: 0 !important;
    flex-shrink: 0;
}

.login-card .form-check-label {
    margin-bottom: 0;
    cursor: pointer;
}
