
.navbar-brand img {
    position: relative;
    top: -2px;
    margin-top: -10px;    
}

.hero-section {
    position: relative;
    background: url('../images/swissChamp-nairomedias-199.jpg') no-repeat center center;
    background-size: cover;
    height: 100vh;
    color: white;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
}

.hero-section .container {
    position: relative;
    z-index: 1;
}

.hero-section h1 {
    font-size: 4.5rem;
    font-weight: 900;
}

.hero-section .lead {
    font-size: 1.75rem;
}

.countdown > div {
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 10px;
    margin: 0 10px;
    min-width: 120px;
}

.countdown-number {
    font-size: 3rem;
    font-weight: 700;
}

.countdown-label {
    font-size: 1rem;
    text-transform: uppercase;
}

.hero-register-btn {
    margin-top: 1.5rem;
    font-weight: 700;
}

.sponsor-logo {
    max-height: 120px;
    margin: 20px;
    transition: transform 0.2s;
}

.sponsor-logo:hover {
    transform: scale(1.1);
}

.map-responsive {
    overflow: hidden;
    padding-bottom: 56.25%;
    position: relative;
    height: 0;
}

.map-responsive iframe {
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    position: absolute;
}

.sponsors-hero {
    position: absolute;
    bottom: 20px;
    width: 100%;
    /* Removed background and padding */
}

.sponsors-hero .sponsor-logo {
    max-height: 60px;
    margin: 0 15px;
}

.gallery-item {
    cursor: pointer;
}

.modal-content {
    background: transparent;
    border: none;
}

.modal-body {
    padding: 0;
}

#logistics .card-img-top {
    height: 200px;
    object-fit: cover;
}

.carousel-image-container {
    width: calc(100% / 3 - 10px);
    margin: 5px;
    aspect-ratio: 1/1;
}

.carousel-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#gallery .img-fluid {
    transition: transform 0.3s, box-shadow 0.3s;
}

#gallery .img-fluid:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

@media (max-width: 992px) {
    .carousel-image-container {
        width: calc(100% / 2 - 10px);
   }
    .carousel-image-container:nth-child(3) {
        display: none;
    }
}

@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2.5rem;
    }

    .hero-section .lead {
        font-size: 1.25rem;
    }

    .countdown > div {
        padding: 10px;
        min-width: 90px;
    }

    .countdown-number {
        font-size: 2rem;
    }

    #location h3 {
        margin-top: 1rem; /* Add vertical space on small screens */
    }

    #register .btn {
        margin-bottom: 1rem;
    }

    .carousel-image-container {
        width: 100%;
    }
    .carousel-image-container:nth-child(2),
    .carousel-image-container:nth-child(3) {
        display: none;
    }
}


.page-shell {
    min-height: 100vh;
    background: #f6f8fb;
    color: #17202a;
}

.form-page {
    padding-top: 6rem !important;
}

.form-hero {
    background: linear-gradient(120deg, rgba(11, 78, 108, 0.95), rgba(26, 132, 111, 0.9)), url('../images/swissChamp-nairomedias-204.jpg') center/cover;
    color: #fff;
    padding: 3rem;
    border-radius: 8px;
}

.form-hero h1 {
    font-size: 3rem;
    font-weight: 800;
}

.eyebrow {
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0;
    font-size: 0.85rem;
    font-weight: 700;
    opacity: 0.8;
}

.entry-form,
.confirmation-box {
    background: #fff;
    border: 1px solid #dbe3ea;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 14px 35px rgba(19, 33, 48, 0.08);
}

.form-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.thank-you-panel {
    max-width: 760px;
}

.confirmation-box i {
    color: #1a846f;
    font-size: 3rem;
    margin-bottom: 1rem;
}

.details-list {
    border-top: 1px solid #e5ebf0;
    border-bottom: 1px solid #e5ebf0;
    padding: 1rem 0;
    margin: 1.5rem 0;
}

.admin-shell {
    min-height: 100vh;
    background: #eef3f6;
    color: #17202a;
}

.admin-login-shell {
    background: linear-gradient(135deg, #12384a, #176d63 60%, #f2b84b);
}

.admin-login {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 2rem;
}

.admin-login-panel {
    width: min(100%, 440px);
    background: #fff;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.22);
}

.brand-lockup {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.brand-lockup img {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.brand-lockup p,
.admin-topbar p {
    margin: 0;
    text-transform: uppercase;
    font-size: 0.8rem;
    font-weight: 800;
    color: #1a846f;
}

.brand-lockup h1,
.admin-topbar h1 {
    margin: 0;
    font-weight: 800;
}

.back-link {
    display: inline-block;
    margin-top: 1rem;
    color: #52616d;
    text-decoration: none;
}

.admin-topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 1.4rem clamp(1rem, 4vw, 3rem);
    background: #12384a;
    color: #fff;
}

.admin-topbar p {
    color: #9ed9cc;
}

.admin-content {
    width: min(1180px, calc(100% - 2rem));
    margin: 2rem auto;
}

.admin-metrics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.admin-metrics div,
.admin-toolbar,
.submission-table-wrap,
.submission-summary,
.admin-edit-form {
    background: #fff;
    border: 1px solid #d8e2e8;
    border-radius: 8px;
    box-shadow: 0 12px 30px rgba(19, 33, 48, 0.07);
}

.admin-metrics div {
    padding: 1rem;
}

.admin-metrics span {
    display: block;
    color: #5a6a76;
    font-size: 0.86rem;
    margin-bottom: 0.35rem;
}

.admin-metrics strong {
    font-size: 2rem;
    line-height: 1;
}

.admin-toolbar {
    padding: 1rem;
    margin-bottom: 1.25rem;
}

.submission-table-wrap {
    overflow: hidden;
}

.submission-table {
    margin-bottom: 0;
}

.submission-table thead th {
    background: #f5f8fa;
    color: #52616d;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0;
    border-bottom: 1px solid #d8e2e8;
}

.submission-table td {
    padding: 1rem;
}

.submission-table td span {
    display: block;
    color: #667784;
    font-size: 0.9rem;
}

.submission-table .amount-column {
    min-width: 96px;
    white-space: nowrap;
}

.submission-table .submitted-column {
    min-width: 128px;
    white-space: nowrap;
}

.submission-table .paid-column {
    min-width: 72px;
    text-align: center;
    white-space: nowrap;
}

.paid-toggle-form {
    margin: 0;
}

.paid-toggle {
    display: inline-grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border: 1px solid transparent;
    border-radius: 999px;
    background: #edf2f5;
    font-weight: 800;
}

.paid-toggle-paid {
    background: #e4f7ee;
    border-color: #b9e7d0;
    color: #11734c;
}

.paid-toggle-unpaid {
    background: #f8e8e8;
    border-color: #eac3c3;
    color: #a33434;
}

.paid-toggle:hover {
    filter: brightness(0.98);
}

.submission-summary {
    width: 100%;
}

.status-pill {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 0.25rem 0.65rem;
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    background: #edf2f5;
    color: #40515e;
}

.status-new { background: #e9f3ff; color: #0a5da8; }
.status-reviewed { background: #eef0ff; color: #4d55b8; }
.status-contacted { background: #fff6df; color: #9a6a00; }
.status-confirmed { background: #e4f7ee; color: #11734c; }
.status-cancelled { background: #f8e8e8; color: #a33434; }

.empty-table {
    padding: 2rem !important;
    text-align: center;
    color: #667784;
}

.edit-layout {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.admin-flash-messages {
    width: 100%;
}

.admin-flash-messages .alert:last-child {
    margin-bottom: 0;
}

.submission-summary,
.admin-edit-form {
    padding: 1.5rem;
}

.submission-summary h2 {
    font-size: 1.2rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.submission-summary dt {
    color: #5a6a76;
    font-size: 0.82rem;
    text-transform: uppercase;
}

.submission-summary dd {
    margin-bottom: 1rem;
    overflow-wrap: anywhere;
}

@media (max-width: 768px) {
    .form-hero {
        padding: 2rem;
    }

    .form-hero h1 {
        font-size: 2.1rem;
    }

    .entry-form,
    .confirmation-box,
    .admin-login-panel {
        padding: 1.25rem;
    }

    .admin-topbar {
        align-items: flex-start;
        flex-direction: column;
    }
}


.choice-group {
    border: 1px solid #dbe3ea;
    border-radius: 8px;
    padding: 1.25rem;
    background: #f8fafc;
}

.choice-group legend {
    float: none;
    width: auto;
    margin-bottom: 0.35rem;
    padding: 0;
    font-size: 1.05rem;
    font-weight: 800;
}

.choice-group p {
    margin-bottom: 1rem;
    color: #5a6a76;
}

.choice-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 0.75rem;
}

.compact-choice-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}

.choice-card {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    min-height: 48px;
    padding: 0.75rem 0.9rem;
    border: 1px solid #ccd8e0;
    border-radius: 8px;
    background: #fff;
    cursor: pointer;
}

.choice-card input {
    flex: 0 0 auto;
}

.choice-card span {
    font-weight: 700;
}

.accommodation-toggle {
    padding: 1rem 1rem 1rem 3.2rem;
    border: 1px solid #dbe3ea;
    border-radius: 8px;
    background: #fff;
}

.admin-choice-group {
    background: #fff;
}

.wide-admin-content {
    width: min(1320px, calc(100% - 2rem));
}

.lunch-note {
    color: #6c757d;
    font-size: 0.92rem;
}

.accommodation-group p {
    color: #6c757d;
    font-size: 0.92rem;
}

.category-list {
    margin: 0 0 1rem;
    padding-left: 1.2rem;
}

.category-list li {
    margin-bottom: 0.35rem;
}

.payment-box {
    margin: 1.5rem 0;
    padding: 1.25rem;
    border: 1px solid #dbe3ea;
    border-radius: 8px;
    background: #f8fafc;
}

.payment-box h2 {
    font-size: 1.2rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
}

.payment-total {
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.payment-lines {
    margin-bottom: 1rem;
}

.payment-instructions {
    padding-top: 1rem;
    border-top: 1px solid #dbe3ea;
}

.payment-instructions p {
    margin-bottom: 0.4rem;
}

.planning-summary {
    margin-bottom: 1.25rem;
}

.planning-card.card {
    border: 1px solid #d8e2e8 !important;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 14px 35px rgba(19, 33, 48, 0.08) !important;
}

.planning-kicker {
    display: block;
    color: #1a846f;
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
}

.planning-card-header h2 {
    margin: 0;
    font-size: 1.35rem;
    font-weight: 800;
}

.planning-hero {
    display: flex;
    align-items: baseline;
    gap: 0.45rem;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #edf2f5;
    color: #40515e;
}

.planning-hero strong {
    color: #0b1726;
    font-size: 2rem;
    line-height: 1;
}

.planning-stat-list {
    display: grid;
    gap: 0.55rem;
}

.planning-stat-list div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.planning-stat-list span {
    color: #5a6a76;
}

.planning-stat-list strong {
    color: #0b1726;
    font-weight: 800;
}

.sauce-summary {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #edf2f5;
}

.sauce-summary span {
    display: inline-flex;
    border-radius: 999px;
    padding: 0.25rem 0.6rem;
    background: #edf2f5;
    color: #40515e;
    font-size: 0.82rem;
    font-weight: 700;
}

.planning-no-food {
    margin-bottom: 0.25rem;
}

.planning-combo-table {
    border-top: 1px solid #edf2f5;
    color: #17202a;
}

.planning-combo-table th,
.planning-combo-table td {
    padding: 0.45rem 0.35rem;
    vertical-align: middle;
}

.planning-combo-table thead th {
    color: #5a6a76;
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
}

.planning-combo-table tbody th {
    color: #40515e;
    font-weight: 700;
}

.planning-combo-table td strong {
    font-weight: 800;
}

.admin-toolbar-header {
    margin-bottom: 1rem;
}

.admin-toolbar-header h2 {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 800;
}

.admin-toolbar-header p {
    margin: 0.2rem 0 0;
    color: #5a6a76;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .admin-toolbar-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .admin-toolbar-header .btn {
        align-self: flex-start;
    }
}

.confirmation-heading {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.confirmation-heading h1 {
    margin: 0;
}

.confirmation-box .confirmation-heading i {
    flex: 0 0 auto;
    margin-bottom: 0;
}

.thank-you-copy {
    color: #25313d;
    margin-bottom: 1.25rem;
}

.payment-bank-details {
    display: grid;
    gap: 0.08rem;
    line-height: 1.25;
}

.payment-bank-details div {
    margin: 0;
}

.thank-you-actions {
    margin-top: 2rem;
}

@media (max-width: 520px) {
    .confirmation-heading {
        align-items: flex-start;
        gap: 0.75rem;
    }

    .confirmation-heading h1 {
        font-size: 2rem;
    }
}

.danger-zone {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    border: 1px solid #f0c7c7;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 12px 30px rgba(19, 33, 48, 0.07);
}

.danger-zone h2 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 800;
    color: #8f2727;
}

.danger-zone p {
    margin: 0.25rem 0 0;
    color: #667784;
}

@media (max-width: 768px) {
    .danger-zone {
        align-items: flex-start;
        flex-direction: column;
    }
}
