/* Musicians Portal Specific Styles */

/* Login Section */
.login-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #8B0000, #B22222);
    margin-top: 70px;
}

.login-container {
    background: white;
    padding: 3rem;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    max-width: 400px;
    width: 100%;
}

.login-container h2 {
    text-align: center;
    color: #8B0000;
    margin-bottom: 2rem;
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 0.5rem;
    font-weight: bold;
    color: #333;
}

.form-group input {
    padding: 0.75rem;
    border: 2px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: #8B0000;
}

.login-button {
    background-color: #8B0000;
    color: white;
    padding: 1rem;
    border: none;
    border-radius: 5px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.login-button:hover {
    background-color: #A00000;
}

.error-message {
    background-color: #ffe6e6;
    color: #cc0000;
    padding: 1rem;
    border-radius: 5px;
    margin-top: 1rem;
    text-align: center;
}

/* Main Content */
.main-content {
    margin-top: 70px;
    min-height: calc(100vh - 70px);
}

/* Welcome Banner */
.welcome-banner {
    background: linear-gradient(135deg, #8B0000, #B22222);
    color: white;
    padding: 2rem 0;
    text-align: center;
}

.welcome-banner h2 {
    color: white;
    margin-bottom: 0.5rem;
}

/* Dashboard */
.dashboard {
    padding: 3rem 0;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.dashboard-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    border-left: 4px solid #8B0000;
}

.dashboard-card h3 {
    color: #8B0000;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

/* Sections */
.scores-section,
.practice-section,
.calendar-section,
.files-section {
    padding: 3rem 0;
    border-top: 1px solid #eee;
}

/* Toolbar */
.scores-toolbar,
.files-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 2rem 0;
    flex-wrap: wrap;
    gap: 1rem;
}

.action-button {
    background-color: #FFD700;
    color: #8B0000;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.action-button:hover {
    background-color: #FFA500;
    transform: translateY(-2px);
}

.action-button:disabled {
    background-color: #ccc;
    color: #666;
    cursor: not-allowed;
    transform: none;
}

/* Scores Grid */
.scores-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.score-card {
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: transform 0.3s ease;
}

.score-card:hover {
    transform: translateY(-5px);
}

.score-preview {
    height: 200px;
    background: #f8f8f8;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
}

.score-info {
    padding: 1.5rem;
}

.score-info h4 {
    color: #8B0000;
    margin-bottom: 0.5rem;
}

.score-info p {
    color: #666;
    font-size: 0.9rem;
}

/* Practice Tools */
.practice-tools {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.tool-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    text-align: center;
}

.tool-card h3 {
    color: #8B0000;
    margin-bottom: 1.5rem;
}

/* Metronome Controls */
.metronome-controls {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

#bpm-slider {
    width: 100%;
    max-width: 200px;
}

#bpm-display {
    font-size: 1.2rem;
    font-weight: bold;
    color: #8B0000;
}

/* Recorder Controls */
.recorder-controls {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Files List */
.files-list {
    margin-top: 2rem;
}

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

.file-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.file-icon {
    width: 40px;
    height: 40px;
    background: #8B0000;
    color: white;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.file-details h4 {
    color: #333;
    margin-bottom: 0.25rem;
}

.file-details p {
    color: #666;
    font-size: 0.9rem;
}

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

.file-actions button {
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    font-size: 0.9rem;
}

.download-btn {
    background-color: #28a745;
    color: white;
}

.delete-btn {
    background-color: #dc3545;
    color: white;
}

/* Filter Select */
select {
    padding: 0.5rem;
    border: 2px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    background: white;
}

select:focus {
    outline: none;
    border-color: #8B0000;
}

/* Responsive Design */
@media (max-width: 768px) {
    .login-container {
        margin: 1rem;
        padding: 2rem;
    }
    
    .dashboard-grid {
        grid-template-columns: 1fr;
    }
    
    .scores-toolbar,
    .files-toolbar {
        flex-direction: column;
        align-items: stretch;
    }
    
    .practice-tools {
        grid-template-columns: 1fr;
    }
    
    .recorder-controls {
        flex-direction: column;
    }
    
    .file-item {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}
