* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: #f5f5f5;
    color: #333;
}

nav {
    background: #fff;
    padding: 1rem 2rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

nav h1 {
    font-size: 1.5rem;
}

nav div {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

nav a {
    color: #333;
    text-decoration: none;
}

nav a:hover {
    color: #007bff;
}

.container {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 2rem;
}

.login-box {
    max-width: 400px;
    margin: 10rem auto;
    background: #fff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.login-box h1 {
    text-align: center;
    margin-bottom: 1.5rem;
}

.login-box input {
    width: 100%;
    padding: 0.75rem;
    margin-bottom: 1rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
}

.login-box button {
    width: 100%;
    padding: 0.75rem;
    background: #007bff;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    cursor: pointer;
}

.login-box button:hover {
    background: #0056b3;
}

.alert {
    padding: 1rem;
    margin-bottom: 1rem;
    border-radius: 4px;
}

.alert-error {
    background: #f8d7da;
    color: #721c24;
}

.alert-warning {
    background: #fff3cd;
    color: #856404;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: #fff;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.stat-card h3 {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 0.5rem;
}

.stat-number {
    font-size: 2rem;
    font-weight: bold;
    color: #007bff;
}

.stat-card.pending .stat-number {
    color: #ffa500;
}

.songs-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.song-card {
    background: #fff;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.song-info h3 {
    margin-bottom: 0.5rem;
}

.song-info p {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

.song-actions {
    display: flex;
    gap: 0.5rem;
}

.btn-approve, .btn-reject {
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
}

.btn-approve {
    background: #28a745;
    color: #fff;
}

.btn-approve:hover {
    background: #218838;
}

.btn-reject {
    background: #dc3545;
    color: #fff;
}

.btn-reject:hover {
    background: #c82333;
}

.songs-table {
    width: 100%;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.songs-table th {
    background: #f8f9fa;
    padding: 1rem;
    text-align: left;
    font-weight: 600;
}

.songs-table td {
    padding: 1rem;
    border-top: 1px solid #eee;
}

.empty-state {
    text-align: center;
    padding: 3rem;
    color: #666;
    font-size: 1.2rem;
}

.toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.bulk-actions {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

#search-input {
    padding: 0.5rem 1rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 0.9rem;
    width: 250px;
}

.btn-secondary {
    padding: 0.5rem 1rem;
    background: #6c757d;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.btn-secondary:hover {
    background: #5a6268;
}

.validate-table {
    width: 100%;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    border-collapse: collapse;
}

.validate-table th {
    background: #f8f9fa;
    padding: 1rem;
    text-align: left;
    font-weight: 600;
    border-bottom: 2px solid #dee2e6;
}

.validate-table th.sortable {
    cursor: pointer;
    user-select: none;
}

.validate-table th.sortable:hover {
    background: #e9ecef;
}

.sort-icon {
    color: #999;
    font-size: 0.8rem;
    margin-left: 0.25rem;
}

.validate-table td {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid #eee;
}

.validate-table tbody tr:hover {
    background: #f8f9fa;
}

.validate-table a {
    color: #007bff;
    text-decoration: none;
}

.validate-table a:hover {
    text-decoration: underline;
}

.validate-table code {
    background: #f4f4f4;
    padding: 0.2rem 0.4rem;
    border-radius: 3px;
    font-size: 0.85rem;
    font-family: monospace;
}
