/* Insta Song Picker Styles - Clean & Basic */

/* Header */
.subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-weight: 400;
}

/* Filter Section */
.filter-section {
    background: rgba(255, 255, 255, 0.6);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    margin-bottom: 2rem;
    border: 1px solid rgba(234, 88, 12, 0.15);
}

.filter-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    justify-content: center;
}

.filter-tag {
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(234, 88, 12, 0.2);
    border-radius: 20px;
    color: var(--text-primary);
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: 'Inter', sans-serif;
}

.filter-tag:hover {
    background: rgba(234, 88, 12, 0.1);
    border-color: var(--accent);
}

.filter-tag.active {
    background: var(--accent);
    color: white;
    border-color: var(--accent);
}

.search-box {
    max-width: 400px;
    margin: 0 auto;
}

.search-input {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid rgba(234, 88, 12, 0.3);
    border-radius: 8px;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    background: white;
}

.search-input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 2px rgba(234, 88, 12, 0.1);
}

/* Songs Grid */
.songs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.song-card {
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(234, 88, 12, 0.15);
    border-radius: 10px;
    padding: 1.5rem;
    transition: all 0.2s ease;
    position: relative;
}

.song-card:hover {
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(234, 88, 12, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.song-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.song-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

.song-artist {
    color: var(--text-secondary);
    font-size: 1rem;
    margin: 0.25rem 0 0.5rem 0;
}

.song-mood {
    display: inline-block;
    padding: 0.2rem 0.6rem;
    background: rgba(234, 88, 12, 0.1);
    border-radius: 12px;
    font-size: 0.8rem;
    color: var(--accent);
    margin-top: 0.5rem;
}

.song-actions {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
}

.action-btn {
    flex: 1;
    padding: 0.5rem;
    border: 1px solid rgba(234, 88, 12, 0.3);
    border-radius: 6px;
    background: white;
    color: var(--text-primary);
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
}

.action-btn:hover {
    background: rgba(234, 88, 12, 0.1);
    border-color: var(--accent);
}

.action-btn.play-btn {
    background: rgba(234, 88, 12, 0.1);
    color: var(--accent);
}

.action-btn.play-btn:hover {
    background: rgba(234, 88, 12, 0.2);
}

.action-btn.copy-btn {
    background: rgba(255, 255, 255, 0.8);
}

/* Add Song Form */
.add-song-form {
    background: rgba(255, 255, 255, 0.6);
    border-radius: var(--border-radius);
    padding: 2rem;
    margin-bottom: 2rem;
    border: 1px dashed rgba(234, 88, 12, 0.3);
}

.form-title {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    text-align: center;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 1rem;
}

.form-input {
    padding: 0.8rem;
    border: 1px solid rgba(234, 88, 12, 0.3);
    border-radius: 6px;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    background: white;
}

.form-input:focus {
    outline: none;
    border-color: var(--accent);
}

.add-btn {
    grid-column: 1 / -1;
    padding: 0.8rem;
    background: var(--accent);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.add-btn:hover {
    background: var(--accent-hover);
    transform: translateY(-1px);
}

.form-note {
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-top: 1rem;
    opacity: 0.8;
}

/* Instructions */
.instructions {
    background: rgba(255, 255, 255, 0.6);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    margin-top: 2rem;
    border: 1px solid rgba(234, 88, 12, 0.15);
}

.instructions h3 {
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.instructions ol {
    padding-left: 1.5rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.instructions li {
    margin-bottom: 0.5rem;
}

.tip {
    padding: 0.8rem;
    background: rgba(251, 191, 36, 0.2);
    border-radius: 6px;
    border-left: 3px solid #f59e0b;
    color: var(--text-primary);
}

/* Now Playing Indicator */
.now-playing {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 3rem;
    color: var(--text-secondary);
    grid-column: 1 / -1;
}

.empty-state p {
    margin-top: 1rem;
    opacity: 0.8;
}

/* Responsive */
@media (max-width: 768px) {
    .songs-grid {
        grid-template-columns: 1fr;
    }
    
    .filter-tags {
        justify-content: center;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .song-card {
        padding: 1.2rem;
    }
    
    .song-actions {
        flex-direction: column;
    }
    
    .action-btn {
        width: 100%;
    }
}