@font-face {
    font-family: "IPSArabic";
    src: url("../IPSArabic/IBMPlexSansArabic-Regular.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "IPSArabic";
    src: url("../IPSArabic/IBMPlexSansArabic-Medium.ttf") format("truetype");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "IPSArabic";
    src: url("../IPSArabic/IBMPlexSansArabic-SemiBold.ttf") format("truetype");
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "IPSArabic";
    src: url("../IPSArabic/IBMPlexSansArabic-Bold.ttf") format("truetype");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

:root {
    --bg: #f6f7f9;
    --panel: #ffffff;
    --text: #20242a;
    --muted: #667085;
    --line: #d9dee7;
    --brand: #176b5c;
    --brand-dark: #0f4f44;
    --danger-bg: #fff1f1;
    --danger: #a22020;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "IPSArabic", Tahoma, Arial, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
}

.wrap {
    width: min(1400px, calc(100% - 32px));
    margin: 28px auto;
    padding-bottom: 28px;
}

header {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: end;
    margin-bottom: 18px;
}

h1 {
    margin: 0 0 6px;
    font-size: clamp(24px, 3vw, 36px);
    font-weight: 700;
}

.hint {
    color: var(--muted);
    font-size: 14px;
}

.search {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 18px;
}

form {
    display: grid;
    grid-template-columns: minmax(240px, 1fr) 210px 150px 170px auto;
    gap: 10px;
    align-items: end;
}

label {
    display: grid;
    gap: 6px;
    font-size: 13px;