/* ============================= */
/* Event Form CSS                 */
/* ============================= */

/* Header */
.event-header {
  background: #0d6efd;
  border-radius: 0.5rem 0.5rem 0 0;
  color: #fff;
}


/* Page wrapper */
.event-portal-wrapper {
    display: flex;
    justify-content: center;
    padding: 20px;
}

/* Main container */
.tabs-container {
    width: 100%;
    max-width: 1000px;
    background: #fff;
    border-radius: 0.75rem; /* slightly more rounded */
    box-shadow: 0 0.125rem 0.25rem rgba(0,0,0,0.08);
    display: flex;
    flex-direction: column;
}

/* Header */
.tabs-container .card-header {
    background-color: #0d6efd;
    color: #fff;
    border-radius: 0.75rem 0.75rem 0 0; /* rounded top edges */
    padding: 1rem 1.25rem; /* taller header */
    font-weight: 500;
}

/* ===== NAV TABS: EQUAL WIDTH ===== */
.nav-tabs {
    display: table;
    width: 100%;
    table-layout: fixed;
    margin: 0;
    padding: 0;
}

.nav-tabs .nav-item {
    display: table-cell;
}

.nav-tabs .nav-link {
    width: 100%;
    text-align: center;
    padding: 0.5rem 0;
}

/* ===== TAB CARD WRAPPER ===== */
.tab-card-wrapper {
    height: 450px; /* default height for tabs */
    display: flex;
    flex-direction: column;
}

/* All tabs: card body full height */
.tab-card-wrapper > div {
    flex: 1;
    overflow-y: auto; /* scroll if content overflows */
    padding-right: 8px; /* optional padding for scroll */
}

/* General tab: remove vertical scroll */
#general .card,
#general .card-body {
    height: auto !important;
    overflow: visible !important;
}

/* Schedule & Location tabs: allow scroll */
#schedule .card-body,
#location .card-body {
    overflow-y: auto;
}

/* ============================= */
/* Inputs & Labels Alignment      */
.tabs-container .form-control,
.tabs-container .form-select,
.tabs-container textarea {
    min-height: 38px;
    width: 100%;
    box-sizing: border-box;
}

.tabs-container textarea {
    min-height: 80px;
}

.tabs-container .form-label {
    font-weight: 500;
}

.tabs-container .row {
    margin-bottom: 15px;
}

.tabs-container .form-check-label {
    margin-left: 8px;
}

.tabs-container .invalid-feedback {
    display: block;
    font-size: 0.875rem;
}

/* ============================= */
/* Save Button Padding & Position */
form button[type="submit"] {
    margin-top: 20px;
    margin-left: 20px;
    padding: 10px 40px; /* extra left/right padding */
}

/* ============================= */
/* MOBILE */
@media (max-width: 768px) {
    .tabs-container {
        max-width: 100%;
        padding: 0 8px;
    }

    .nav-tabs {
        display: flex;
        flex-wrap: wrap;
    }

    .nav-tabs .nav-item {
        flex: 1;
    }

    .tab-card-wrapper {
        height: 340px;
    }
}


/* Block button → orange */
.btn-block-status {
    background-color: #ff6f00 !important;
    color: white !important;
    border: none !important;
}

.btn-block-status:hover {
    background-color: #e65c00 !important;
}

/* Unblock button → green */
.btn-unblock-status {
    background-color: #28a745 !important;
    color: white !important;
    border: none !important;
}

.btn-unblock-status:hover {
    background-color: #218838 !important;
}

/* Optional: make all buttons same width */
.btn-sm {
    min-width: 90px;
}





