/* Component Styles - Extracted from embedded HTML styles */

/* Performer Item Components */
.performer-item:hover { background-color: var(--theme-primary); }

.performer-item:last-child {
    border-bottom: none;
}

.performer-item {
    cursor: pointer;
}



.pending-invitation { opacity: 0.7; border: 2px dashed var(--theme-warning); }

.pending-invitation .card-header {
    background-color: rgba(255, 193, 7, 0.1);
}

.pending-invitation:hover {
    opacity: 0.9;
    transition: opacity 0.3s ease;
}


/* Mini Statistics Components */
.mini-stats {
    padding: 0.25rem 0.5rem;
    background-color: var(--theme-text);
    border-radius: 0.25rem;
    border-left: 2px solid var(--theme-secondary);
    font-size: 0.8rem;
}

.mini-stats .badge {
    font-size: 0.7rem;
    padding: 0.2rem 0.4rem;
}

/* Statistics Display Components */
.stat-item {
    padding: 0.75rem;
    border-radius: 0.375rem;
    background-color: var(--theme-primary);
    border: 1px solid var(--theme-secondary);
}

.stat-item.confirmed {
    border-color: var(--theme-accent);
    background-color: rgba(var(--theme-secondary-rgb), 0.1);
}

.stat-item.applications {
    border-color: var(--theme-secondary);
    background-color: rgba(var(--theme-info-rgb), 0.12);
}

.stat-mini-badge {
    padding: 0.5rem;
    border-radius: 0.375rem;
    min-height: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* Form Components */
.required-fields label::after {
    content: " *";
    color: var(--theme-accent);
}

.accordion-button:not(.collapsed) {
    background-color: var(--theme-secondary);
    color: var(--theme-text);
}

.form-text { font-size: 0.875em; color: var(--theme-muted); margin-top: 0.25rem; }

/* Light-themed form controls are scoped to .signup-form (see block below) to avoid overriding dark theme */

.accordion-item {
    border: 1px solid var(--theme-secondary);
    margin-bottom: 0.5rem;
}

.accordion-button {
    padding: 1rem;
    font-weight: 500;
    background-color: var(--theme-primary);
    color: var(--theme-text);
    border: none;
}

.accordion-body {
    padding: 1rem;
    background-color: var(--theme-background);
}

.form-section .mb-3 {
    margin-bottom: 1.5rem;
}

.form-section label {
    margin-bottom: 0.5rem;
    font-weight: 500;
    /* Color inherited from dark theme styles.css */
}

/* Signup Form Components */
.signup-form .form-control {
    border-radius: 8px;
    border: 2px solid var(--theme-secondary);
    padding: 12px;
    margin-bottom: 5px;
    background-color: var(--theme-background);
    color: var(--theme-text);
}

/* Make icons visible on dark backgrounds - using higher specificity instead of !important */
.form-section i[class*="lni-"],
.accordion-button i[class*="lni-"],
.input-group i[class*="lni-"],
.signup i[class*="lni-"] {
    color: var(--theme-text);
}

.signup-form .form-control:focus {
    border-color: var(--theme-accent);
    box-shadow: 0 0 0 0.25rem rgba(255,105,180,0.25);
    background-color: var(--theme-background);
    color: var(--theme-text);
}

.signup-form .card {
    border: none;
    border-radius: 12px;
}

.signup-form .card-header {
    border-radius: 12px 12px 0 0;
}

.signup-form .btn-primary {
    border-radius: 8px;
    padding: 12px;
    font-weight: 600;
}

/* Timeline Components */
.timeline-container {
    max-height: 300px;
    overflow-y: auto;
}

.timeline-item {
    background-color: var(--theme-primary);
    border-left: 3px solid var(--theme-secondary);
    transition: all 0.2s ease;
}

.timeline-item.status-confirmed {
    background-color: rgba(var(--theme-success-rgb), 0.2);
    color: var(--theme-text);
}

.timeline-item.status-dropped {
    background-color: rgba(var(--bs-danger-rgb), 0.2);
    color: var(--theme-background);
}

.timeline-item.status-rejected {
    background-color: rgba(var(--bs-danger-rgb), 0.3);
    color: var(--theme-background);
}

.timeline-item.status-pending {
    background-color: rgba(var(--theme-warning-rgb), 0.2);
    color: var(--theme-background);
}


.timeline-item:hover {
    transform: translateX(2px);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Platform Integration Components */
.platform-card {
    transition: all 0.3s ease;
}

.platform-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.platform-icon { border-radius: 6px; padding: 4px; background: var(--theme-primary); border: 1px solid var(--theme-secondary); }

.integration-status-imported { background: linear-gradient(45deg, rgba(var(--theme-success-rgb), 0.15), rgba(var(--theme-success-rgb), 0.25)); }

.integration-status-exported { background: linear-gradient(45deg, rgba(var(--theme-info-rgb), 0.15), rgba(var(--theme-info-rgb), 0.25)); }

.integration-status-available {
    background: linear-gradient(45deg, rgba(var(--theme-text-rgb), 0.05), rgba(var(--theme-text-rgb), 0.12));
}

.integration-status-not-connected {
    background: linear-gradient(45deg, rgba(var(--theme-text-rgb), 0.05), rgba(var(--theme-text-rgb), 0.12));
    opacity: 0.7;
}

/* Platform Status Button */
.platform-status-btn {
    min-height: 44px; /* Touch-friendly on mobile */
    border-width: 2px;
    transition: all 0.2s ease;
}

.platform-status-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.platform-icons-row {
    gap: 6px;
}

.platform-icon-status {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.platform-icon-small {
    width: 24px;
    height: 24px;
    border-radius: 4px;
    border: 2px solid transparent;
    transition: all 0.2s ease;
    background: var(--theme-text);
    padding: 2px;
}

/* Status-based styling for icons */
.platform-icon-small.status-imported {
    border-color: var(--theme-success);
    box-shadow: 0 0 0 1px rgba(var(--theme-success-rgb), 0.125);
}

.platform-icon-small.status-exported {
    border-color: var(--theme-info);
    box-shadow: 0 0 0 1px rgba(var(--theme-info-rgb), 0.125);
}

.platform-icon-small.status-available {
    border-color: var(--bs-gray-600);
    box-shadow: 0 0 0 1px rgba(var(--bs-gray-600-rgb), 0.125);
}

.platform-icon-small.status-not_connected {
    border-color: var(--bs-gray-300);
    opacity: 0.6;
    filter: grayscale(0.5);
}

/* Status badges */
.status-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 8px;
    border: 1px solid var(--theme-text);
    color: var(--theme-text);
}

.badge-imported {
    background-color: var(--theme-success);
}

.badge-exported {
    background-color: var(--theme-info);
}

.badge-available {
    background-color: var(--bs-gray-600);
}

.badge-not-connected {
    background-color: var(--bs-danger);
}

/* Platform disabled states */
.platform-disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.platform-icon-disabled {
    width: 24px;
    height: 24px;
    border-radius: 4px;
    opacity: 0.3;
}

.platform-icon-question {
    font-size: 10px;
}

.status-badge-disabled {
    opacity: 0.3;
}

/* Mobile optimizations for platform integrations */
@media (max-width: 576px) {
    .platform-status-btn {
        padding: 8px 12px;
    }
    
    .platform-icons-row {
        gap: 4px;
    }
    
    .platform-icon-small {
        width: 20px;
        height: 20px;
    }
    
    .status-badge {
        width: 12px;
        height: 12px;
        font-size: 7px;
        top: -3px;
        right: -3px;
    }
}

.greenroom-messages-container {
	max-height: 320px;
	overflow-y: auto;
}

/* Greenroom Message Component */
.greenroom-message {
    background-color: var(--theme-darker);
    border: 1px solid var(--theme-secondary);
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1rem;
}

.greenroom-message .greenroom-author {
    color: var(--theme-text);
}

.greenroom-message .greenroom-author .badge {
    background-color: var(--theme-secondary);
    color: var(--theme-text);
}

.greenroom-message .greenroom-timestamp {
    color: var(--theme-text);
}

.greenroom-message .greenroom-content {
    color: var(--theme-text);
    line-height: 1.5;
}

.greenroom-message + .greenroom-separator {
    border-color: var(--theme-secondary);
    opacity: 0.5;
}


/* Mobile bottom nav compact styles */
@media (max-width: 767.98px) {
	.mobile-bottom-nav { padding-top: 6px; padding-bottom: 6px; }
	.mobile-bottom-nav .nav-label { white-space: nowrap; font-size: 0.75rem; }
	.mobile-bottom-nav i { font-size: 1rem; line-height: 1; }
	.mobile-bottom-nav .container { padding-left: 6px; padding-right: 6px; }
}

/* Profile Item Component (extracted from inline styles) */
.profile-item.pending-claim {
    background-color: rgba(255, 193, 7, 0.1);
    border-color: var(--theme-warning);
}

.profile-image img {
    width: 60px;
    height: 60px;
    object-fit: cover;
}

.profile-icon-placeholder {
    width: 60px;
    height: 60px;
    background-color: var(--theme-secondary);
    font-size: 24px;
}

@media (max-width: 768px) {
    .profile-item {
        flex-direction: column;
        align-items: flex-start;
    }

    .profile-image { margin-bottom: 1rem; }

    .profile-actions {
        width: 100%;
        margin-top: 1rem;
        justify-content: flex-start;
    }
}

/* Event Import Preview Components */
.img-preview {
    max-height: 200px;
    width: auto;
    object-fit: contain;
}

/* Import loading state */
#eventsContainer.importing {
    position: relative;
}

#eventsContainer.importing::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(var(--bs-black-rgb, 0, 0, 0), 0.5);
    z-index: 10;
    border-radius: 8px;
}

#eventsContainer.importing::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top-color: var(--theme-accent, #ff69b4);
    border-radius: 50%;
    animation: import-spinner 1s linear infinite;
    z-index: 11;
}

@keyframes import-spinner {
    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

#eventsContainer.importing #eventsPreviewList {
    opacity: 0.5;
    pointer-events: none;
}

/* Disabled import/fetch button state */
.import-btn.disabled,
.import-btn:disabled,
#fetchEventsBtn.disabled,
#fetchEventsBtn:disabled {
    opacity: 0.65;
    cursor: not-allowed;
    pointer-events: none;
}