/**
 * Hero Carousel Manager Styles
 * Styles for admin dashboard carousel management section
 */

/* ==========================================
   CAROUSEL STATS
   ========================================== */

.carousel-stats {
    display: flex;
    gap: 2rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    margin-bottom: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.carousel-stats .stat-item {
    flex: 1;
    text-align: center;
}

.carousel-stats .stat-value {
    display: block;
    font-size: 2rem;
    font-weight: bold;
    color: #8BFF22;
    margin-bottom: 0.5rem;
}

.carousel-stats .stat-label {
    display: block;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ==========================================
   SLIDES LIST
   ========================================== */

.carousel-slides-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.carousel-slide-item {
    display: grid;
    grid-template-columns: auto 200px 1fr auto;
    gap: 1.5rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    align-items: center;
    transition: all 0.3s ease;
}

.carousel-slide-item:hover {
    background: rgba(255, 255, 255, 0.02);
    border-color: rgba(139, 255, 34, 0.15);
    transform: translateY(-1px);
    box-shadow: 0 2px 6px rgba(139, 255, 34, 0.05);
}

/* Drag handle */
.slide-drag-handle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    color: rgba(255, 255, 255, 0.4);
    cursor: grab;
    transition: all 0.2s ease;
}

.slide-drag-handle:hover {
    color: #8BFF22;
    transform: scale(1.1);
}

.slide-drag-handle:active {
    cursor: grabbing;
}

/* Sortable ghost/dragging states */
.slide-ghost {
    opacity: 0.5;
    background: rgba(139, 255, 34, 0.1);
}

.slide-chosen {
    background: rgba(139, 255, 34, 0.05);
    border-color: #8BFF22;
}

.slide-drag {
    transform: rotate(2deg);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

/* Preview image */
.slide-preview {
    position: relative;
    width: 200px;
    height: 100px;
    border-radius: 8px;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.3);
}

.slide-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-inactive-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: bold;
    font-size: 0.75rem;
    letter-spacing: 1px;
}

/* Slide info */
.slide-info {
    flex: 1;
    min-width: 0;
}

.slide-info h4 {
    margin: 0 0 0.5rem 0;
    color: #fff;
    font-size: 1.125rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.slide-subtitle {
    margin: 0 0 0.75rem 0;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.slide-event-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.375rem 0.75rem;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 6px;
    color: #60a5fa;
    font-size: 0.875rem;
    margin-bottom: 0.75rem;
}

.slide-event-link svg {
    flex-shrink: 0;
}

.slide-meta {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
}

.slide-status {
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.slide-status.active {
    background: rgba(16, 185, 129, 0.2);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.slide-status.inactive {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.slide-order {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.875rem;
}

.slide-dates {
    color: rgba(139, 255, 34, 0.7);
    font-size: 0.875rem;
}

/* Size badges */
.slide-size-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: capitalize;
    border: 1px solid;
}

.slide-size-badge.size-small {
    background: rgba(100, 149, 237, 0.2);
    color: #6495ED;
    border-color: rgba(100, 149, 237, 0.4);
}

.slide-size-badge.size-medium {
    background: rgba(139, 255, 34, 0.15);
    color: #8BFF22;
    border-color: rgba(139, 255, 34, 0.3);
}

.slide-size-badge.size-large {
    background: rgba(255, 165, 0, 0.2);
    color: #FFA500;
    border-color: rgba(255, 165, 0, 0.4);
}

.slide-size-badge.size-full {
    background: rgba(255, 99, 132, 0.2);
    color: #FF6384;
    border-color: rgba(255, 99, 132, 0.4);
}

/* Speed badge in slide list */
.slide-speed-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    background: rgba(168, 85, 247, 0.15);
    color: #a855f7;
    border: 1px solid rgba(168, 85, 247, 0.3);
}

/* ==========================================
   SPEED CONTROL (Admin Modal)
   ========================================== */

.speed-control-wrapper {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.speed-slider-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.speed-label-left,
.speed-label-right {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
    white-space: nowrap;
    min-width: 55px;
}

.speed-label-left {
    text-align: right;
}

.speed-label-right {
    text-align: left;
}

.speed-slider-row input[type="range"] {
    flex: 1;
    -webkit-appearance: none;
    appearance: none;
    height: 6px;
    background: linear-gradient(90deg, #ef4444 0%, #f97316 25%, #8BFF22 45%, #3b82f6 70%, #8b5cf6 100%);
    border-radius: 3px;
    outline: none;
    border: none;
    padding: 0;
}

.speed-slider-row input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #fff;
    cursor: pointer;
    border: 3px solid #8BFF22;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.speed-slider-row input[type="range"]::-webkit-slider-thumb:hover {
    transform: scale(1.15);
    border-color: #a855f7;
}

.speed-slider-row input[type="range"]::-moz-range-thumb {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #fff;
    cursor: pointer;
    border: 3px solid #8BFF22;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.speed-value-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.speed-value-row input[type="number"] {
    width: 70px;
    padding: 0.5rem 0.4rem;
    background: rgba(0, 0, 0, 0.3);
    border: 2px solid rgba(139, 255, 34, 0.2);
    border-radius: 8px;
    color: #fff;
    text-align: center;
    font-size: 1rem;
    font-weight: bold;
}

.speed-value-row input[type="number"]:focus {
    border-color: #8BFF22;
    outline: none;
    box-shadow: 0 0 0 3px rgba(139, 255, 34, 0.15);
}

.speed-unit {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.875rem;
}

.speed-preview-text {
    font-weight: 700;
    font-size: 0.875rem;
    color: #8BFF22;
    margin-left: auto;
}

/* Speed Presets */
.speed-presets {
    display: flex;
    gap: 0.4rem;
    flex-wrap: wrap;
}

.speed-preset {
    padding: 0.3rem 0.65rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.7rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.speed-preset:hover {
    background: rgba(168, 85, 247, 0.1);
    border-color: rgba(168, 85, 247, 0.3);
    color: #a855f7;
}

.speed-preset.active {
    background: rgba(168, 85, 247, 0.2);
    border-color: #a855f7;
    color: #a855f7;
    font-weight: 600;
}

/* Speed Preview Bar */
.speed-preview-bar-wrapper {
    height: 4px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 2px;
    overflow: hidden;
}

.speed-preview-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #8BFF22, #a855f7);
    border-radius: 2px;
}

.speed-test-btn {
    align-self: flex-start;
    padding: 0.4rem 1rem;
    background: rgba(168, 85, 247, 0.1);
    border: 1px solid rgba(168, 85, 247, 0.3);
    border-radius: 8px;
    color: #a855f7;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.speed-test-btn:hover {
    background: rgba(168, 85, 247, 0.2);
    border-color: #a855f7;
    transform: translateY(-1px);
}

/* Actions */
.slide-actions {
    display: flex;
    gap: 0.5rem;
}

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

.btn-icon:hover {
    background: rgba(139, 255, 34, 0.1);
    border-color: #8BFF22;
    color: #8BFF22;
    transform: translateY(-2px);
}

.btn-icon.btn-danger:hover {
    background: rgba(239, 68, 68, 0.2);
    border-color: #ef4444;
    color: #ef4444;
}

/* ==========================================
   CAROUSEL SETTINGS PANEL
   ========================================== */

.carousel-settings-panel {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: rgba(15, 25, 35, 0.6);
    border: 1px solid rgba(139, 255, 34, 0.1);
    border-radius: 16px;
}

.settings-panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.settings-panel-header h4 {
    margin: 0;
    color: #8BFF22;
    font-size: 1.125rem;
    font-weight: 700;
}

.settings-section {
    margin-bottom: 1.25rem;
}

.settings-section:last-child {
    margin-bottom: 0;
}

.settings-label {
    display: block;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 600;
    font-size: 0.875rem;
    margin-bottom: 0.75rem;
}

.settings-label small {
    font-weight: 400;
}

.settings-subsection {
    padding: 1rem;
    background: rgba(0, 0, 0, 0.15);
    border-radius: 10px;
    margin-bottom: 1rem;
}

.settings-subsection:last-child {
    margin-bottom: 0;
}

/* Mode Selector */
.mode-selector {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

.mode-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.03);
    border: 2px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.mode-btn:hover {
    background: rgba(139, 255, 34, 0.05);
    border-color: rgba(139, 255, 34, 0.2);
}

.mode-btn.active {
    background: rgba(139, 255, 34, 0.08);
    border-color: #8BFF22;
    box-shadow: 0 0 15px rgba(139, 255, 34, 0.1);
}

.mode-icon {
    font-size: 1.5rem;
    line-height: 1;
}

.mode-name {
    color: #fff;
    font-weight: 700;
    font-size: 0.9375rem;
}

.mode-btn.active .mode-name {
    color: #8BFF22;
}

.mode-desc {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.75rem;
    line-height: 1.3;
}

/* ==========================================
   MODAL
   ========================================== */

/* Carousel-specific modal override to ensure scrolling works */
#carousel-slide-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 20, 30, 0.95);
    backdrop-filter: blur(8px);
    z-index: 10000;
    justify-content: center;
    align-items: flex-start;
    padding: 2rem;
    overflow-y: auto;
}

#carousel-slide-modal .modal-content {
    background: linear-gradient(135deg, #0f1923 0%, #1a2838 100%);
    border-radius: 20px;
    max-width: 600px;
    width: 100%;
    max-height: none !important;
    overflow-y: visible !important;
    overflow: visible !important;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.6),
                0 0 0 1px rgba(139, 255, 34, 0.1);
    border: 2px solid rgba(139, 255, 34, 0.15);
    position: relative;
    margin: 2rem auto;
    flex-shrink: 0;
}

/* Custom Scrollbar for carousel modal */
#carousel-slide-modal::-webkit-scrollbar {
    width: 8px;
}

#carousel-slide-modal::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.2);
}

#carousel-slide-modal::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #8BFF22 0%, #6dd91a 100%);
    border-radius: 10px;
    border: 2px solid rgba(0, 0, 0, 0.2);
}

#carousel-slide-modal::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #9dff44 0%, #7ee82b 100%);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 2.5rem;
    border-bottom: 2px solid rgba(139, 255, 34, 0.1);
    background: linear-gradient(to right, rgba(139, 255, 34, 0.05), transparent);
}

.modal-header h3 {
    margin: 0;
    color: #8BFF22;
    font-size: 1.75rem;
    font-weight: 700;
    text-shadow: 0 2px 20px rgba(139, 255, 34, 0.3);
}

.btn-close {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    font-size: 2rem;
    cursor: pointer;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s;
}

.btn-close:hover {
    color: #fff;
}

#carousel-slide-modal .modal-large {
    max-width: 700px;
}

.modal .form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    padding: 2.5rem;
    padding-bottom: 0;
}

.modal .form-group {
    display: flex;
    flex-direction: column;
}

.modal .form-group.full-width {
    grid-column: 1 / -1;
}

.modal .form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #8BFF22;
    font-weight: 600;
    font-size: 0.875rem;
    letter-spacing: 0.3px;
}

.modal .form-group label .required {
    color: #ff4444;
    margin-left: 2px;
}

.modal .form-group input,
.modal .form-group select {
    width: 100%;
    padding: 0.875rem 1rem;
    background: rgba(0, 0, 0, 0.3);
    border: 2px solid rgba(139, 255, 34, 0.15);
    border-radius: 10px;
    color: #fff;
    font-size: 0.9375rem;
    transition: all 0.3s ease;
}

.modal .form-group input:focus,
.modal .form-group select:focus {
    outline: none;
    border-color: #8BFF22;
    background: rgba(0, 0, 0, 0.4);
    box-shadow: 0 0 0 3px rgba(139, 255, 34, 0.1),
                0 4px 12px rgba(139, 255, 34, 0.15);
}

.modal .form-group small {
    display: block;
    margin-top: 0.5rem;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.813rem;
    line-height: 1.4;
}

.modal .checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    user-select: none;
}

.modal .checkbox-label input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.modal .modal-footer {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 1rem;
    margin: 2rem 0 0 0;
    padding: 1.5rem 0;
    border-top: 2px solid rgba(139, 255, 34, 0.1);
    background: linear-gradient(to top, rgba(0, 0, 0, 0.2), transparent);
}

.modal .modal-footer.full-width {
    width: 100%;
    grid-column: 1 / -1;
}

.modal .modal-footer .btn-cancel {
    padding: 0.875rem 2rem;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
    min-width: 140px;
}

.modal .modal-footer .btn-cancel:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
    color: #fff;
    transform: translateY(-1px);
}

.modal .modal-footer .btn-primary {
    padding: 0.875rem 2.5rem;
    background: linear-gradient(135deg, #8BFF22 0%, #6dd91a 100%);
    border: none;
    border-radius: 10px;
    color: #0a1420;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(139, 255, 34, 0.3);
    font-size: 1rem;
    min-width: 160px;
}

.modal .modal-footer .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(139, 255, 34, 0.4);
    background: linear-gradient(135deg, #9dff3d 0%, #7eea2b 100%);
}

/* Image Upload Styles */
.image-input-wrapper {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.image-url-input {
    width: 100%;
}

.upload-divider {
    text-align: center;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.875rem;
    font-weight: 600;
    position: relative;
    margin: 0.5rem 0;
}

.upload-divider::before,
.upload-divider::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 40%;
    height: 1px;
    background: rgba(139, 255, 34, 0.15);
}

.upload-divider::before {
    left: 0;
}

.upload-divider::after {
    right: 0;
}

.file-upload-area {
    position: relative;
}

.file-upload-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding: 2rem;
    background: rgba(139, 255, 34, 0.05);
    border: 2px dashed rgba(139, 255, 34, 0.3);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.file-upload-label:hover {
    background: rgba(139, 255, 34, 0.08);
    border-color: #8BFF22;
}

.file-upload-label svg {
    color: #8BFF22;
    opacity: 0.7;
}

.file-upload-label span {
    color: #fff;
    font-weight: 600;
}

.file-upload-label small {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.8125rem;
}

.file-preview {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid rgba(139, 255, 34, 0.3);
}

.file-preview img {
    width: 100%;
    height: auto;
    display: block;
}

.remove-file {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    width: 32px;
    height: 32px;
    background: rgba(220, 38, 38, 0.9);
    color: #fff;
    border: none;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.remove-file:hover {
    background: #dc2626;
    transform: scale(1.1);
}

/* ==========================================
   EMPTY STATE
   ========================================== */

.empty-state {
    text-align: center;
    padding: 4rem 2rem;
    color: rgba(255, 255, 255, 0.6);
}

.empty-state-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.empty-state h3 {
    margin: 0 0 0.5rem 0;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.25rem;
}

.empty-state p {
    margin: 0 0 1.5rem 0;
    color: rgba(255, 255, 255, 0.6);
}

/* ==========================================
   LOADING SPINNER
   ========================================== */

.loading-spinner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem;
    gap: 1rem;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(255, 255, 255, 0.1);
    border-top-color: #8BFF22;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.loading-spinner p {
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

/* ==========================================
   RESPONSIVE
   ========================================== */

@media (max-width: 768px) {
    .carousel-stats {
        flex-direction: column;
        gap: 0.75rem;
        padding: 1rem;
    }
    
    .carousel-slide-item {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
    }
    
    .slide-drag-handle {
        align-self: flex-start;
        margin-bottom: 0.5rem;
    }
    
    .slide-preview {
        width: 100%;
        height: 150px;
        margin: 0;
    }
    
    .slide-info {
        width: 100%;
    }
    
    .slide-info h4 {
        font-size: 1rem;
        white-space: normal;
    }
    
    .slide-subtitle {
        white-space: normal;
    }
    
    .slide-actions {
        width: 100%;
        justify-content: space-between;
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    
    .btn-icon {
        width: 44px;
        height: 44px;
    }
    
    .modal .form-grid {
        grid-template-columns: 1fr;
    }
    
    .modal-large {
        max-width: 95%;
        margin: 1rem;
    }
    
    .modal {
        padding: 1rem;
    }
    
    .modal-header {
        padding: 1.5rem;
    }
    
    .modal-header h3 {
        font-size: 1.25rem;
    }
    
    .modal .form-grid {
        padding: 1.5rem;
    }
    
    .modal-footer {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .modal {
        padding: 0.5rem;
    }
    
    .modal-header {
        padding: 1rem;
    }
    
    .modal-header h3 {
        font-size: 1.1rem;
    }
    
    .modal .form-grid {
        padding: 1rem;
    }
    
    .modal-footer {
        padding: 1rem;
    }
}

/* ==========================================
   HOMEPAGE CAROUSEL STYLES
   ========================================== */

.event-carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.event-carousel-track {
    display: flex;
    gap: 2rem;
    width: fit-content;
    will-change: transform;
}

.event-carousel-item {
    position: relative;
    flex-shrink: 0;
    border-radius: 20px;
    overflow: hidden;
}

.event-carousel-item.clickable {
    cursor: pointer;
}

.carousel-image-wrapper {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.carousel-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, transparent 100%);
    padding: 2rem;
}

.carousel-content {
    max-width: 1200px;
    margin: 0 auto;
}

.carousel-title {
    margin: 0 0 0.5rem 0;
    color: #fff;
    font-size: 2rem;
    font-weight: bold;
}

.carousel-subtitle {
    margin: 0 0 1rem 0;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.125rem;
}

.carousel-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: #8BFF22;
    color: #0F2A2A;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-cta-btn:hover {
    background: #7FE800;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(139, 255, 34, 0.3);
}

.carousel-event-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(59, 130, 246, 0.2);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 20px;
    color: #60a5fa;
    font-size: 0.875rem;
    margin-top: 1rem;
}

/* Navigation dots */
.carousel-dots {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
    z-index: 10;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-dot.active {
    background: #8BFF22;
    width: 32px;
    border-radius: 6px;
}

/* Navigation arrows - hidden, controlled by JS */
.carousel-arrow {
    display: none;
}

@media (max-width: 768px) {
    .carousel-image-wrapper {
        height: 300px;
    }
    
    .carousel-title {
        font-size: 1.5rem;
    }
    
    .carousel-subtitle {
        font-size: 1rem;
    }
}
