.recording-card {
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    padding: 1rem;
    transition: box-shadow 0.2s;
}

.recording-card:hover {
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.spinner {
    display: inline-block;
    width: 1rem;
    height: 1rem;
    border: 2px solid #e5e7eb;
    border-top-color: #3b82f6;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Gender Filter Tabs */
.gender-tab {
    padding: 0.25rem 0.75rem;
    font-size: 0.875rem;
    border-radius: 9999px;
    border: 1px solid #d1d5db;
    background: white;
    color: #374151;
    cursor: pointer;
    transition: all 0.15s;
    min-height: 44px;
    display: flex;
    align-items: center;
}

.gender-tab:hover {
    background: #f3f4f6;
}

.gender-tab.active {
    background: #2563eb;
    color: white;
    border-color: #2563eb;
}

/* Voice Cards */
.voice-card {
    border: 2px solid #e5e7eb;
    border-radius: 0.5rem;
    padding: 0.75rem;
    cursor: pointer;
    transition: all 0.15s;
    background: white;
}

.voice-card:hover {
    border-color: #93c5fd;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.voice-card.selected {
    border-color: #2563eb;
    background: #eff6ff;
}

/* Gender Badges */
.gender-badge {
    font-size: 0.625rem;
    font-weight: 600;
    padding: 0.125rem 0.375rem;
    border-radius: 9999px;
    text-transform: uppercase;
}

.gender-badge.female {
    background: #fce7f3;
    color: #be185d;
}

.gender-badge.male {
    background: #dbeafe;
    color: #1d4ed8;
}

/* Play Demo Button */
.play-demo-btn {
    font-size: 0.75rem;
    color: #6b7280;
    background: #f3f4f6;
    border: 1px solid #e5e7eb;
    border-radius: 0.375rem;
    padding: 0.125rem 0.5rem;
    cursor: pointer;
    transition: all 0.15s;
}

.play-demo-btn:hover {
    background: #e5e7eb;
    color: #374151;
}

/* Delete Button */
.delete-btn {
    background: #fee2e2;
    color: #dc2626;
    border: 1px solid #fecaca;
    border-radius: 0.375rem;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.15s;
}

.delete-btn:hover {
    background: #fecaca;
    color: #b91c1c;
}

/* Touch targets for mobile */
.touch-target {
    min-height: 44px;
    min-width: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Prevent iOS zoom on input focus */
.input-no-zoom {
    font-size: 16px !important;
}

/* Mobile adjustments */
@media (max-width: 640px) {
    .voice-card {
        padding: 0.5rem;
    }

    .recording-card {
        padding: 0.75rem;
    }

    .recording-card audio {
        margin-top: 0.5rem;
        margin-bottom: 0.5rem;
    }
}
