* {
    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;
    padding: 20px;
}

.container {
    max-width: 900px;
    margin: 0 auto;
}

.header {
    text-align: center;
    color: white;
    margin-bottom: 40px;
}

.header h1 {
    font-size: 2.5em;
    margin-bottom: 10px;
}

.edit-toggle {
    text-align: center;
    margin-bottom: 20px;
}

.edit-toggle button {
    background: rgba(255,255,255,0.2);
    color: white;
    border: 2px solid white;
    padding: 10px 25px;
    border-radius: 25px;
    font-size: 1em;
    cursor: pointer;
    transition: all 0.3s ease;
}

.edit-toggle button:hover {
    background: white;
    color: #667eea;
}

.edit-toggle button.active {
    background: #4caf50;
    border-color: #4caf50;
}

.current-week {
    background: white;
    border-radius: 20px;
    padding: 60px 40px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    margin-bottom: 30px;
    animation: fadeIn 0.5s ease;
}

.current-week h2 {
    color: #667eea;
    font-size: 1.5em;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.person-name {
    font-size: 4em;
    font-weight: bold;
    color: #764ba2;
    margin: 20px 0;
}

.date-range {
    color: #666;
    font-size: 1.2em;
    margin-top: 15px;
}

.future-weeks {
    background: rgba(255,255,255,0.95);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
}

.future-weeks h3 {
    color: #667eea;
    margin-bottom: 20px;
    font-size: 1.5em;
}

.week-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    margin-bottom: 15px;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    border-radius: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.week-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.week-info {
    display: flex;
    gap: 20px;
    align-items: center;
}

.week-number {
    font-weight: bold;
    color: #667eea;
    font-size: 1.2em;
}

.week-dates {
    color: #666;
    font-size: 0.9em;
}

.week-person {
    font-size: 1.4em;
    font-weight: bold;
    color: #764ba2;
}

select {
    font-size: 1.2em;
    padding: 8px 15px;
    border-radius: 8px;
    border: 2px solid #667eea;
    background: white;
    color: #764ba2;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

select:hover {
    border-color: #764ba2;
    box-shadow: 0 2px 8px rgba(102,126,234,0.3);
}

.navigation {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

button {
    background: #667eea;
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 25px;
    font-size: 1em;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102,126,234,0.4);
}

button:hover {
    background: #764ba2;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(118,75,162,0.4);
}

.hidden {
    display: none;
}

.save-notice {
    text-align: center;
    color: white;
    margin-top: 10px;
    font-size: 0.9em;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.save-notice.show {
    opacity: 1;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 600px) {
    .person-name { font-size: 2.5em; }
    .current-week { padding: 40px 20px; }
    .week-item { flex-direction: column; gap: 10px; text-align: center; }
    .week-info { flex-direction: column; gap: 5px; }
}