
.custom-agenda-section {
    margin-bottom: 20px;
    background: #ffffff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.custom-agenda-section:hover {
    transform: translateY(-4px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.custom-agenda-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    padding-bottom: 10px;
    border-bottom: 2px solid #e5e7eb;
}

.custom-agenda-section-header h5 {
    font-size: 1.25em;
    color: #1e293b;
    margin: 0;
    font-weight: 600;
}

.custom-agenda-section-header .toggle-icon {
    font-size: 1.2em;
    color: #64748b;
    transition: transform 0.3s ease;
}

.custom-agenda-section-header.collapsed .toggle-icon {
    transform: rotate(-90deg);
}

.custom-agenda-section-content {
    padding-top: 15px;
}

.custom-agenda-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.custom-agenda-grid-item {
    display: flex;
    align-items: center;
    font-size: 0.95em;
    color: #475569;
    line-height: 1.6;
    margin-bottom: 12px;
}

.custom-agenda-grid-item i {
    margin-right: 10px;
    color: #3b82f6;
    font-size: 1.2em;
}

.custom-agenda-grid-item strong {
    color: #1e293b;
    font-weight: 500;
    margin-right: 5px;
}

/* List Styling for Participants and Resources */
.custom-agenda-list {
    list-style: none;
    padding: 0;
    margin-top: 10px;
}

.custom-agenda-list li {
    background: #f1f5f9;
    padding: 12px 15px;
    margin-bottom: 10px;
    border-radius: 10px;
    font-size: 0.95em;
    color: #475569;
    display: flex;
    align-items: center;
    transition: background 0.2s ease, transform 0.2s ease;
}

.custom-agenda-list li:hover {
    background: #e2e8f0;
    transform: translateX(5px);
}

.custom-agenda-list li i {
    margin-right: 10px;
    color: #10b981;
}

/* Status Badge */
.custom-agenda-status {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.9em;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.custom-agenda-status:hover {
    transform: scale(1.05);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.custom-agenda-status.active {
    background: #10b981;
    color: #ffffff;
}

.custom-agenda-status.danger {
    background: #dc2626;
    color: #ffffff;
}

/* Skeleton Loader */
.custom-skeleton-loader {
    padding: 30px;
}

.custom-skeleton-section {
    margin-bottom: 20px;
    background: #ffffff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.05);
}

.custom-skeleton-section-header {
    height: 24px;
    background: linear-gradient(90deg, #e5e7eb 25%, #d1d5db 50%, #e5e7eb 75%);
    background-size: 200% 100%;
    border-radius: 6px;
    margin-bottom: 15px;
    animation: skeleton-pulse 2s ease-in-out infinite;
}

.custom-skeleton-section-content div {
    height: 18px;
    background: linear-gradient(90deg, #e5e7eb 25%, #d1d5db 50%, #e5e7eb 75%);
    background-size: 200% 100%;
    border-radius: 6px;
    margin: 10px 0;
    animation: skeleton-pulse 2s ease-in-out infinite;
}

.custom-skeleton-section-content div:nth-child(1) {
    width: 40%;
}

.custom-skeleton-section-content div:nth-child(2) {
    width: 80%;
}

.custom-skeleton-section-content div:nth-child(3) {
    width: 60%;
}

.custom-skeleton-section-content div:nth-child(4) {
    width: 95%;
}

.custom-skeleton-list div {
    height: 40px;
    background: linear-gradient(90deg, #e5e7eb 25%, #d1d5db 50%, #e5e7eb 75%);
    background-size: 200% 100%;
    border-radius: 10px;
    margin-bottom: 10px;
    animation: skeleton-pulse 2s ease-in-out infinite;
}

/* Skeleton Animation */
@keyframes skeleton-pulse {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* Modal Footer */
.custom-agenda-modal .modal-footer {
    border-top: none;
    padding: 20px 30px;
    background: #f8fafc;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
    display: flex;
    justify-content: flex-end;
}

.custom-agenda-modal .modal-footer .btn {
    border-radius: 10px;
    padding: 10px 25px;
    font-weight: 500;
    font-size: 1em;
    transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.custom-agenda-modal .modal-footer .btn-secondary {
    background: #64748b;
    border: none;
    color: #ffffff;
}

.custom-agenda-modal .modal-footer .btn-secondary:hover {
    background: #475569;
    transform: translateY(-2px);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

/* Error Message */
.custom-agenda-error {
    font-size: 1em;
    color: #dc2626;
    text-align: center;
    padding: 20px;
    background: #fef2f2;
    border-radius: 10px;
    margin: 20px 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .custom-agenda-grid {
        grid-template-columns: 1fr;
    }

    .custom-agenda-modal .modal-body {
        padding: 20px;
    }

    .custom-agenda-modal .modal-title {
        font-size: 1.5em;
    }

    .custom-agenda-section {
        padding: 15px;
    }

    .custom-agenda-section-header h5 {
        font-size: 1.15em;
    }

    .custom-agenda-grid-item,
    .custom-agenda-list li {
        font-size: 0.9em;
    }

    .custom-agenda-modal .modal-footer {
        padding: 15px 20px;
    }
}

@media (max-width: 576px) {
    .custom-agenda-modal .modal-dialog {
        margin: 10px;
    }

    .custom-agenda-modal .modal-header {
        padding: 20px;
    }

    .custom-agenda-modal .modal-title {
        font-size: 1.3em;
    }

    .custom-agenda-modal .modal-footer .btn {
        padding: 8px 20px;
        font-size: 0.95em;
    }
}