/* Load IBM Plex Sans Arabic from Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans+Arabic:wght@300;400;500;600;700&display=swap');

/* RTL + Brand Typography */
html, body {
    direction: rtl;
    text-align: right;
    font-family: 'IBM Plex Sans Arabic', Tahoma, Arial, sans-serif;
}
body { background-color: #f4f5f7 !important; }
h1, h2, h3, h4, h5, h6 {
    font-family: 'IBM Plex Sans Arabic', Tahoma, Arial, sans-serif;
    font-weight: 600;
}
.header { text-align: center; padding: 2rem 1rem 1rem; }
.header .logo img { max-height: 64px; width: auto; }
.container.wrap {
    max-width: 540px; margin: 0 auto; background: #fff;
    border-radius: 10px; box-shadow: 0 2px 8px rgba(0,0,0,0.06); padding: 2rem;
}
input[type="email"], input[type="text"], input[type="password"], textarea, select {
    direction: rtl; text-align: right;
    font-family: 'IBM Plex Sans Arabic', Tahoma, Arial, sans-serif;
    border: 1px solid #d0d5dd; border-radius: 6px; padding: 10px 14px;
    font-size: 14px; width: 100%; box-sizing: border-box;
}
input:focus, select:focus, textarea:focus {
    border-color: #1a2744; outline: none;
    box-shadow: 0 0 0 3px rgba(26,39,68,0.08);
}
label {
    font-family: 'IBM Plex Sans Arabic', Tahoma, Arial, sans-serif;
    font-weight: 600; font-size: 14px; color: #333;
}

/* Lists section */
.lists ul { padding: 0; margin: 0; list-style: none; }
.lists li {
    display: block;
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
}
.lists li:last-child { border-bottom: none; }
.lists li input[type="checkbox"] {
    width: auto;
    float: right;
    margin: 4px 0 8px 10px;
    cursor: pointer;
    accent-color: #1a2744;
    transform: scale(1.2);
}
.lists li label {
    font-weight: 500;
    font-size: 15px;
    display: block;
    overflow: hidden;
    cursor: pointer;
    color: #1a2744;
}
.lists li .description {
    font-size: 13px;
    color: #888;
    margin: 4px 0 0;
    clear: both;
    line-height: 1.6;
}

.button, button[type="submit"], input[type="submit"] {
    background: #1a2744 !important; color: #fff !important; border: none;
    border-radius: 6px; padding: 12px 32px; font-size: 15px; font-weight: 700;
    font-family: 'IBM Plex Sans Arabic', Tahoma, Arial, sans-serif;
    cursor: pointer; transition: background 0.2s;
}
.button:hover, button[type="submit"]:hover, input[type="submit"]:hover { background: #c9a84c !important; }
.footer {
    text-align: center; padding: 1.5rem 1rem; font-size: 12px; color: #999;
    font-family: 'IBM Plex Sans Arabic', Tahoma, Arial, sans-serif;
}
.footer a { color: #999; text-decoration: none; }
.footer a:hover { color: #c9a84c; }
a { color: #1a2744; }
a:hover { color: #c9a84c; }
@media (max-width: 600px) {
    .container.wrap { margin: 0; border-radius: 0; padding: 1.5rem; }
}