/* ===== ADDITIONAL COMPONENT STYLES ===== */

/* Dashboard Styles */
.dashboard-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.dashboard-header {
    margin-bottom: 3rem;
}

.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.stat-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
}

.stat-card h4 {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    margin-bottom: 0.5rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
}

/* Saved Profiles */
.profiles-section {
    margin-bottom: 3rem;
}

.profiles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

/* Mobile responsive fixes for profiles grid */
@media (max-width: 768px) {
    .profiles-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .profiles-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
}

.profile-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
    transition: all 0.2s;
}

/* Mobile responsive fixes for profile cards */
@media (max-width: 768px) {
    .profile-card {
        padding: 1.25rem;
    }
}

@media (max-width: 480px) {
    .profile-card {
        padding: 1rem;
    }
    
    .profile-card h4 {
        font-size: 1rem;
    }
}

.profile-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.profile-card-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 1rem;
}

.profile-card h4 {
    margin: 0;
    font-size: 1.125rem;
}

.profile-actions {
    display: flex;
    gap: 0.5rem;
}

.profile-details {
    color: var(--muted-foreground);
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

/* Blog Styles */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
}

.blog-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: all 0.3s;
}

.blog-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    transform: translateY(-4px);
}

.blog-card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    background: var(--muted);
}

.blog-card-content {
    padding: 1.5rem;
}

.blog-card-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.8125rem;
    color: var(--muted-foreground);
    margin-bottom: 0.75rem;
}

.blog-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.blog-card p {
    color: var(--muted-foreground);
    font-size: 0.9375rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.read-more {
    color: var(--primary);
    font-weight: 500;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.read-more:hover {
    text-decoration: underline;
}

/* Shop/Product Cards */
.shop-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

.product-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: all 0.3s;
}

.product-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    transform: translateY(-4px);
}

.product-image {
    width: 100%;
    height: 240px;
    object-fit: cover;
    background: var(--muted);
}

.product-content {
    padding: 1.5rem;
}

.product-title {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
}

.product-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.75rem;
}

.product-description {
    color: var(--muted-foreground);
    font-size: 0.875rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

/* Badges */
.badge {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 9999px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-primary {
    background: var(--primary);
    color: white;
}

.badge-success {
    background: var(--success);
    color: white;
}

.badge-warning {
    background: var(--warning);
    color: white;
}

.badge-secondary {
    background: var(--muted);
    color: var(--foreground);
}

/* Tables */
.table-container {
    overflow-x: auto;
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

table {
    width: 100%;
    border-collapse: collapse;
}

thead {
    background: var(--muted);
}

th {
    text-align: left;
    padding: 0.75rem 1rem;
    font-weight: 600;
    color: var(--foreground);
    border-bottom: 1px solid var(--border);
}

td {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--border);
}

tbody tr:hover {
    background: var(--muted);
}

tbody tr:last-child td {
    border-bottom: none;
}

/* Alerts */
.alert {
    padding: 1rem 1.25rem;
    border-radius: var(--radius);
    margin-bottom: 1rem;
    border-left: 4px solid;
}

.alert-info {
    background: #e0f2fe;
    border-color: #0ea5e9;
    color: #075985;
}

.alert-success {
    background: #dcfce7;
    border-color: #22c55e;
    color: #166534;
}

.alert-warning {
    background: #fef3c7;
    border-color: #f59e0b;
    color: #92400e;
}

.alert-error {
    background: #fee2e2;
    border-color: #ef4444;
    color: #991b1b;
}

/* Tabs */
.tabs {
    border-bottom: 1px solid var(--border);
    margin-bottom: 2rem;
}

.tabs-list {
    display: flex;
    gap: 0;
    list-style: none;
}

.tab-button {
    padding: 0.75rem 1.5rem;
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    color: var(--muted-foreground);
    cursor: pointer;
    font-weight: 500;
    transition: all 0.2s;
}

.tab-button:hover {
    color: var(--foreground);
}

.tab-button.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

/* Skeleton Loader */
.skeleton {
    background: var(--color-bg-secondary);
    animation: shimmer 1.5s infinite;
    border-radius: var(--radius);
}

@keyframes shimmer {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

.skeleton-text {
    height: 1rem;
    margin-bottom: 0.5rem;
}

.skeleton-title {
    height: 1.5rem;
    width: 60%;
    margin-bottom: 1rem;
}

.skeleton-card {
    height: 200px;
}

/* Tooltips */
[data-tooltip] {
    position: relative;
    cursor: help;
}

[data-tooltip]::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(-8px);
    padding: 0.5rem 0.75rem;
    background: var(--foreground);
    color: white;
    font-size: 0.8125rem;
    white-space: nowrap;
    border-radius: 0.25rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s;
    z-index: 1000;
}

[data-tooltip]:hover::after {
    opacity: 1;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 4rem 2rem;
}

.empty-state-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.empty-state h3 {
    margin-bottom: 0.5rem;
    color: var(--foreground);
}

.empty-state p {
    color: var(--muted-foreground);
    margin-bottom: 1.5rem;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-top: 2rem;
}

.pagination button {
    padding: 0.5rem 0.75rem;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--foreground);
    cursor: pointer;
    transition: all 0.2s;
}

.pagination button:hover:not(:disabled) {
    background: var(--muted);
}

.pagination button.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.pagination button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}
/* ===== MODERN REDESIGN: CUSTOMIZATION SECTION ===== */

/* Section Header */
.section-header-modern {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title-modern {
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 900;
    margin-bottom: 0.75rem;
}

.title-gradient {
    color: var(--color-primary);
}

.section-subtitle-modern {
    font-size: 1.125rem;
    color: var(--color-text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* Modern Customization Cards */
.customization-card-modern {
    background: var(--color-bg-primary);
    border: 2px solid var(--color-border);
    border-radius: var(--radius-xl);
    padding: 1.25rem;
    margin-bottom: 1.25rem;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}

.customization-card-modern:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--color-primary-light);
}

.card-header-modern {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.step-badge {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    background: var(--color-primary);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.step-number-modern {
    font-size: 1.25rem;
    font-weight: 900;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
}

.card-title-group {
    flex: 1;
}

.card-title-modern {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-text-primary);
    margin-bottom: 0.25rem;
}

.card-subtitle-modern {
    font-size: 0.9375rem;
    color: var(--color-text-secondary);
}

.card-body-modern {
    padding-left: calc(56px + 1.5rem); /* Align with title */
}

/* Participant Selector Modern */
.participant-selector-modern {
    margin-bottom: 1.5rem;
}

.slider-container-modern {
    background: white;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.slider-container-modern:hover {
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    border-color: var(--color-border);
}

.slider-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.slider-label-modern {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    font-size: 1rem;
    color: var(--color-text-primary);
}

.slider-value-badge {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    padding: 0.5rem 1.25rem;
    background: var(--color-primary);
    border-radius: var(--radius-full);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.slider-track-container {
    position: relative;
    padding: 1rem 0.5rem 0.5rem;
}

.slider-modern {
    width: 100%;
    height: 10px;
    border-radius: var(--radius-full);
    background: transparent;
    outline: none;
    appearance: none;
    -webkit-appearance: none;
    position: relative;
    cursor: pointer;
    z-index: 2;
}

.slider-modern::-webkit-slider-runnable-track {
    width: 100%;
    height: 10px;
    border-radius: var(--radius-full);
    background: #e5e7eb;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
}

.slider-modern::-moz-range-track {
    width: 100%;
    height: 10px;
    border-radius: var(--radius-full);
    background: #e5e7eb;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
}

.slider-modern::-moz-range-progress {
    height: 10px;
    border-radius: var(--radius-full);
    background: var(--color-primary);
}

.slider-modern::-webkit-slider-thumb {
    appearance: none;
    -webkit-appearance: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--color-primary);
    cursor: grab;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: all 0.2s ease;
    position: relative;
    margin-top: -7px;
}

.slider-modern::-webkit-slider-thumb:hover {
    transform: scale(1.05);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
}

.slider-modern::-webkit-slider-thumb:active {
    cursor: grabbing;
    transform: scale(1.05);
}

.slider-modern::-moz-range-thumb {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--color-primary);
    cursor: grab;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    border: none;
    transition: all 0.2s ease;
}

.slider-modern::-moz-range-thumb:hover {
    transform: scale(1.15);
    box-shadow: 0 4px 16px rgba(14, 165, 233, 0.5), 0 0 0 4px white, 0 0 0 7px rgba(14, 165, 233, 0.3);
}

.slider-modern::-moz-range-thumb:active {
    cursor: grabbing;
    transform: scale(1.05);
}

.slider-scale {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0.25rem 0;
    margin-top: 0.5rem;
}

.scale-mark {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--color-text-muted);
    user-select: none;
}

.slider-value-modern {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.value-number {
    font-size: 1.5rem;
    font-weight: 900;
    color: white;
    line-height: 1;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.value-label {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Customization Note Modern */
.customization-note-modern {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1rem;
    background: var(--color-bg-secondary);
    border-left: 3px solid var(--color-primary);
    border-radius: var(--radius-md);
    margin-bottom: 1.5rem;
    font-size: 0.9375rem;
    color: var(--color-text-primary);
}

.note-icon {
    flex-shrink: 0;
    color: var(--color-primary);
}

/* Participant Grid Modern */
.participant-grid-modern {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 1rem;
}

.participant-grid-modern .participant-card {
    position: relative;
    background: white;
    border: 2px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 1.25rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.participant-grid-modern .participant-card:hover {
    border-color: var(--color-primary);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.participant-grid-modern .participant-card.has-media {
    border-color: var(--color-success);
}

.participant-grid-modern .upload-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 28px;
    height: 28px;
    background: var(--color-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    z-index: 1;
}

.participant-grid-modern .participant-card.has-media .upload-badge {
    background: var(--color-success);
}

.participant-grid-modern .participant-initials,
.participant-grid-modern .participant-media-wrapper {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    margin: 0 auto 0.75rem;
    position: relative;
    z-index: 1;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2), 0 0 0 3px rgba(255, 255, 255, 0.3);
    overflow: hidden;
}

.participant-grid-modern .participant-initials {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 900;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.participant-grid-modern .participant-media-wrapper {
    background: var(--color-bg-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.participant-grid-modern .participant-avatar-image,
.participant-grid-modern .participant-avatar-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.participant-grid-modern .participant-avatar-image {
    transition: transform 0.3s ease;
}

.participant-grid-modern .participant-card:hover .participant-avatar-image {
    transform: scale(1.05);
}

.participant-grid-modern .participant-name {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--color-text-primary);
    position: relative;
    z-index: 1;
}

/* Profile Editor Modern */
.profile-editor-modern {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.profile-form-group {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

@media (max-width: 768px) {
    .profile-editor-modern {
        gap: 1.25rem;
    }
}

.form-label-modern {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: var(--color-text-primary);
    font-size: 0.9375rem;
}

.optional-badge {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--color-text-tertiary);
    padding: 0.125rem 0.5rem;
    background: var(--color-bg-secondary);
    border-radius: var(--radius-sm);
}

.form-input-modern {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid var(--color-border);
    border-radius: var(--radius-md);
    font-size: 1rem;
    color: var(--color-text-primary);
    background: var(--color-bg-primary);
    transition: all 0.3s ease;
}

.form-input-modern:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.1);
}

/* Upload Area Modern */
.upload-area-modern {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.upload-preview-modern {
    width: 100%;
    min-height: 200px;
    border: 2px dashed var(--color-border);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background: var(--color-bg-secondary);
    overflow: hidden;
}

.upload-preview-modern:hover {
    border-color: var(--color-primary);
    background: var(--color-bg-secondary);
}

.upload-placeholder-modern {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding: 2rem;
    color: var(--color-text-secondary);
    text-align: center;
}

.upload-placeholder-modern svg {
    color: var(--color-primary);
}

.upload-placeholder-modern p {
    font-weight: 500;
    color: var(--color-text-primary);
    margin: 0;
}

.upload-placeholder-modern small {
    font-size: 0.8125rem;
    color: var(--color-text-tertiary);
}

.upload-actions-modern {
    display: flex;
    gap: 0.75rem;
}

.btn-modern {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border: 2px solid var(--color-border);
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.9375rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-upload {
    background: var(--color-primary);
    color: white;
    border-color: var(--color-primary);
}

.btn-upload:hover {
    background: var(--color-primary-dark);
    border-color: var(--color-primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(14, 165, 233, 0.3);
}

.btn-remove {
    background: white;
    color: var(--color-danger);
    border-color: var(--color-danger);
}

.btn-remove:hover {
    background: var(--color-danger);
    color: white;
    transform: translateY(-1px);
}

/* Toggle Group Modern */
.toggle-group-modern {
    display: flex;
    gap: 0.75rem;
}

.toggle-btn-modern {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.5rem;
    border: 2px solid var(--color-border);
    border-radius: var(--radius-md);
    background: white;
    color: var(--color-text-secondary);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.toggle-btn-modern:hover {
    border-color: var(--color-primary-light);
    background: var(--color-bg-secondary);
}

.toggle-btn-modern.active {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: white;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

/* Settings Grid Modern */
.settings-grid-modern {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .settings-grid-modern {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

.setting-item-modern {
    display: flex;
    gap: 1.25rem;
    padding: 1.75rem;
    background: white;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.setting-item-modern:hover {
    background: var(--color-bg-secondary);
    border-color: var(--color-border);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.setting-icon-wrapper {
    flex-shrink: 0;
}

.setting-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-primary);
    border-radius: var(--radius-lg);
    color: white;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.setting-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.setting-label-primary {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    font-size: 1.0625rem;
    color: var(--color-text-primary);
    margin-bottom: 0.25rem;
}

.setting-info-icon {
    color: var(--color-text-muted);
    transition: color 0.2s ease;
}

.setting-info-icon:hover {
    color: var(--color-primary);
}

.setting-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.625rem;
    font-size: 0.75rem;
    font-weight: 600;
    background: rgba(37, 99, 235, 0.1);
    color: var(--color-primary);
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.setting-badge-success {
    background: rgba(34, 197, 94, 0.1);
    color: #16a34a;
}

.setting-toggle-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.setting-label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 600;
    color: var(--color-text-primary);
    margin-bottom: 0.25rem;
    cursor: pointer;
    user-select: none;
}

.setting-label input[type="checkbox"] {
    flex-shrink: 0;
    margin: 0;
    cursor: pointer;
}

.setting-description {
    font-size: 0.875rem;
    color: var(--color-text-secondary);
    line-height: 1.5;
    margin: 0;
}

/* Toggle Switch */
.toggle-switch {
    position: relative;
    display: inline-block;
    width: 52px;
    height: 28px;
    flex-shrink: 0;
}

.toggle-input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #cbd5e1;
    transition: all 0.3s ease;
    border-radius: 34px;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 22px;
    width: 22px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: all 0.3s ease;
    border-radius: 50%;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.toggle-input:checked + .toggle-slider {
    background: var(--color-primary);
}

.toggle-input:checked + .toggle-slider:before {
    transform: translateX(24px);
}

.toggle-input:focus + .toggle-slider {
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1), 0 0 0 3px rgba(14, 165, 233, 0.2);
}

/* Settings Info Panel */
.settings-info-panel {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-top: 1.5rem;
    padding: 1.25rem;
    background: #fef3c7;
    border-left: 3px solid #f59e0b;
    border-radius: var(--radius-lg);
}

.info-panel-icon {
    flex-shrink: 0;
    color: #f59e0b;
}

.info-panel-content {
    flex: 1;
    font-size: 0.9375rem;
    color: #78350f;
    line-height: 1.6;
}

.info-panel-content strong {
    color: #92400e;
}

.form-select-modern, 
.form-input-modern {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid var(--color-border);
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-family: inherit;
    color: var(--color-text-primary);
    background: white;
    transition: all 0.3s ease;
    outline: none;
}

.form-select-modern {
    cursor: pointer;
}

.form-select-modern:focus,
.form-input-modern:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.1);
}

.form-input-modern::placeholder {
    color: var(--color-text-muted);
}

.form-checkbox-modern {
    width: 20px;
    height: 20px;
    border: 2px solid var(--color-border);
    border-radius: 4px;
    cursor: pointer;
    accent-color: var(--color-primary);
}

.checkbox-text {
    font-weight: 600;
    color: var(--color-text-primary);
    display: inline-block;
    user-select: none;
    cursor: pointer;
}

/* Action Section Modern */
.action-section-modern {
    margin-top: 3rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    padding: 2rem 0;
}

.premium-actions-modern {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

@media (max-width: 768px) {
    .action-section-modern {
        margin-top: 2rem;
        padding: 1.5rem 0;
    }
}

.btn-primary-modern {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1.25rem 3rem;
    background: var(--color-primary);
    color: white;
    border: none;
    border-radius: var(--radius-full);
    font-size: 1.125rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.btn-primary-modern:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(14, 165, 233, 0.4);
}

.btn-primary-modern:active {
    transform: translateY(0);
}

.premium-actions-modern {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.btn-secondary-modern {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: white;
    color: var(--color-text-primary);
    border: 2px solid var(--color-border);
    border-radius: var(--radius-full);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-secondary-modern:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
    transform: translateY(-1px);
    box-shadow: var(--shadow-sm);
}

.premium-note-modern {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: var(--color-bg-secondary);
    border-radius: var(--radius-full);
    font-size: 0.9375rem;
    color: var(--color-text-secondary);
}

.premium-note-modern svg {
    color: var(--color-warning);
}

/* Responsive Design */
@media (max-width: 768px) {
    .card-body-modern {
        padding-left: 0;
    }
    
    .card-header-modern {
        flex-direction: column;
        gap: 1rem;
    }
    
    .participant-grid-modern {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .participant-grid-modern .participant-card {
        padding: 1rem;
    }
    
    .participant-grid-modern .participant-initials,
    .participant-grid-modern .participant-media-wrapper {
        width: 70px;
        height: 70px;
        margin-bottom: 0.5rem;
    }
    
    .participant-grid-modern .participant-initials {
        font-size: 1.5rem;
    }
    
    .participant-grid-modern .participant-name {
        font-size: 0.875rem;
    }
    
    .participant-grid-modern .upload-badge {
        width: 24px;
        height: 24px;
        font-size: 12px;
        top: 8px;
        right: 8px;
    }
    
    .settings-grid-modern {
        grid-template-columns: 1fr;
    }
    
    .toggle-group-modern {
        flex-direction: column;
    }
    
    .btn-primary-modern {
        width: 100%;
        padding: 1rem 2rem;
    }
    
    .premium-actions-modern {
        width: 100%;
    }
    
    .btn-secondary-modern {
        flex: 1;
    }
}

@media (max-width: 480px) {
    .participant-grid-modern {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }
    
    .participant-grid-modern .participant-card {
        padding: 0.875rem;
    }
    
    .participant-grid-modern .participant-initials,
    .participant-grid-modern .participant-media-wrapper {
        width: 60px;
        height: 60px;
        margin-bottom: 0.5rem;
    }
    
    .participant-grid-modern .participant-initials {
        font-size: 1.25rem;
    }
    
    .participant-grid-modern .participant-name {
        font-size: 0.8125rem;
    }
    
    .slider-wrapper-modern {
        flex-direction: column;
        align-items: stretch;
    }
    
    .slider-value-modern {
        min-width: auto;
    }
    
    .upload-actions-modern {
        flex-direction: column;
    }
    
    .btn-modern {
        width: 100%;
        justify-content: center;
    }
}

/* ===== ACTIVE SPEAKER SELECTION STYLES ===== */

.premium-badge-inline {
    display: inline-block;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    margin-left: 0.5rem;
    vertical-align: middle;
    letter-spacing: 0.5px;
}

.speaker-selection-grid {
    display: flex;
    gap: 1.5rem;
    padding: 1rem 0;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
}

.speaker-selection-grid::-webkit-scrollbar {
    height: 8px;
}

.speaker-selection-grid::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 4px;
}

.speaker-selection-grid::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

.speaker-card {
    flex-shrink: 0;
    width: 190px;
    background: white;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.speaker-card:hover {
    transform: translateY(-2px);
}

.speaker-card.speaker-selected .speaker-preview {
    border-color: #10b981;
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.5);
}

.speaker-card.speaker-locked {
    opacity: 0.7;
    cursor: not-allowed;
}

.speaker-preview {
    position: relative;
    width: 190px;
    height: 150px;
    background: #3d4a5c;
    border: 4px solid #2d3748;
    border-radius: 0;
    overflow: hidden;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.speaker-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

.speaker-lock-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
    z-index: 2;
}

.speaker-info {
    background: transparent;
    padding: 0;
}

.speaker-name {
    font-size: 0.875rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 0.5rem;
    text-align: center;
    background: white;
    padding: 0.5rem;
    border: 1px solid #cbd5e1;
    border-radius: 4px;
}

.speaker-select-btn {
    width: 100%;
    padding: 0.5rem;
    border: none;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.75rem;
    cursor: pointer;
    transition: all 0.2s ease;
    background: #1e293b;
    color: white;
}

.speaker-select-btn:hover {
    background: #0f172a;
}

.speaker-select-btn.btn-disabled {
    background: #e5e7eb;
    color: #9ca3af;
    cursor: not-allowed;
}

/* Upgrade Modal Styles */
#upgradeModal .modal-content {
    text-align: center;
    padding: 2.5rem;
}

#upgradeModal h3 {
    font-size: 1.875rem;
    margin-bottom: 1rem;
}

#upgradeModal .btn {
    margin: 0.5rem;
}

/* Speaker Selection Modal */
#speakerSelectionModal .modal-content {
    max-width: 900px;
}

#speakerSelectionModal h3 {
    font-size: 1.75rem;
    color: #1f2937;
    margin-bottom: 0.5rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .speaker-card {
        width: 160px;
    }
    
    .speaker-preview {
        width: 160px;
        height: 120px;
    }
}

@media (max-width: 480px) {
    .speaker-card {
        width: 140px;
    }
    
    .speaker-preview {
        width: 140px;
        height: 110px;
    }
    
    .premium-badge-inline {
        display: block;
        margin: 0.5rem 0;
    }
}


/* ===== NEW CUSTOMIZER LAYOUT STYLES ===== */

/* ===== CUSTOMIZER LAYOUT STYLES ===== */
.customizer-top-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.customizer-box {
    background: white;
    border: 2px solid #0f4c75;
    border-radius: 4px;
    overflow: hidden;
}

.customizer-box-header {
    background: #0f4c75;
    color: white;
    padding: 1rem;
    font-weight: 700;
    font-size: 0.9375rem;
    letter-spacing: 0.5px;
    text-align: center;
}

.customizer-box-body {
    padding: 1.5rem;
}

.user-details-row {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.user-name-section {
    flex: 1;
}

.user-image-section {
    flex-shrink: 0;
    text-align: center;
}

.form-group-compact {
    margin-bottom: 1.25rem;
}

.form-group-compact label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #1e293b;
    font-size: 0.9375rem;
}

.form-group-compact input[type="text"] {
    width: 100%;
    padding: 0.625rem;
    border: 1px solid #cbd5e1;
    border-radius: 4px;
    font-size: 0.9375rem;
}

.toggle-buttons {
    display: flex;
    gap: 0.5rem;
}

.toggle-btn {
    padding: 0.5rem 1.5rem;
    background: #e2e8f0;
    border: 1px solid #cbd5e1;
    border-radius: 20px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.875rem;
    color: #475569;
    transition: all 0.2s;
}

.toggle-btn:hover {
    background: #cbd5e1;
}

.toggle-btn.active {
    background: #10b981;
    color: white;
    border-color: #10b981;
}

.profile-upload-preview {
    width: 140px;
    height: 160px;
    background: #2d3748;
    border-radius: 8px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    cursor: pointer;
    transition: all 0.2s;
    position: relative;
    overflow: hidden;
}

.profile-upload-preview:hover {
    background: #374151;
}

.profile-upload-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

.settings-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.settings-row label {
    font-weight: 600;
    color: #1e293b;
    font-size: 0.9375rem;
}

.customizer-participants {
    margin-top: 2rem;
}

.participants-controls {
    display: flex;
    gap: 2rem;
    margin-bottom: 1.5rem;
    align-items: flex-end;
}

.participant-count-control {
    flex: 1;
}

.participant-count-control label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #1e293b;
    font-size: 0.9375rem;
}

.participant-count-control input {
    width: 100%;
    padding: 0.625rem;
    border: 1px solid #cbd5e1;
    border-radius: 4px;
    font-size: 0.9375rem;
}

.load-group-btn {
    padding: 0.75rem 2rem;
    background: #2d3748;
    color: white;
    border: none;
    border-radius: 4px;
    font-weight: 700;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.2s;
    letter-spacing: 0.5px;
}

.load-group-btn:hover {
    background: #1e293b;
}

.participants-grid-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.participants-grid-scroll {
    flex: 1;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
}

.participants-grid-scroll::-webkit-scrollbar {
    height: 8px;
}

.participants-grid-scroll::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 4px;
}

.participants-grid-scroll::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

.participants-grid-compact {
    display: flex;
    gap: 1.5rem;
    padding-bottom: 1rem;
}

.participant-card-compact {
    flex-shrink: 0;
    width: 190px;
    text-align: center;
}

.participant-preview-compact {
    width: 190px;
    height: 150px;
    background: #3d4a5c;
    border: 4px solid #2d3748;
    border-radius: 0;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2.5rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
    position: relative;
    overflow: hidden;
}

.participant-preview-compact:hover {
    background: #374151;
    transform: translateY(-2px);
}

.participant-preview-compact img,
.participant-preview-compact video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

.participant-name-input {
    width: 100%;
    padding: 0.5rem;
    margin-bottom: 0.5rem;
    background: white;
    color: black;
    border: 1px solid #cbd5e1;
    border-radius: 4px;
    font-size: 0.875rem;
    font-weight: 600;
    text-align: center;
    transition: all 0.2s;
}

.participant-name-input:focus {
    outline: none;
    border-color: #0ea5e9;
    background: white;
}

.participant-name-input::placeholder {
    color: #94a3b8;
}

.participant-btn-compact {
    width: 100%;
    padding: 0.5rem;
    margin-bottom: 0.5rem;
    background: #1e293b;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.participant-btn-compact:hover {
    background: #0f172a;
}

.participant-mic-indicator {
    position: absolute;
    bottom: 8px;
    right: 8px;
    width: 32px;
    height: 32px;
    background: #10b981;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    z-index: 10;
    animation: micPulse 2s ease-in-out infinite;
}

@keyframes micPulse {
    0%, 100% {
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3), 0 0 0 0 rgba(16, 185, 129, 0.7);
    }
    50% {
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3), 0 0 0 8px rgba(16, 185, 129, 0);
    }
}

.participants-nav-arrow {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: #0f4c75;
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.participants-nav-arrow:hover {
    background: #1e3a5f;
    transform: scale(1.1);
}

.start-meeting-btn {
    padding: 1rem 4rem;
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: #1e293b;
    border: none;
    border-radius: 6px;
    font-weight: 700;
    font-size: 1.125rem;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(251, 191, 36, 0.3);
    letter-spacing: 0.5px;
}

.start-meeting-btn:hover {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(251, 191, 36, 0.4);
}

/* Responsive */
@media (max-width: 968px) {
    .customizer-top-row {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .user-details-row {
        flex-direction: column;
    }

    .participants-controls {
        flex-direction: column;
        align-items: stretch;
    }

    .load-group-btn {
        width: 100%;
    }
}

@media (max-width: 640px) {
    .participant-card-compact {
        width: 160px;
    }

    .participant-preview-compact {
        width: 160px;
        height: 120px;
        font-size: 2rem;
    }

    .start-meeting-btn {
        width: 100%;
        padding: 1rem 2rem;
    }
}

/* ===== SELECTED ITEMS DISPLAY ===== */
.selected-items-display {
    background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 100%);
    border: 2px solid #10b981;
    border-radius: 12px;
    padding: 1rem;
}

.selected-items-header {
    font-size: 0.875rem;
    font-weight: 600;
    color: #065f46;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.selected-items-container {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.selected-item-card {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: white;
    border: 2px solid #10b981;
    border-radius: 8px;
    padding: 0.5rem 0.75rem;
    padding-right: 2rem;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.15);
    transition: all 0.2s ease;
}

.selected-item-card:hover {
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.25);
}

.selected-item-preview {
    width: 48px;
    height: 48px;
    border-radius: 6px;
    overflow: hidden;
    background: #3d4a5c;
    flex-shrink: 0;
}

.selected-item-preview video,
.selected-item-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.selected-item-info {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
}

.selected-item-name {
    font-size: 0.8125rem;
    font-weight: 600;
    color: #1e293b;
    line-height: 1.2;
}

.selected-item-type {
    font-size: 0.6875rem;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.selected-item-remove {
    position: absolute;
    top: -6px;
    right: -6px;
    width: 22px;
    height: 22px;
    background: #ef4444;
    border: 2px solid white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.selected-item-remove:hover {
    background: #dc2626;
    transform: scale(1.1);
}

.selected-item-remove svg {
    width: 12px;
    height: 12px;
    color: white;
}

/* Speaker badge variation */
.selected-item-card.speaker-type {
    border-color: #f59e0b;
    background: linear-gradient(135deg, #fffbeb 0%, white 100%);
}

.selected-item-card.speaker-type .selected-item-type {
    color: #b45309;
}

@media (max-width: 768px) {
    .selected-items-container {
        flex-direction: column;
    }
    
    .selected-item-card {
        width: 100%;
    }
}

/* Toggle Switch Styles */
.toggle-switch {
    position: relative;
    display: inline-block;
    width: 48px;
    height: 24px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #cbd5e1;
    transition: 0.3s;
    border-radius: 24px;
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.3s;
    border-radius: 50%;
}

input:checked + .toggle-slider {
    background-color: #0f4c75;
}

input:checked + .toggle-slider:before {
    transform: translateX(24px);
}

/* Free User Participant Action Buttons */
.btn-add-participant {
    position: relative;
    overflow: hidden;
}

.btn-add-participant:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.btn-add-participant:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.btn-add-participant svg {
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .free-participant-actions {
        flex-direction: column;
    }
    
    .btn-add-participant {
        min-width: 100% !important;
    }
}

