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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    color: #333;
    font-size: 14px;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 15px;
}


/* Header */
header {
    background: rgba(255, 255, 255, 0.1);
    padding: 15px 25px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

header h1 {
    color: #4a5568;
    font-size: 1.8rem;
    font-weight: 700;
}

.view-tabs {
    display: flex;
    gap: 5px;
}

.tab {
    padding: 8px 16px;
    background: #f7fafc;
    color: #4a5568;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 500;
    transition: all 0.3s ease;
    font-size: 13px;
}

.tab:hover, .tab.active {
    background: #667eea;
    color: white;
}

.user-info {
    font-weight: 600;
    color: #4a5568;
}

.login-btn, .register-btn, .admin-btn, .admin-login-btn, .logout-btn {
    padding: 8px 16px;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    font-size: 13px;
    transition: all 0.3s ease;
}

.login-btn, .register-btn {
    background: #667eea;
    color: white;
}

.admin-btn, .admin-login-btn {
    background: #38a169;
    color: white;
}

.logout-btn {
    background: #e53e3e;
    color: white;
}

.login-btn:hover, .register-btn:hover { background: #5a67d8; }
.admin-btn:hover, .admin-login-btn:hover { background: #2f855a; }
.logout-btn:hover { background: #c53030; }

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
    background-color: white;
    margin: 15% auto;
    padding: 30px;
    border-radius: 12px;
    width: 90%;
    max-width: 400px;
    position: relative;
}

.close {
    position: absolute;
    right: 15px;
    top: 15px;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    color: #999;
}

.close:hover { color: #333; }

.modal form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.modal input {
    padding: 12px;
    border: 2px solid #e2e8f0;
    border-radius: 6px;
    font-size: 14px;
}

.modal button {
    padding: 12px;
    background: #667eea;
    color: white;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
}

/* Admin Panel */
.admin-panel {
    background: rgba(255, 255, 255, 0.95);
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.upload-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form-row {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    align-items: center;
}

.form-row input, .form-row select {
    flex: 1;
    min-width: 150px;
    padding: 10px;
    border: 2px solid #e2e8f0;
    border-radius: 6px;
    font-size: 14px;
}

.form-row button {
    padding: 10px 20px;
    background: #48bb78;
    color: white;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
}

/* Player Section */
.player-section {
    background: rgba(255, 255, 255, 0.95);
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.player-controls {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 20px;
}

.current-song {
    padding: 12px;
    background: #f7fafc;
    border-radius: 8px;
    font-weight: 600;
    text-align: center;
    font-size: 14px;
}

.player-actions {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.control-btn {
    padding: 8px 12px;
    background: #e2e8f0;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.3s ease;
}

.control-btn:hover {
    background: #cbd5e0;
}

.control-btn.active {
    background: #667eea;
    color: white;
}

/* Queue Section */
.queue-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.queue-section h3 {
    color: #4a5568;
    margin-bottom: 12px;
    font-size: 16px;
}

.queue-list {
    background: #f7fafc;
    border-radius: 8px;
    padding: 12px;
    max-height: 150px;
    overflow-y: auto;
    margin-bottom: 12px;
}

.queue-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px;
    margin-bottom: 8px;
    background: white;
    border-radius: 6px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.queue-item:last-child { margin-bottom: 0; }

.queue-item-info h4 {
    margin: 0;
    color: #2d3748;
    font-size: 13px;
}

.queue-item-info p {
    margin: 0;
    color: #718096;
    font-size: 12px;
}

.queue-controls {
    display: flex;
    gap: 10px;
}

.btn-secondary {
    padding: 8px 16px;
    background: #718096;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    font-size: 12px;
}

.btn-secondary:hover { background: #4a5568; }

/* Search Section */
.search-section {
    background: rgba(255, 255, 255, 0.1);
    padding: 15px;
    border-radius: 12px;
    margin-bottom: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.search-controls {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    align-items: center;
}

#searchInput {
    flex: 2;
    min-width: 250px;
    padding: 10px 15px;
    border: 2px solid #e2e8f0;
    border-radius: 20px;
    font-size: 14px;
}

#genreFilter, #yearFilter {
    padding: 10px;
    border: 2px solid #e2e8f0;
    border-radius: 6px;
    font-size: 14px;
    min-width: 120px;
}

/* Songs Section */
.songs-section {
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.songs-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom:
}


.song-card {
  max-width: 200px;
  background: #fff;
  display: inline-block !important;
  box-shadow: 0px 0px 8px #7257b3;
  margin: 4px;
  padding: 8px;
  vertical-align: top;
  border-radius: 10px;
  min-height: 300px;
}


.song-card img{
    max-width: 100%;
}