/* ══ Shared styles used across all pages ══════════════════════════════════ */

/* ── Variables ── */
:root {
    --orange:   #f36a1f;
    --blue:     #233e90;
    --light:    #ececec;
    --ink:      #222222;
}

/* ── Reset ── */
* { box-sizing: border-box; }

/* ── Base ── */
body {
    margin: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    font-family: Tahoma, Verdana, sans-serif;
    color: var(--ink);
    background: var(--orange);
}

/* ── Navbar ── */
.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--light);
    margin: 0 20px;
    padding: 10px 18px;
    min-height: 10vh;
    clip-path: polygon(0 0, 0 0, 1% 100%, 99% 99%, 100% 0);
    position: sticky;
    top: 0;
    z-index: 100;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    left: 4.3vw;
    position: relative;
}

.brand-logo {
    width: 58px;
    height: 10vh;
    flex: 0 0 58px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.brand-logo img {
    width: 5vw;
    height: 6vh;
}

.brand span {
    font-size: 12px;
    font-weight: 700;
    color: #232323;
}

.menu {
    display: flex;
    gap: 12px;
    right: 5vw;
    position: relative;
}

.menu a,
.menu button {
    text-decoration: none;
    background: var(--blue);
    color: #fff;
    padding: 9px 26px;
    min-width: 7.5vw;
    text-align: center;
    clip-path: polygon(0 0, 92% 0, 100% 22%, 100% 100%, 0 100%);
    font-size: 19px;
    font-weight: 400;
    line-height: 1;
    transition: transform .15s ease;
    border: 0;
    cursor: pointer;
    font-family: inherit;
}

.menu a:hover,
.menu button:hover {
    transform: translateY(-2px);
}

/* ── Footer ── */
footer {
    background: #d9d9d9;
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    padding: 34px 26px;
    font-size: 18px;
}

footer ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

footer a {
    color: var(--blue);
    text-decoration: none;
    font-weight: 700;
    line-height: 1.7;
}

/* ── Flash / Error messages ── */
.flash {
    background: #d2f5d3;
    border: 1px solid #84d18a;
    color: #155724;
    padding: 10px 14px;
    margin-bottom: 14px;
}

.errors {
    background: #ffe2e2;
    border: 1px solid #f6a4a4;
    color: #821717;
    padding: 10px 14px;
    margin-bottom: 14px;
}
