@font-face {
    font-family: "Noto Sans Arabic Local";
    src: url("assets-mubasher/notosansarabic-regular.0c46bc601f5f2608.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

:root {
    color-scheme: light;
    font-family: "Noto Sans Arabic Local", "Noto Sans Arabic", Arial, Tahoma, sans-serif;
    background: #edf1f7;
    color: #15171a;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-height: 100vh;
    background: linear-gradient(180deg, #eef2f7 0%, #e7ecf4 100%);
}

.page {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 24px;
}

.page.wide {
    align-items: start;
}

.form,
.data-panel {
    width: min(100%, 380px);
    background: #ffffff;
    border: 1px solid #e1e4e8;
    border-radius: 8px;
    padding: 24px;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
}

.data-panel {
    width: min(100%, 900px);
}

h1 {
    margin: 0 0 22px;
    font-size: 24px;
    font-weight: 700;
}

label {
    display: block;
    margin: 16px 0 8px;
    font-size: 14px;
    font-weight: 700;
}

input {
    width: 100%;
    height: 44px;
    border: 1px solid #cfd6dd;
    border-radius: 6px;
    padding: 0 12px;
    font-size: 16px;
    outline: none;
}

input:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.14);
}

button,
.link-button {
    width: 100%;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
    border: 0;
    border-radius: 6px;
    background: #15171a;
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
}

.alert {
    margin: 0 0 16px;
    padding: 10px 12px;
    border-radius: 6px;
    background: #fff1f2;
    color: #be123c;
    font-size: 14px;
}

.note,
.text,
.empty {
    margin: 16px 0 0;
    color: #5f6873;
    font-size: 14px;
}

.topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 20px;
}

.topbar h1 {
    margin: 0;
}

.topbar a {
    color: #15171a;
    font-size: 14px;
}

.table-wrap {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    background: #ffffff;
}

th,
td {
    padding: 12px;
    border-bottom: 1px solid #e8ebef;
    text-align: right;
    font-size: 14px;
}

th {
    background: #f8fafc;
    font-weight: 700;
}

.login-page {
    padding: 32px 24px;
}

.login-card {
    width: min(100%, 520px);
    padding: 32px;
    border: 1px solid #d7dfeb;
    border-radius: 10px;
    box-shadow: 0 20px 44px rgba(15, 23, 42, 0.08);
}

.login-brand {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 12px;
    margin-bottom: 18px;
}

.login-brand-copy {
    padding-top: 4px;
}

.login-brand-title {
    display: block;
    color: #1d45f2;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.3;
}

.login-brand-logo {
    width: 86px;
    height: auto;
}

.login-heading {
    margin: 0 0 28px;
    color: #061765;
    font-size: clamp(34px, 5vw, 38px);
    font-weight: 800;
    line-height: 1.2;
    text-align: center;
}

.login-label {
    margin: 0 0 12px;
    color: #061765;
    font-size: 18px;
    font-weight: 700;
}

.login-input {
    height: 58px;
    margin-bottom: 22px;
    border: 1px solid #d3dbe8;
    border-radius: 9px;
    padding: 0 16px;
    background: #f9fbfe;
    font-size: 18px;
}

.login-input:focus {
    border-color: #1d45f2;
    box-shadow: 0 0 0 4px rgba(29, 69, 242, 0.12);
}

.login-submit {
    height: 60px;
    margin-top: 4px;
    border-radius: 9px;
    background: #1d45f2;
    font-size: 18px;
}

.login-submit:hover,
.login-submit:focus-visible {
    background: #1738ca;
}

.login-note {
    margin: 18px 0 0;
    color: #677486;
    font-size: 16px;
    line-height: 1.8;
    text-align: center;
}

.login-secondary {
    height: 60px;
    margin-top: 18px;
    border: 1px solid #d3dbe8;
    border-radius: 9px;
    background: #ffffff;
    color: #1d45f2;
    font-size: 18px;
}

.login-secondary:hover,
.login-secondary:focus-visible {
    background: #f7f9fd;
}

.success-card {
    text-align: center;
}

.success-badge {
    width: 84px;
    height: 84px;
    display: grid;
    place-items: center;
    margin: 4px auto 18px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1d45f2, #3b82f6);
    color: #ffffff;
    font-size: 38px;
    font-weight: 800;
    box-shadow: 0 16px 36px rgba(29, 69, 242, 0.18);
}

.success-heading {
    margin-bottom: 14px;
}

.success-note {
    margin-top: 0;
    margin-bottom: 10px;
}

@media (max-width: 640px) {
    .login-card {
        padding: 24px 20px;
    }

    .login-heading {
        font-size: 30px;
    }

    .login-label,
    .login-input,
    .login-submit,
    .login-secondary,
    .login-note {
        font-size: 16px;
    }
}
