/* General Form Styling */
#Event-Details-Table .event-details-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    font-family: Arial, sans-serif;
}

.event-details-form{
    width: 65%;
    margin: 0 auto;
}

#Event-Details-Table label {
    font-weight: bold;
    margin-bottom: 5px;
    display: block;
}

#Event-Details-Table input[type="text"],
#Event-Details-Table input[type="number"],
#Event-Details-Table input[type="date"],
#Event-Details-Table input[type="time"],
#Event-Details-Table textarea {
    width: 100%;
    padding: 8px 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
    font-size: 14px;
}

#Event-Details-Table textarea {
    height: 120px; /* taller for description */
    resize: vertical;
}

/* Two fields on one line (50%) */
.row-50 {
    display: flex;
    gap: 15px;
}

.row-50 div {
    width:50%;
}

.row-50 input {
    width: 100%;
}

/* Three fields on one line (33%) */
.row-33 {
    display: flex;
    gap: 15px;
}

.row-33 div{
    width:33%;
}

.row-33 input {
    width: 100%;
}

/* Three fields on one line (50% each, extra spacing ignored) */
.row-50 input[type="checkbox"] {
    width: auto;
    margin-left: 10px;
    transform: scale(1.2);
}

/* Submit Button Styling */
.submit-event-details {
    margin-top: 10px;
}

.submit-event-details button {
    padding: 10px 20px;
    background-color: #0073aa;
    color: #fff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
}

.submit-event-details button:hover {
    background-color: #005f8d;
}

/*Accordions*/

.accordion {
    border: 1px solid #ddd;
    border-radius: 5px;
    margin-bottom: 15px;
    overflow: hidden;
}

.accordion-item {
    width: 100%;
}

.accordion-header {
    background: #f8f9fa;
    border-bottom: 1px solid #ddd;
}

.accordion-button {
    background: none;
    border: none;
    width: 100%;
    text-align: left;
    padding: 15px 20px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
}

.accordion-button:hover {
    background: #e9ecef;
}

.accordion-button::after {
    content: '▼';
    font-size: 12px;
    transition: transform 0.3s ease;
}

.accordion-button.collapsed::after {
    transform: rotate(-90deg);
}

.accordion-collapse {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.accordion-collapse.show {
    max-height: 5000px; /* Adjust based on your content height */
}

.accordion-body {
    padding: 20px;
    background: white;
}

/* Hide checkboxes */
.accordion-toggle {
    display: none;
}

/* Style for when accordion is open */
.accordion-button:not(.collapsed) {
    background: #007cba;
    color: white;
}

.accordion-button:not(.collapsed)::after {
    color: white;
}

