/* ==========================================
   GLOBAL
========================================== */

*{
    box-sizing:border-box;
}

body{

    margin:0;
    font-family:Arial, Helvetica, sans-serif;
    background:#F5F7FA;
    color:#1F2937;

}

.page{

    max-width:1600px;
    margin:auto;
    padding:40px;

}

/* ==========================================
   HERO
========================================== */

.hero{

    text-align:center;
    margin-bottom:40px;

}

.hero h1{

    font-size:48px;
    margin-bottom:15px;
    color:#1F2937;

}

.intro{

    max-width:800px;
    margin:auto;
    color:#6B7280;
    line-height:1.7;
    font-size:18px;

}

/* ==========================================
   LEGEND
========================================== */

.legend{

    display:flex;
    justify-content:center;
    gap:40px;
    margin-top:35px;
    margin-bottom:15px;
    flex-wrap:wrap;

}

.legend-item{

    display:flex;
    align-items:center;
    gap:10px;
    font-weight:600;

}

.legend-seat{

    width:16px;
    height:16px;
    border-radius:50%;

}

.legend-seat.available{

    background:#D9D9D9;

}

.legend-seat.selected{

    background:#2F80ED;

}

.legend-seat.donated{

    background:#27AE60;

}

/* ==========================================
   MAIN LAYOUT
========================================== */

.content{

    display:grid;
    grid-template-columns:1fr 360px;
    gap:35px;
    align-items:start;

}

/* ==========================================
   STADIUM
========================================== */

.stadium-panel{

    background:white;
    border-radius:20px;
    padding:25px;
    box-shadow:0 12px 35px rgba(0,0,0,.08);

}

#stadium-container{

    width:100%;
    overflow:auto;

}

#stadium-container svg{

    width:100%;
    height:auto;
    display:block;

}

/* ==========================================
   SUMMARY
========================================== */

#summary{

    background:white;
    border-radius:20px;
    padding:30px;
    box-shadow:0 12px 35px rgba(0,0,0,.08);

    position:sticky;
    top:30px;

}

#summary h2{

    margin-top:0;
    margin-bottom:25px;
    font-size:28px;

}

/* ==========================================
   STAT CARDS
========================================== */

.stats{

    display:grid;
    grid-template-columns:1fr 1fr;
    gap:15px;
    margin-bottom:30px;

}

.stat-card{

    background:#F8FAFC;
    border-radius:14px;
    text-align:center;
    padding:20px;

}

.stat-number{

    font-size:34px;
    font-weight:bold;
    color:#2F80ED;

}

.stat-label{

    color:#6B7280;
    margin-top:8px;
    font-size:14px;

}

/* ==========================================
   SELECTED SEATS
========================================== */

#summary h3{

    margin-bottom:15px;

}

#seat-list{

    display:flex;
    flex-wrap:wrap;
    gap:10px;

    list-style:none;

    padding:0;
    margin:0 0 30px 0;

    min-height:50px;

}

#seat-list li{

    background:#2F80ED;
    color:white;

    padding:8px 14px;

    border-radius:30px;

    font-size:14px;
    font-weight:bold;

}

/* ==========================================
   BUTTON
========================================== */

#continue-btn{

    width:100%;

    padding:18px;

    border:none;

    border-radius:12px;

    background:#2F80ED;

    color:white;

    font-size:18px;

    font-weight:bold;

    cursor:pointer;

    transition:.25s;

}

#continue-btn:hover:not(:disabled){

    transform:translateY(-2px);

    box-shadow:0 10px 20px rgba(47,128,237,.25);

}

#continue-btn:disabled{

    opacity:.35;
    cursor:not-allowed;

}

/* ==========================================
   TOOLTIP
========================================== */

#tooltip{

    position:absolute;

    display:none;

    background:#333;

    color:white;

    padding:12px 16px;

    border-radius:8px;

    font-size:14px;

    pointer-events:none;

    z-index:99999;

    box-shadow:0 8px 20px rgba(0,0,0,.25);

}

/* ==========================================
   MOBILE
========================================== */

@media(max-width:1100px){

.content{

    grid-template-columns:1fr;

}

#summary{

    position:relative;
    top:0;

}

.hero h1{

    font-size:38px;

}

.page{

    padding:20px;

}

}
#stadium-container{
    position:relative;
    width:100%;
    aspect-ratio:1350 / 900;
}

#stadium-background,
#stadium-sections{
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
}

#stadium-background svg,
#stadium-sections svg{
    width:100%;
    height:100%;
    display:block;
}