@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@300;400;500;600;700&family=Playfair+Display:wght@600&display=swap');

:root {
    --brand-dark:     #1a2530;
    --brand-mid:      #2c3e4f;
    --brand-accent:   #e05c2a;
    --brand-accent-h: #f07040;
    --brand-green:    #27ae60;
    --brand-blue:     #2980b9;
    --surface:        #f0f2f5;
    --surface-card:   #ffffff;
    --text-primary:   #1a2530;
    --text-secondary: #5a6a7a;
    --text-muted:     #8a9aaa;
    --border:         #dde3ea;
    --radius-sm:      6px;
    --radius-md:      12px;
    --radius-lg:      20px;
    --shadow-sm:      0 1px 4px rgba(0,0,0,0.06);
    --shadow-md:      0 4px 16px rgba(0,0,0,0.10);
    --shadow-lg:      0 8px 32px rgba(0,0,0,0.13);
    --transition:     0.2s cubic-bezier(0.4,0,0.2,1);
}

*, *::before, *::after {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

a {
    text-decoration: none;
    color: inherit;
}

html, body {
    height: 100%;
    width: 100%;
}

body {
    font-family: 'DM Sans', sans-serif;
    background-color: var(--surface);
    color: var(--text-primary);
    line-height: 1.6;
    display: grid;
    grid-template-rows: auto 1fr;
    min-height: 100%;
}

/* ── Header ─────────────────────────────────────── */
.main-header {
    background: linear-gradient(135deg, var(--brand-dark) 0%, var(--brand-mid) 100%);
    color: #fff;
    padding: 14px 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-direction: column;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow-md);
}

.brand {
    font-family: 'Playfair Display', serif;
    font-size: 1.7rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: #fff;
}

.branchName {
    font-size: 0.78rem;
    font-weight: 500;
    color: rgba(255,255,255,0.72);
    display: flex;
    align-items: center;
    gap: 8px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.branchName a {
    color: rgba(255,255,255,0.72);
    transition: color var(--transition);
    display: flex;
    align-items: center;
}

.branchName a:hover {
    color: var(--brand-accent-h);
}

.branchName span {
    padding: 2px 10px;
    background: rgba(255,255,255,0.10);
    border-radius: 99px;
    border: 1px solid rgba(255,255,255,0.18);
}

/* ── Main ───────────────────────────────────────── */
main {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 20px 16px 32px;
    min-height: 0;
}

/* ── Inputs ─────────────────────────────────────── */
input, select, textarea {
    font-size: 16px;
    font-family: 'DM Sans', sans-serif;
}

/* ── Menu button ─────────────────────────────────── */
#Menubutton {
    background-color: var(--brand-accent);
    position: absolute;
    right: -15px;
    top: 50%;
    transform: translateY(-50%);
    height: 80px;
    width: 15px;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    font-size: 0.65rem;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    box-shadow: var(--shadow-sm);
    transition: background var(--transition);
}

#Menubutton:hover {
    background-color: var(--brand-accent-h);
}
