/* ========================================
   GUEST CATEGORIES MANAGEMENT - ADMIN PANEL
   ======================================== */

.guest-categories-section {
    animation: fadeIn 0.5s ease-out;
}

.info-banner {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.25rem;
    background: linear-gradient(135deg, rgba(127, 255, 0, 0.1) 0%, rgba(0, 217, 255, 0.08) 100%);
    border: 1px solid rgba(127, 255, 0, 0.3);
    border-radius: 12px;
    margin-bottom: 2rem;
}

.info-banner svg {
    flex-shrink: 0;
    color: #7FFF00;
    margin-top: 0.2rem;
}

.info-banner div {
    flex: 1;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
}

.info-banner strong {
    color: #7FFF00;
    font-weight: 600;
}

.btn-info-help {
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-info-help:hover {
    background: rgba(127, 255, 0, 0.1);
    border-color: rgba(127, 255, 0, 0.3);
    color: #7FFF00;
    transform: scale(1.05);
}

/* Guest Sections Grid */
.guest-sections-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

/* Section Card */
.section-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.section-card:hover {
    border-color: rgba(127, 255, 0, 0.4);
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(127, 255, 0, 0.15);
}

.section-card.featured-section {
    border-color: rgba(255, 107, 107, 0.3);
}

.section-card.featured-section:hover {
    border-color: rgba(255, 107, 107, 0.6);
    box-shadow: 0 12px 32px rgba(255, 107, 107, 0.2);
}

.section-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.section-icon {
    font-size: 1.75rem;
}

.section-header h4 {
    flex: 1;
    color: #fff;
    font-size: 1.15rem;
    margin: 0;
}

.badge-premium {
    padding: 0.35rem 0.75rem;
    background: linear-gradient(135deg, #FF6B6B 0%, #FFE66D 100%);
    color: #000;
    border-radius: 8px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 0 8px rgba(255, 107, 107, 0.4);
    }
    50% {
        box-shadow: 0 0 16px rgba(255, 107, 107, 0.7);
    }
}

.badge-auto {
    padding: 0.35rem 0.75rem;
    background: rgba(0, 217, 255, 0.15);
    border: 1px solid rgba(0, 217, 255, 0.3);
    color: #00D9FF;
    border-radius: 8px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.section-description {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 1.25rem;
}

.section-description strong {
    color: #7FFF00;
    font-weight: 600;
}

.section-description code {
    padding: 0.2rem 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    color: #FFE66D;
    font-family: 'Monaco', 'Courier New', monospace;
    font-size: 0.85rem;
}

/* Section Stats */
.section-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
    margin-bottom: 1.25rem;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
}

.section-stats .stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
}

.section-stats .stat-label {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.section-stats .stat-value {
    color: #7FFF00;
    font-size: 1.25rem;
    font-weight: 700;
}

.status-badge {
    padding: 0.3rem 0.75rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.status-badge.active {
    background: rgba(127, 255, 0, 0.2);
    color: #7FFF00;
    border: 1px solid rgba(127, 255, 0, 0.3);
}

.status-badge.inactive {
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Section Buttons */
.btn-manage,
.btn-secondary {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    border-radius: 10px;
    font-weight: 500;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.btn-manage {
    background: linear-gradient(135deg, #7FFF00 0%, #5ACC00 100%);
    color: #0F2A2A;
}

.btn-manage:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(127, 255, 0, 0.3);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(127, 255, 0, 0.3);
    transform: translateY(-2px);
}

/* Bulk Actions */
.section-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-action-alt {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    color: #fff;
    font-weight: 500;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-action-alt:hover {
    background: rgba(127, 255, 0, 0.1);
    border-color: rgba(127, 255, 0, 0.3);
    color: #7FFF00;
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .guest-sections-grid {
        grid-template-columns: 1fr;
    }
    
    .section-stats {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .section-actions {
        flex-direction: column;
    }
    
    .btn-action-alt {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .section-stats {
        grid-template-columns: 1fr;
    }
    
    .info-banner {
        flex-direction: column;
    }
}

/* Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========================================
   FEATURED EVENTS MODAL
   ======================================== */

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    animation: fadeIn 0.3s ease-out;
}

.modal-dialog {
    background: linear-gradient(135deg, #1A3A3A 0%, #0F2A2A 100%);
    border: 1px solid rgba(127, 255, 0, 0.2);
    border-radius: 20px;
    width: 100%;
    max-width: 900px;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.5);
}

.modal-dialog.modal-large {
    max-width: 1100px;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.75rem 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-header h3 {
    color: #7FFF00;
    font-size: 1.5rem;
    margin: 0;
}

.btn-close-modal {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 8px;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-close-modal:hover {
    background: rgba(255, 0, 0, 0.2);
    transform: scale(1.1);
}

.modal-body {
    padding: 2rem;
    overflow-y: auto;
    flex: 1;
}

/* Featured Events List */
.featured-events-list {
    display: grid;
    gap: 1rem;
}

.event-select-card {
    position: relative;
    background: rgba(255, 255, 255, 0.03);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1.25rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.event-select-card:hover {
    border-color: rgba(127, 255, 0, 0.3);
    background: rgba(255, 255, 255, 0.05);
}

.event-select-card.selected {
    border-color: rgba(255, 107, 107, 0.6);
    background: rgba(255, 107, 107, 0.08);
}

.event-select-card input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.event-select-card label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    margin: 0;
}

.event-info {
    flex: 1;
}

.event-info h4 {
    color: #fff;
    font-size: 1.1rem;
    margin: 0 0 0.5rem 0;
}

.event-info p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    margin: 0 0 0.5rem 0;
}

.event-price {
    display: inline-block;
    padding: 0.3rem 0.75rem;
    background: rgba(127, 255, 0, 0.15);
    border: 1px solid rgba(127, 255, 0, 0.3);
    color: #7FFF00;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
}

.checkmark {
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: transparent;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    flex-shrink: 0;
    margin-left: 1rem;
}

.event-select-card.selected .checkmark {
    background: linear-gradient(135deg, #FF6B6B 0%, #FFE66D 100%);
    border-color: #FF6B6B;
    color: #000;
    transform: scale(1.1);
}

.modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    padding: 1.5rem 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-footer .btn-cancel,
.modal-footer .btn-primary {
    padding: 0.75rem 1.5rem;
    border-radius: 10px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.modal-footer .btn-cancel {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
}

.modal-footer .btn-cancel:hover {
    background: rgba(255, 255, 255, 0.05);
}

.modal-footer .btn-primary {
    background: linear-gradient(135deg, #7FFF00, #5ACC00);
    border: none;
    color: #0F2A2A;
}

.modal-footer .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(127, 255, 0, 0.3);
}

/* Responsive Modal */
@media (max-width: 768px) {
    .modal-overlay {
        padding: 1rem;
    }
    
    .modal-dialog {
        max-width: 100%;
    }
    
    .modal-header,
    .modal-body,
    .modal-footer {
        padding: 1.25rem;
    }
    
    .event-select-card {
        padding: 1rem;
    }
    
    .event-info h4 {
        font-size: 1rem;
    }
    
    .modal-footer {
        flex-direction: column;
    }
    
    .modal-footer .btn-cancel,
    .modal-footer .btn-primary {
        width: 100%;
        justify-content: center;
    }
}
