@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700&display=swap');

body {
    background: linear-gradient(135deg, #121212 0%, #0a0a1a 100%);
    color: #e0e0e0;
    font-family: 'Inter', sans-serif;
    margin: 0;
    padding: 0;
}

.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem;
}

h1, h2 {
    color: white;
    margin-bottom: 1.5rem;
}

/* Glassmorphism Forms */
.admin-form {
    background: rgba(30, 30, 46, 0.6);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    margin-bottom: 2rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    padding: 2rem;
}

.form-group {
    margin-bottom: 1rem;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    color: #b0b0b0;
    font-weight: 500;
}

input[type="text"],
input[type="password"],
input[type="file"],
textarea {
    width: 100%;
    padding: 0.8rem;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: white;
    box-sizing: border-box;
    font-family: inherit;
}

input:focus,
textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 10px var(--accent-glow);
}

button {
    background: linear-gradient(45deg, var(--accent), var(--secondary-accent));
    border: none;
    border-radius: 10px;
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    padding: 0.8rem 1.5rem;
    position: relative;
    overflow: hidden;
}

button:hover {
    box-shadow: 0 4px 20px rgba(188, 19, 254, 0.4);
    transform: translateY(-2px);
}

button:active {
    transform: translateY(0);
}

/* Navigation Glassmorphism */
.nav-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding: 1rem 2rem;
    background: rgba(30, 30, 46, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-link {
    color: #b0b0b0;
    text-decoration: none;
    margin-left: 1rem;
    transition: color 0.2s;
}

.nav-link:hover {
    color: white;
}

/* Modern Table */
.song-list {
    background: rgba(30, 30, 46, 0.6);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    padding: 1.5rem;
}

table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

th,
td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

th {
    background: linear-gradient(90deg, var(--accent), var(--secondary-accent));
    color: black;
    font-weight: 700;
    position: sticky;
    top: 0;
}

tr:last-child td {
    border-bottom: none;
}

tr:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: scale(1.01);
    transition: all 0.2s;
}

.thumb {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    object-fit: cover;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Action Buttons */
.action-btn {
    padding: 0.5rem 1rem;
    margin-right: 0.5rem;
    font-size: 0.85rem;
    color: white;
    border-radius: 6px;
    transition: all 0.2s;
    border: none;
    cursor: pointer;
}

.edit-btn {
    background: linear-gradient(45deg, #4caf50, #388e3c);
}

.edit-btn:hover {
    box-shadow: 0 0 15px rgba(76, 175, 80, 0.4);
}

.delete-btn {
    background: linear-gradient(45deg, #f44336, #d32f2f);
}

.delete-btn:hover {
    box-shadow: 0 0 15px rgba(244, 67, 54, 0.4);
}

/* Loading Dots */
.loading-dots::after {
    content: '';
    animation: dots 1.5s steps(4, end) infinite;
}

@keyframes dots {
    0%, 20% { content: ''; }
    40% { content: '.'; }
    60% { content: '..'; }
    80%, 100% { content: '...'; }
}

/* Responsive */
@media (max-width: 768px) {
    .container {
        padding: 1rem;
    }
    .admin-form {
        padding: 1.5rem;
    }
    table {
        font-size: 0.9rem;
    }
    th, td {
        padding: 0.8rem;
    }
    .thumb {
        width: 40px;
        height: 40px;
    }
}