body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background: #f5f7fb;
    color: #333;
}

body.rtl {
    direction: rtl;
}

body.rtl label,
body.rtl input,
body.rtl select,
body.rtl button,
body.rtl .admin-actions {
    text-align: right;
}

.language-switch {
    margin-bottom: 18px;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.language-switch a {
    padding: 8px 14px;
    border-radius: 8px;
    text-decoration: none;
    color: #1d72b8;
    border: 1px solid #ccd6e0;
}

.language-switch a.active {
    background: #1d72b8;
    color: white;
    border-color: #1d72b8;
}

.container {
    max-width: 760px;
    margin: 32px auto;
    padding: 24px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 18px 45px rgba(44, 62, 80, 0.08);
}

.logo-wrap {
    text-align: center;
    margin-bottom: 20px;
}

.logo {
    max-width: 220px;
    width: 100%;
    height: auto;
}

header h1 {
    margin: 0 0 8px;
    font-size: 28px;
}

header p {
    margin: 0 0 24px;
    color: #555;
}

label {
    display: block;
    margin: 16px 0 8px;
    font-weight: bold;
}

input[type="text"],
input[type="tel"],
input[type="password"],
select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccd6e0;
    border-radius: 8px;
    font-size: 15px;
    box-sizing: border-box;
}

button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
    padding: 12px 22px;
    border: none;
    border-radius: 8px;
    background: #1d72b8;
    color: white;
    font-size: 15px;
    cursor: pointer;
}

button:hover {
    background: #155a92;
}

.alert {
    padding: 16px 18px;
    border-radius: 10px;
    margin-bottom: 20px;
}

.alert.success {
    background: #e7f8ef;
    color: #226a45;
    border: 1px solid #c6e7d3;
}

.alert.error {
    background: #fdecea;
    color: #8f1d1d;
    border: 1px solid #f5c2c2;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 24px;
}

table th,
table td {
    padding: 12px 10px;
    text-align: left;
    border-bottom: 1px solid #e7ecf3;
}

table th {
    background: #f7f9fc;
}

.status.done {
    color: #157a30;
    font-weight: bold;
}

.status.pending {
    color: #9e6400;
    font-weight: bold;
}

.admin-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    margin-bottom: 20px;
}

.admin-actions form {
    flex: 1;
    min-width: 220px;
}

.admin-actions .button.logout {
    display: inline-block;
    padding: 12px 18px;
    text-decoration: none;
    background: #d9534f;
    color: white;
    border-radius: 8px;
}

footer {
    margin-top: 28px;
    color: #666;
}

footer a {
    color: #1d72b8;
    text-decoration: none;
}

.login-form {
    max-width: 360px;
}
