:root {
    --accent: #0b6efd;
    --muted: #6b7280;
    --bg: #f7fafc
}

* {
    box-sizing: border-box
}

body {
    font-family: Inter, Segoe UI, Roboto, Arial, sans-serif;
    margin: 0;
    background: var(--bg);
    color: #111
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 16px
}

.site-header {
    background: white;
    border-bottom: 1px solid #e6e9ee
}

.site-header .container {
    display: flex;
    align-items: center;
    gap: 16px
}

.brand {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: inherit
}

.brand-name {
    font-weight: 700
}

.main-nav {
    display: flex;
    gap: 12px;
    margin-left: 16px
}

.main-nav a {
    color: var(--muted);
    text-decoration: none
}

.user-actions {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 8px
}

.btn {
    padding: 8px 12px;
    border-radius: 6px;
    border: 0;
    cursor: pointer
}

.btn-link {
    background: none;
    border: 0;
    color: var(--muted);
    cursor: pointer
}

.btn-primary {
    background: var(--accent);
    color: white
}

.auth-card {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 60vh
}

.card {
    background: white;
    padding: 24px;
    border-radius: 8px;
    box-shadow: 0 6px 18px rgba(2, 6, 23, 0.08);
    width: 360px
}

.card h1 {
    margin: 0 0 12px
}

input[type=email],
input[type=password],
input[type=text],
textarea,
select {
    width: 100%;
    padding: 8px;
    margin: 6px 0 12px;
    border: 1px solid #e4e7ea;
    border-radius: 6px
}

.alert {
    padding: 8px;
    border-radius: 6px;
    margin-bottom: 12px
}

.alert-danger {
    background: #ffe9e9;
    color: #822
}

.center {
    text-align: center;
    padding: 48px 0
}

.site-footer {
    padding: 16px 0;
    background: #fff;
    border-top: 1px solid #e6e9ee;
    margin-top: 32px
}

/* table and icon styles */
.table th,
.table td {
    padding: 10px;
    border-bottom: 1px solid #eef2f7;
}

.table thead th {
    background: #fbfbfd;
    text-align: left
}

.icon-btn {
    padding: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center
}

.icon-link svg {
    vertical-align: middle
}

.icon-link {
    color: inherit;
    text-decoration: none
}

.filters input,
.filters select {
    padding: 8px
}

/* hero banners that use figma screenshots as background (decorative) */
.page-hero {
    display: flex;
    align-items: center;
    padding: 18px 12px;
    margin-bottom: 12px;
    background-color: #fff;
    border-radius: 6px
}

.page-hero>div {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 12px
}

.page-hero h1 {
    margin: 0
}

.page-hero--list {
    background-image: url('/azada/public/img/figma/Screenshot 2026-07-20 182449.png');
    background-repeat: no-repeat;
    background-position: right center;
    background-size: 120px auto
}

.page-hero--edit {
    background-image: url('/azada/public/img/figma/Screenshot 2026-07-20 182455.png');
    background-repeat: no-repeat;
    background-position: right center;
    background-size: 120px auto
}

@media(max-width:720px) {
    .main-nav {
        display: none
    }

    .container {
        padding: 12px
    }
}