/* 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);
}

/* Facebook OAuth button (avoid inline styles) */
.btn-facebook {
    --facebook-brand-color: #1877F2;
    --facebook-brand-color-hover: #0f66d0;
    background-color: var(--facebook-brand-color);
    border-color: var(--facebook-brand-color);
    color: #ffffff;
}

.btn-facebook:hover,
.btn-facebook:focus {
    background-color: var(--facebook-brand-color-hover);
    border-color: var(--facebook-brand-color-hover);
    color: #ffffff;
}

.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: 8px; 
		padding-bottom: 8px;
		z-index: 1050;
	}
	.mobile-bottom-nav .nav-label { white-space: nowrap; font-size: 0.7rem; }
	.mobile-bottom-nav i { font-size: 1.25rem; line-height: 1; }
	.mobile-bottom-nav .container { padding-left: 4px; padding-right: 4px; }
	.mobile-bottom-nav .col { 
		padding: 0.25rem 0.125rem;
	}
	.mobile-bottom-nav a {
		display: flex;
		flex-direction: column;
		align-items: center;
		text-decoration: none;
	}
	.mobile-bottom-nav .dropdown-menu {
		bottom: 100%;
		top: auto;
		margin-bottom: 0.5rem;
	}
}

/* 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;
}

/* Import progress overlay for graying out events during import */
#eventsPreviewList.importing {
    position: relative;
    opacity: 0.5;
    pointer-events: none;
}

#eventsPreviewList.importing::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.3);
    z-index: 10;
}

/* Event card state during import */
.event-card-importing {
    opacity: 0.4;
    filter: grayscale(50%);
    transition: all 0.3s ease;
}

/* Imported event card - use higher specificity to override defaults */
#eventsPreviewList .card.event-card-imported {
    opacity: 0.3;
    filter: grayscale(100%);
    border-color: var(--theme-success, #198754);
    position: relative;
}

#eventsPreviewList .card.event-card-imported::before {
    content: '✓ Imported';
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--theme-success, #198754);
    color: white;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    z-index: 11;
}

/* Collapsible event during import - use higher specificity */
#eventsPreviewList .card.event-card-collapsed .card-body {
    max-height: 0;
    overflow: hidden;
    padding-top: 0;
    padding-bottom: 0;
    transition: all 0.3s ease;
}

/* Dashboard Bulk Actions Styles */
.dashboard-profile-card .bulk-actions-bar {
    animation: slideDown 0.2s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dashboard-events-table .event-checkbox,
.dashboard-events-table .select-all-events {
    cursor: pointer;
    width: 18px;
    height: 18px;
}

.dashboard-events-table tr:hover {
    background-color: rgba(var(--bs-primary-rgb), 0.05);
}

.dashboard-events-table tr[data-event-id] {
    transition: background-color 0.15s ease;
}


.dashboard-profile-card .dashboard-search-input {
    background-color: var(--theme-darker, #1a1a2e);
    border-color: var(--theme-secondary, #4a4a6a);
    color: var(--theme-text, #e0e0e0);
}

.dashboard-profile-card .dashboard-search-input::placeholder {
    color: rgba(var(--theme-text-rgb, 224, 224, 224), 0.5);
}

.dashboard-profile-card .dashboard-search-input:focus {
    background-color: var(--theme-dark, #16213e);
    border-color: var(--theme-accent, #ff69b4);
    color: var(--theme-text, #e0e0e0);
}

/* Selected row highlight - works for both table rows and card wrappers */
.dashboard-events-table tr.selected-row,
.dashboard-event-card-wrapper.selected-row {
    background-color: rgba(var(--bs-primary-rgb), 0.1);
}

.dashboard-event-card-wrapper.selected-row {
    border-radius: 8px;
}

/* Card view checkbox styling */
.dashboard-event-card-wrapper .event-checkbox {
    cursor: pointer;
    width: 20px;
    height: 20px;
    background-color: var(--theme-darker, #1a1a2e);
    border: 2px solid var(--theme-accent, #ff69b4);
}

.dashboard-event-card-wrapper .event-checkbox:checked {
    background-color: var(--theme-accent, #ff69b4);
    border-color: var(--theme-accent, #ff69b4);
}

/* View toggle button styling */
.dashboard-profile-card .view-toggle-btn.active {
    background-color: var(--theme-accent, #ff69b4);
    border-color: var(--theme-accent, #ff69b4);
    color: var(--theme-text, #fff);
}

/* Select All button styling */
.dashboard-profile-card .select-all-btn {
    transition: all 0.2s ease;
}

.dashboard-profile-card .select-all-btn:hover {
    transform: translateY(-1px);
}

/* Bulk action modal improvements */
.modal-header.bg-danger .btn-close-white {
    filter: invert(1) grayscale(100%) brightness(200%);
}

/* Dashboard checkbox overlay for card view */
.card-checkbox-overlay {
    z-index: 10;
}

/* Dashboard checkbox input styling (scaled up for touch) */
.card-checkbox-input {
    transform: scale(1.2);
}

/* Dashboard table checkbox column width */
.dashboard-events-table .checkbox-column {
    width: 40px;
}

/* Dashboard search form max width */
.dashboard-search-form {
    max-width: 280px;
}

/* Profile Action Block Component - Horizontal layout */
/* Using .profile-section parent for higher specificity */
.profile-section .profile-action-block,
div.profile-action-block {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    flex-wrap: nowrap;
    padding: 0;
    margin-bottom: 1rem;
    background-color: var(--theme-darker, #231942);
    border-radius: 8px;
    transition: all 0.25s ease;
    overflow: hidden;
}


/* Left side container (image + info) */
.profile-action-left {
    flex-grow: 1;
    padding: 1rem;
    min-width: 0;
}

/* Profile Image */
.profile-action-image {
    flex-shrink: 0;
    width: 56px;
    min-width: 56px;
    margin-right: 1rem;
}

.profile-action-image img,
.profile-action-avatar {
    width: 48px;
    height: 48px;
    min-width: 48px;
    min-height: 48px;
    max-width: 48px;
    max-height: 48px;
    object-fit: cover;
    border: 2px solid var(--theme-accent, #ff69b4);
    border-radius: 50%;
    display: block;
}

.profile-action-block .profile-icon-placeholder {
    width: 48px;
    height: 48px;
    min-width: 48px;
    min-height: 48px;
    background: linear-gradient(135deg, var(--theme-secondary, #5c2a9d), var(--theme-primary, #2a1b3d));
    font-size: 20px;
    color: var(--theme-text, #e6e6fa);
    border-radius: 50%;
}

/* Profile Info */
.profile-action-info {
    flex-grow: 1;
    min-width: 0;
}

.profile-action-info .profile-name {
    color: var(--theme-text, #e6e6fa);
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.profile-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem;
}

/* Action Navigation - Piano key style, vertically stacked */
.profile-action-nav {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    min-width: 160px;
    flex-shrink: 0;
    margin-left: auto;
    border-left: 1px solid var(--theme-secondary, #5c2a9d);
}

.profile-action-nav .action-link {
    display: flex;
    align-items: center;
    flex: 1;
    padding: 0.75rem 1rem;
    color: var(--theme-text, #e6e6fa);
    font-size: 0.875rem;
    white-space: nowrap;
    background-color: var(--theme-primary, #2a1b3d);
    border-bottom: 1px solid var(--theme-secondary, #5c2a9d);
    transition: all 0.2s ease;
    text-decoration: none;
}

.profile-action-nav .action-link:last-child {
    border-bottom: none;
}

.profile-action-nav .action-link:hover {
    background-color: var(--theme-secondary, #5c2a9d);
    color: var(--theme-text, #e6e6fa);
}

.profile-action-nav .action-link i {
    font-size: 1rem;
    margin-right: 0.625rem;
    color: var(--theme-accent, #ff69b4);
    width: 1.25rem;
    text-align: center;
}

.profile-action-nav .action-link:hover i {
    color: var(--theme-text, #e6e6fa);
}

/* Profile Section Component */
.profile-section h4 {
    color: var(--theme-text, #e6e6fa);
}

.profile-section .fs-4 {
    color: var(--theme-accent, #ff69b4);
}

/* Expand/Collapse Button */
.profile-expand-btn {
    transition: all 0.2s ease;
    border-color: var(--theme-secondary, #5c2a9d);
    color: var(--theme-muted, #b8b8e6);
}

.profile-expand-btn:hover {
    background-color: var(--theme-secondary, #5c2a9d);
    border-color: var(--theme-accent, #ff69b4);
    color: var(--theme-text, #e6e6fa);
}

.profile-expand-btn .expand-icon {
    transition: transform 0.3s ease;
}

.profile-expand-btn[aria-expanded="true"] .expand-icon {
    transform: rotate(180deg);
}

.profile-expand-btn[aria-expanded="true"] .expand-text {
    display: none;
}

.profile-expand-btn[aria-expanded="true"] .collapse-text {
    display: inline;
}

.profile-expand-btn[aria-expanded="false"] .collapse-text {
    display: none;
}

/* Theme Background Classes */
.bg-theme-darker {
    background-color: var(--theme-darker, #231942);
}

.bg-theme-dark {
    background-color: var(--theme-primary, #2a1b3d);
}

/* Mobile responsive adjustments for profile action blocks */
@media (max-width: 768px) {
    /* Keep horizontal layout but make nav take less space */
    .profile-section .profile-action-block,
    div.profile-action-block {
        flex-direction: row;
    }

    .profile-action-left {
        flex-grow: 1;
        padding: 0.5rem;
        min-width: 0;
    }

    .profile-action-image {
        width: 44px;
        min-width: 44px;
        margin-right: 0.5rem;
    }

    .profile-action-image img,
    .profile-action-avatar,
    .profile-action-block .profile-icon-placeholder {
        width: 40px;
        height: 40px;
        min-width: 40px;
        min-height: 40px;
        max-width: 40px;
        max-height: 40px;
    }

    .profile-action-block .profile-icon-placeholder {
        font-size: 16px;
    }

    .profile-action-info .profile-name {
        font-size: 0.9rem;
        white-space: normal;
    }

    /* Nav takes only what it needs, shrinks if necessary */
    .profile-action-nav {
        min-width: 0;
        max-width: 45%;
        flex-shrink: 1;
    }

    /* Compact piano key buttons */
    .profile-action-nav .action-link {
        flex: none;
        padding: 0.25rem 0.5rem;
        font-size: 0.65rem;
        line-height: 1.2;
    }

    .profile-action-nav .action-link i {
        font-size: 0.7rem;
        margin-right: 0.25rem;
        width: 0.8rem;
    }
}

/* Extra compact styles for small mobile screens */
@media (max-width: 576px) {
    .profile-section .profile-action-block,
    div.profile-action-block {
        margin-bottom: 0.75rem;
    }

    .profile-action-left {
        padding: 0.4rem;
    }

    .profile-action-image {
        width: 36px;
        min-width: 36px;
        margin-right: 0.4rem;
    }

    .profile-action-image img,
    .profile-action-avatar,
    .profile-action-block .profile-icon-placeholder {
        width: 32px;
        height: 32px;
        min-width: 32px;
        min-height: 32px;
        max-width: 32px;
        max-height: 32px;
    }

    .profile-action-block .profile-icon-placeholder {
        font-size: 14px;
    }

    .profile-action-info .profile-name {
        font-size: 0.8rem;
        margin-bottom: 0.1rem;
    }

    .profile-badges .badge {
        font-size: 0.6rem;
        padding: 0.1rem 0.25rem;
    }

    /* Nav limited to 40% on small screens */
    .profile-action-nav {
        max-width: 40%;
    }

    /* Even more compact piano keys */
    .profile-action-nav .action-link {
        padding: 0.2rem 0.35rem;
        font-size: 0.6rem;
    }

    .profile-action-nav .action-link i {
        font-size: 0.65rem;
        margin-right: 0.2rem;
        width: 0.7rem;
    }
}

/* Homepage Profile Card - Unique selector for border/shadow styling */
/* This class is ONLY used on the homepage profile blocks */
/* Using outline instead of border to avoid overflow:hidden issues */
.homepage-profile-card {
    outline: 2px solid var(--theme-accent, #ff69b4);
    outline-offset: -2px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.homepage-profile-card:hover {
    outline-color: var(--theme-accent-light, #ff85c0);
    box-shadow: 0 8px 24px rgba(255, 105, 180, 0.4);
    transform: translateY(-4px);
}

/* Floating Import Button - Fixed position at bottom of viewport */
.floating-import-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1050;
}

.floating-import-btn {
    padding: 0.75rem 1.25rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.floating-import-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

/* Mobile adjustments for floating button */
@media (max-width: 576px) {
    .floating-import-container {
        bottom: 80px; /* Account for mobile bottom nav */
        right: 15px;
        left: 15px;
    }
    
    .floating-import-btn {
        width: 100%;
        text-align: center;
        padding: 1rem;
    }
}

/* Platform Integrations Modal Theming */
#platformIntegrationsModal .modal-content {
    background-color: var(--theme-background);
    border: 1px solid var(--theme-accent);
}

#platformIntegrationsModal .modal-header {
    background-color: var(--theme-darker);
    border-bottom: 1px solid var(--theme-accent);
}

#platformIntegrationsModal .modal-title {
    color: var(--theme-text);
}

#platformIntegrationsModal .btn-close-white {
    filter: invert(1) grayscale(100%) brightness(200%);
}

/* List group item theming for integration selectors */
#platformIntegrationsModal .list-group-item {
    background-color: var(--theme-darker);
    color: var(--theme-text);
    border-color: var(--theme-secondary);
}

#platformIntegrationsModal .list-group-item i {
    color: var(--theme-accent);
}

#platformIntegrationsModal .list-group-item:hover,
#platformIntegrationsModal .list-group-item:focus {
    background-color: var(--theme-secondary);
    color: var(--theme-text);
}

#platformIntegrationsModal .list-group-item-action:active {
    background-color: var(--theme-primary);
    color: var(--theme-text);
}

/* Card theming inside modal */
#platformIntegrationsModal .card {
    background-color: var(--theme-background);
}

#platformIntegrationsModal .card-header h6 {
    color: var(--theme-text);
}

#platformIntegrationsModal .card-body p {
    color: var(--theme-muted);
}