/* List Selector Styles */
.list-selector-container {
    margin: 2rem auto;
    width: 100%;
}

.list-selector {
    background: var(--bg-primary);
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    padding: 2rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.list-selector::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.list-selector.active::before {
    opacity: 1;
}

.list-selector.active {
    border-color: var(--primary-cactus);
    box-shadow: 0 6px 24px rgba(255, 107, 53, 0.15);
}

/* Selector Header */
.list-selector-header {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    margin-bottom: 1.5rem;
}

.list-selector-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-heading);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.list-selector-title i {
    color: var(--primary-vibrant);
    font-size: 1.75rem;
}

.list-selector-subtitle {
    font-size: 1.1rem;
    color: var(--text-body);
    margin: 0;
    font-weight: 500;
}

/* Select Element */
.list-select-wrapper {
    position: relative;
    margin-top: 0.5rem;
}

.list-select {
    width: 100%;
    border-radius: 12px;
    padding: 1rem 1.25rem;
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-heading);
    background-color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    appearance: none;
    border: 2px solid var(--border-secondary);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23FF6B35' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1.25rem center;
    background-size: 1.25rem;
    padding-right: 3rem;
}

.list-select:hover {
    border-color: var(--primary-vibrant);
    box-shadow: 0 2px 8px rgba(255, 107, 53, 0.1);
}

.list-select:active,
.list-select:focus {
    outline: none !important; 
    border-color: var(--primary-vibrant);
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.3);
    animation: pulse-shadow 1.5s ease-in-out infinite;
}

@keyframes pulse-shadow {
    0%, 100% {
      box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.3);
    }
    50% {
      box-shadow: 0 0 0 9px rgba(255, 107, 53, 0.2);
    }
}
  
.list-select option {
    padding: 0.75rem;
    font-size: 1rem;
}

.list-select optgroup {
    font-weight: 600;
    color: var(--primary-cactus);
    background-color: var(--bg-primary);
}

/* List Info */
.list-selector-info {
    display: flex;
    gap: 2rem;
    padding-top: 1.5rem;
    margin-top: 1.5rem;
    border-top: 2px dashed var(--bg-secondary);
}

.list-type, .list-count {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-body);
    font-size: 1rem;
    font-weight: 500;
}

.list-type i, .list-count i {
    color: var(--primary-vibrant);
    font-size: 1.25rem;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .list-selector-container {
        padding: 0 1rem;
    }

    .list-selector {
        padding: 1.5rem;
    }

    .list-selector-title {
        font-size: 1.25rem;
    }

    .list-selector-subtitle {
        font-size: 1rem;
    }

    .list-select {
        font-size: 1rem;
        padding: 0.875rem 1rem;
    }

    .list-selector-info {
        flex-direction: column;
        gap: 1rem;
    }
}