/* EVENTVISTA THEME: edit CSS variables below to change the colour palette. */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@500;600;700;800&display=swap'); 
:root {
    --ink: #17221f;
    --muted: #66716c;
    --cream: #f7f7f0;
    --green: #b7f36b;
    --deep: #203c32;
    --line: #e5e9e1;
    --paper: #fff
}
* {
    box-sizing: border-box
}
html {
    scroll-behavior: smooth
}
body {
    margin: 0;
    background-color: #111827;
    color: #ffffff;
    font-family: 'DM Sans',Arial,sans-serif
}
a {
    color: inherit;
    text-decoration: none
}
button,input,select,textarea {
    font: inherit
}
button {
    cursor: pointer
}
header {
    background-color: #1f2937;
    height: 78px;
    padding: 0 7%;
    display: flex;
    align-items: center;
    justify-content: space-between
}
.brand {
    background-color: #05212d;
    border-radius: 10px;
    font: 800 20px Manrope;
    display: flex;
    align-items: center;
    gap: 10px
}
.brand b {
    display: grid;
    place-items: center;
    background-color: #32384c;
    width: 34px;
    height: 34px;
    border-radius: 10px
}
.brand em {
    font-style: normal
}
nav {
    display: flex;
    gap: 28px;
    align-items: center;
    font-size: 12px;
    font-weight: 700
}
.pill {
    background-color: #05212d;
    border: 1px solid #cbd2c7;
    padding: 10px 14px;
    border-radius: 30px
}
.hero {
    margin: 0 3%;
    border-radius: 26px;
    background: #05212d;
    color: white;
    padding: 55px 7%;
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    min-height: 410px;
    align-items: center;
    overflow: hidden
}
.eyebrow {
    font-size: 10px;
    letter-spacing: 2px;
    font-weight: 800;
    color: #1280b1;
    margin: 0 0 13px
}
.hero .eyebrow {
    color: #1280b1
}
h1,h2,h3,p {
    margin-top: 0
}
.hero h1 {
    font: 800 clamp(40px,5vw,64px)/1.08 Manrope;
    letter-spacing: -3px;
    margin-bottom: 18px
}
.hero h1 em {
    color: #1280b1;
    font-style: normal
}
.hero p:not(.eyebrow) {
    color: #d1ddd5;
    line-height: 1.8;
    max-width: 400px;
    font-size: 14px
}
.btn {
    border: 0;
    border-radius: 10px;
    padding: 12px 16px;
    font-size: 12px;
    font-weight: 800;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 12px
}
.light {
    background: #293d52;
    color: #050c20
}
.dark {
    background-color: #293d52;
    color: #050c20
}
.outline {
    border: 1px solid #cbd2c7;
    background: white;
    color: var(--ink)
}
.art {
    position: relative;
    min-height: 290px;
    display: grid;
    place-items: center
}
.ticket {
    background: #293d52;
    color: #050c20;
    width: 220px;
    height: 250px;
    border-radius: 15px;
    padding: 22px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transform: rotate(7deg);
    box-shadow: 14px 20px 0 #0b211b55
}
.ticket small,.ticket span {
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1.4px
}
.ticket strong {
    font: 800 37px/1.05 Manrope;
    letter-spacing: -1px
}
.art i {
    position: absolute;
    right: 0;
    top: 35px;
    background: #050c20;
    color: white;
    padding: 12px;
    border-radius: 30px;
    font-size: 10px;
    font-style: normal;
    font-weight: 800;
    transform: rotate(8deg)
}
.stats {
    display: flex;
    justify-content: center;
    gap: clamp(30px,9vw,130px);
    padding: 28px 4%;
    border-bottom: 1px solid var(--line)
}
.stats div {
    display: flex;
    align-items: center;
    gap: 12px
}

.stats b {
    font: 800 25px Manrope
}
.stats span,.muted {
    color: var(--muted);
    font-size: 12px
}
.section {
    padding: 75px 8%
}
.heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    margin-bottom: 25px
}
.heading h2,.banner h2 {
    font: 800 clamp(30px,4vw,42px)/1.1 Manrope;
    letter-spacing: -1.5px;
    margin: 0
}
.heading>p {
    font-size: 12px;
    color: var(--muted)
}
.filters {
    display: flex;
    gap: 12px;
    margin-bottom: 24px
}
.filters input,.filters select {
    background-color: #05212d;
    color: #ffffff;
    border: 1px solid var(--line);
    border-radius: 11px;
    padding: 13px
}
.filters input {
    flex: 1;
    max-width: 500px
}
.filters select {
    min-width: 160px
}
.grid {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 18px
}
.card {
    background-color: #05212d;
    border-radius: 17px;
    overflow: hidden;
    transition: .2s
}
.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 40px #13231a12
}
.eventart {
    height: 125px;
    padding: 14px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
    overflow: hidden;
    background: #d8e9cf
}
.eventart:after {
    content: '✳';
    position: absolute;
    right: 12px;
    bottom: -30px;
    font-size: 110px;
    color: #ffffff90
}
.eventart span,.eventart b {
    z-index: 1;
    background-color: #05212d;
    color: white;
    padding: 7px 9px;
    border-radius: 30px;
    font-size: 9px
}
.orange {
    background: #ffdcc5
}
.purple {
    background: #ded9ff
}
.blue {
    background: #cce9ee
}
.pink {
    background: #f6d8e6
}
.yellow {
    background: #f4e9b4
}
.cardbody {
    padding: 17px
}
.card h3 {
    font: 800 17px Manrope;
    margin: 0 0 8px
}
.cardbody>p {
    font-size: 11px;
    color: var(--muted);
    line-height: 1.6;
    min-height: 35px
}
.meta {
    font-size: 10px;
    line-height: 2;
    color: #53615a;
    border-top: 1px solid var(--line);
    padding: 10px 0;
    margin-bottom: 8px
}
.banner {
    margin: 0 3% 50px;
    background-color: #05212d;
    border-radius: 23px;
    padding: 42px 7%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px
}
.banner h2 {
    font-size: 33px
}
.banner>p {
    max-width: 380px;
    color: #5f6b61;
    line-height: 1.8;
    font-size: 12px;
    margin: 0
}
footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    padding: 24px 7%;
    border-top: 1px solid var(--line);
    font-size: 10px;
    color: var(--muted)
}
footer .brand {
    font-size: 16px
}
.hidden {
    display: none!important
}
.backdrop {
    position: fixed;
    inset: 0;
    background: #0c1712b8;
    z-index: 10;
    display: grid;
    place-items: center;
    padding: 20px
}
.modal {
    position: relative;
    background-color: #05212d;
    border-radius: 20px;
    padding: 28px;
    width: min(100%,440px);
    max-height: 92vh;
    overflow: auto
}
.modal h2 {
    font: 800 26px Manrope
}
.close {
    position: absolute;
    right: 16px;
    top: 12px;
    border: 0;
    border-radius: 50%;
    width: 33px;
    height: 33px;
    font-size: 23px
}
.modal form {
    display: grid;
    gap: 12px
}
.modal label,.admin label {
    font-size: 11px;
    font-weight: 700;
    display: grid;
    gap: 6px
}
.modal input,.admin input,.admin select,.admin textarea {
    border: 1px solid #dfe4dc;
    border-radius: 9px;
    padding: 11px;
    background-color: #ffffff;
    width: 100%;
    outline-color: #8bbf62
}
.message {
    font-size: 11px;
    color: #4d7d35;
    min-height: 12px
}
.modal .muted {
    font-size: 10px;
    line-height: 1.6
}
/* Admin panel layout */
.admin {
    display: grid;
    grid-template-columns: 225px 1fr;
    background-color: #111827;
    min-height: 100vh
}
.sidebar {
    background-color: #05212d;
    color: white;
    padding: 25px 17px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    height: 100vh;
    position: sticky;
    top: 0
}
.sidebar .brand {
    margin-bottom: 35px
}
.sidebar>a:not(.brand) {
    padding: 12px;
    border-radius: 9px;
    font-size: 12px;
    color: #e0e8e1
}
.sidebar>a:not(.brand):hover {
    background: #ffffff16;
    color: var(--green)
}
.sidebar .eyebrow {
    color: #a7b8ab;
    padding-left: 10px
}
.sidebottom {
    margin-top: auto;
    display: grid;
    gap: 18px;
    padding: 10px;
    font-size: 11px
}
.sidebottom small {
    font-size: 8px;
    letter-spacing: 1px;
    color: #a7b8ab
}
.admin-main {
    padding: 35px clamp(15px,4vw,50px);
    min-width: 0
}
.top,.panelhead {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px
}
.top {
    margin-bottom: 25px
}
.top h1 {
    font: 800 32px Manrope;
    margin: 0 0 6px
}
.top .muted {
    margin: 0
}
.status {
    background-color: #32384c;
    color: #050c20;
    border-radius: 25px;
    padding: 9px 12px;
    font-size: 10px;
    font-weight: 800
}
.metrics {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 14px;
    margin-bottom: 20px
}
.metrics article,.panel {
    background-color: #05212d;
    border: 1px solid var(--line);
    border-radius: 15px
}
.metrics article {
    padding: 18px;
    display: grid;
    gap: 7px
}
.metrics span,.metrics small {
    font-size: 10px;
    color: var(--muted)
}
.metrics b {
    font: 800 29px Manrope
}
.panel {
    padding: 20px;
    margin-bottom: 18px
}
.panelhead {
    margin-bottom: 18px
}
.panel h2 {
    font: 800 21px Manrope;
    margin: 0
}
.panel .eyebrow {
    margin-bottom: 5px
}
.tablewrap {
    overflow-x: auto;
    margin-top: 14px
}
table {
    width: 100%;
    border-collapse: collapse;
    white-space: nowrap
}
th {
    text-align: left;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 9px;
    color: #7b857e;
    padding: 11px;
    border-bottom: 1px solid var(--line)
}
td {
    font-size: 11px;
    padding: 13px 11px;
    border-bottom: 1px solid #eef0eb
}
td small {
    display: block;
    color: var(--muted);
    margin-top: 4px;
    font-size: 9px
}
.tiny {
    border: 0;
    background-color: #32384c;
    border-radius: 6px;
    padding: 7px;
    font-size: 10px
}
#event-form {
    background-color: #050c20;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 12px;
    margin: 15px 0
}
#event-form h3 {
    font: 700 16px Manrope
}
.formgrid {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 12px
}
.wide {
    grid-column: 1/-1
}
.actions {
    display: flex;
    gap: 10px;
    margin-top: 12px
}
.announce {
    display: flex;
    align-items: end;
    gap: 12px;
    margin-top: 15px
}
.announce label {
    flex: 1
}
.announcement {
    background: #050c20;
    border-radius: 9px;
    padding: 12px;
    font-size: 12px
}
.announcement small {
    display: block;
    color: var(--muted);
    margin-top: 6px
}
.announcement button {
    float: right;
    border: 0;
    background: #293d52;
    padding: 5px;
    border-radius: 5px;
    font-size: 10px
}
.admin footer {
    padding: 18px 0;
    color: #89928a
}
@media(max-width: 900px) {
    .grid {
        grid-template-columns:repeat(2,minmax(0,1fr))
    }

    .hero {
        padding: 42px 6%
    }

    .admin {
        grid-template-columns: 180px 1fr
    }

    .sidebar {
        padding: 18px 10px
    }
}
@media(max-width: 650px) {
    header {
        height:auto;
        padding: 17px 5%;
        gap: 10px;
        align-items: flex-start
    }

    nav {
        gap: 9px;
        flex-wrap: wrap;
        justify-content: flex-end;
        font-size: 10px
    }

    .pill {
        padding: 7px
    }

    .hero {
        grid-template-columns: 1fr;
        padding: 38px 7%
    }

    .hero h1 {
        font-size: 42px
    }

    .art {
        min-height: 270px
    }

    .stats {
        justify-content: space-around;
        gap: 12px
    }

    .stats div {
        display: grid;
        gap: 4px
    }

    .stats b {
        font-size: 21px
    }

    .stats span {
        font-size: 9px
    }

    .section {
        padding: 50px 5%
    }

    .heading {
        display: block
    }

    .heading>p {
        margin-top: 12px
    }

    .filters {
        flex-direction: column
    }

    .filters input,.filters select {
        max-width: none;
        min-height: 43px
    }

    .grid {
        grid-template-columns: 1fr
    }

    .banner {
        display: grid;
        padding: 30px 7%
    }

    .banner h2 {
        font-size: 28px
    }

    footer {
        padding: 20px 5%;
        flex-wrap: wrap
    }

    .admin {
        display: block
    }

    .sidebar {
        height: auto;
        position: relative;
        display: block;
        padding: 15px
    }

    .sidebar .brand {
        margin: 0 0 12px
    }

    .sidebar .eyebrow,.sidebottom {
        display: none
    }

    .sidebar>a:not(.brand) {
        display: inline-block;
        padding: 8px;
        font-size: 10px
    }

    .admin-main {
        padding: 20px 12px
    }

    .top h1 {
        font-size: 25px
    }

    .metrics {
        gap: 6px
    }

    .metrics article {
        padding: 11px
    }

    .metrics b {
        font-size: 22px
    }

    .metrics span,.metrics small {
        font-size: 9px
    }

    .panel {
        padding: 13px
    }

    .formgrid {
        grid-template-columns: 1fr
    }

    .wide {
        grid-column: auto
    }

    .announce {
        align-items: stretch;
        flex-direction: column
    }

    .panelhead h2 {
        font-size: 18px
    }
}
