/* hall selection grid layout */
.halls-selection {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1rem;
    margin-top: 0.5rem;
}

/* individual hall item styling */
.hall-item {
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    padding: 1rem;
    transition: all 0.2s ease;
    background: #fff;
}

.hall-item:hover {
    border-color: #cbd5e0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.hall-item .form-check {
    display: flex;
    align-items: center;
    margin: 0;
}

.hall-item .form-check-input {
    width: 1.25rem;
    height: 1.25rem;
    margin-top: 0;
    margin-right: 0.75rem;
    cursor: pointer;
    flex-shrink: 0;
}

.hall-item .form-check-label {
    font-size: 1rem;
    font-weight: 500;
    color: #2d3748;
    cursor: pointer;
    margin: 0;
}

.hall-item .form-check-input:checked ~ .form-check-label {
    font-weight: 600;
    color: #2d3748;
}

/* selected hall item styling */
.hall-item:has(.form-check-input:checked) {
    background-color: #edf2f7;
    border-color: #4a5568;
}

/* program timeline container */
.program-timeline {
    position: relative;
    padding-left: 2.5rem;
    margin-bottom: 1.5rem;
}

/* vertical timeline line */
.program-timeline::before {
    content: "";
    position: absolute;
    left: 1rem;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, #4299e1, #667eea);
    border-radius: 2px;
}

/* individual program item card */
.program-item {
    position: relative;
    background: #fff;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 1.25rem;
    margin-bottom: 1.25rem;
    transition: all 0.3s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

/* timeline dot for each program item */
.program-item::before {
    content: "";
    position: absolute;
    left: -2.25rem;
    top: 1.5rem;
    width: 14px;
    height: 14px;
    background: #4299e1;
    border: 3px solid #fff;
    border-radius: 50%;
    box-shadow: 0 0 0 3px #e2e8f0;
    z-index: 1;
}

.program-item:hover {
    border-color: #cbd5e0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateX(4px);
}

/* program item header with title and actions */
.program-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

.program-item-title {
    font-weight: 600;
    color: #2d3748;
    margin: 0;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.program-item-title i {
    color: #4299e1;
}

.program-item-actions {
    display: flex;
    gap: 0.5rem;
}

/* edit and delete buttons */
.btn-edit-program,
.btn-delete-program {
    padding: 0.375rem 0.75rem;
    font-size: 0.875rem;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.btn-delete-program {
    min-width: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-edit-program:hover {
    transform: translateY(-2px);
    box-shadow: 0 2px 8px rgba(66, 153, 225, 0.3);
}

.btn-delete-program:hover {
    transform: translateY(-2px);
    box-shadow: 0 2px 8px rgba(220, 38, 38, 0.3);
}

/* program item edit form body */
.program-item-body {
    background: #f8fafc;
    padding: 1rem;
    border-radius: 8px;
    margin-top: 0.75rem;
}

/* program item display area */
.program-item-display {
    padding: 0.5rem 0;
}

.program-item-display small {
    display: block;
    color: #64748b;
    line-height: 1.6;
}

.program-item-display i {
    color: #4299e1;
    width: 18px;
}

.btn-save-program {
    border-radius: 6px;
    padding: 0.5rem 1.25rem;
}

/* add extra item button styling */
#add-extra-item-btn {
    border-radius: 20px;
    padding: 0.5rem 1.5rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

#add-extra-item-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(66, 153, 225, 0.3);
}
