
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #e6f4fb;
    color: #333;
}

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

#login-screen {
    background-color: #64b7e4;
    padding: 40px 20px;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
    max-width: 550px;
    margin: 40px auto 0;
    text-align: center;
}

#login-screen img {
    max-width: 100%;
    height: auto;
}

#login-screen h1 {
    margin-bottom: 30px;
    color: white;
    font-size: 1.8em;
}

#login-screen .form-group label {
    color: white;
}

.hidden {
    display: none !important;
}

#user-info {
    color: white;
    margin-bottom: 10px;
    font-size: 0.9em;
}

header {
    background-color: #64b7e4;
    color: white;
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    flex-wrap: wrap;
    gap: 10px;
}

.header-top h1 {
    font-size: 1.5em;
}

.header-logo {
    max-width: 200px;
    height: auto;
    flex-shrink: 0;
}

header h1 {
    margin: 0;
}

nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

nav button {
    background-color: white;
    color: #57A0D3;
    border: none;
    padding: 10px 16px;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s;
    flex: 1 1 auto;
    min-width: 120px;
}

nav button:hover,
nav button.active {
    background-color: #57A0D3;
    color: white;
}

.section {
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.section h2 {
    margin-bottom: 20px;
    color: #333;
}

.form-container {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
}

.form-group input[type="text"],
.form-group input[type="number"],
.form-group input[type="date"],
.form-group input[type="password"],
.form-group input[type="month"],
.form-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
}

.form-group input[type="checkbox"],
.form-group input[type="radio"] {
    margin-right: 8px;
    transform: scale(1.2);
}

.form-group div {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

button[type="submit"] {
    background-color: #64b7e4;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    width: 100%;
    max-width: 300px;
}

button[type="submit"]:hover {
    background-color: #4a9fcd;
}

.list-container h3 {
    margin-bottom: 15px;
}

.volunteer-card,
.schedule-item {
    background-color: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 10px;
    border-left: 4px solid #64b7e4;
}

.volunteer-card h4 {
    font-size: 1.1em;
    margin-bottom: 8px;
    color: #333;
}

.volunteer-card p {
    margin: 4px 0;
    font-size: 0.95em;
}

.volunteer-card button {
    background-color: #e74c3c;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 8px;
    cursor: pointer;
    margin-top: 10px;
    margin-right: 8px;
    font-size: 14px;
}

.volunteer-card button:first-of-type {
    background-color: #3498db;
}

.volunteer-card button:hover {
    opacity: 0.9;
}

#volunteers-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.instrument-tab {
    background-color: #95a5a6;
    color: white;
    border: none;
    padding: 10px 16px;
    margin-right: 8px;
    margin-bottom: 8px;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.instrument-tab:hover {
    background-color: #7f8c8d;
}

.instrument-tab.active {
    background-color: #57A0D3;
}

/* Modal Styles */
.modal {
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.modal-content {
    background-color: white;
    padding: 30px 20px;
    border-radius: 12px;
    width: 100%;
    max-width: 500px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.modal-content h2 {
    color: #333;
    margin-bottom: 20px;
}

.modal-buttons {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.modal-buttons button {
    flex: 1;
}

/* Table Styles */
table {
    width: 100%;
    border-collapse: collapse;
    overflow-x: auto;
    display: block;
}

th, td {
    border: 1px solid #ddd;
    padding: 12px 8px;
    text-align: left;
    white-space: nowrap;
}

th {
    background-color: #3498db;
    color: white;
    position: sticky;
    top: 0;
}

tr:nth-child(even) {
    background-color: #f8f9fa;
}

/* Responsive Design */
@media (max-width: 900px) {
    #volunteers-list {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .header-top h1 {
        font-size: 1.3em;
    }
    
    .header-logo {
        max-width: 150px;
    }
}

@media (max-width: 600px) {
    .container {
        padding: 15px;
    }
    
    #login-screen {
        padding: 30px 15px;
        margin: 20px auto 0;
    }
    
    #login-screen h1 {
        font-size: 1.5em;
    }
    
    header {
        padding: 12px 15px;
    }
    
    .header-top {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .header-logo {
        max-width: 120px;
    }
    
    nav button {
        min-width: 100px;
        padding: 8px 12px;
        font-size: 14px;
    }
    
    #volunteers-list {
        grid-template-columns: 1fr;
    }
    
    .section {
        padding: 15px;
    }
    
    .form-group input[type="text"],
    .form-group input[type="number"],
    .form-group input[type="date"],
    .form-group input[type="password"],
    .form-group input[type="month"],
    .form-group select {
        padding: 10px;
        font-size: 16px;
    }
    
    button[type="submit"] {
        width: 100%;
        max-width: 100%;
    }
    
    th, td {
        padding: 10px 6px;
        font-size: 14px;
    }
}
