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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
    min-height: 100vh;
    color: #333;
}

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

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

.logo-container {
    margin-bottom: 20px;
}

.logo {
    max-height: 80px;
    width: auto;
    filter: drop-shadow(2px 2px 4px rgba(0,0,0,0.5));
}

header h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    color: #FFD700;
    font-weight: bold;
}

header p {
    font-size: 1.2rem;
    opacity: 0.9;
    color: #FFD700;
}

.section {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    margin-bottom: 20px;
    border: 2px solid #FFD700;
}

.hidden {
    display: none;
}

/* Login Form */
.login-form {
    max-width: 400px;
    margin: 0 auto;
    text-align: center;
}

.login-form h2 {
    margin-bottom: 30px;
    color: #333;
}

.form-group {
    margin-bottom: 20px;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #555;
}

.form-group input {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

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

/* Buttons */
.btn {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    color: #000;
    border: 2px solid #FFD700;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.4);
    background: linear-gradient(135deg, #FFA500 0%, #FFD700 100%);
}

.btn-secondary {
    background: #f8f9fa;
    color: #333;
    border: 2px solid #FFD700;
}

.btn-secondary:hover {
    background: #FFD700;
    border-color: #000;
    color: #000;
}

/* Calendar */
.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.calendar-header h2 {
    font-size: 1.8rem;
    color: #333;
}

.calendar-grid {
    margin-bottom: 30px;
}

.weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 5px;
    margin-bottom: 10px;
}

.weekdays div {
    text-align: center;
    font-weight: 600;
    color: #FFD700;
    padding: 10px;
    font-size: 14px;
    background: #000;
    border-radius: 8px;
}

.days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 5px;
}

.day {
    aspect-ratio: 1;
    border: 2px solid #FFD700;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    background: white;
}

.day:hover {
    border-color: #000;
    background: #FFD700;
    transform: scale(1.05);
}

.day.other-month {
    opacity: 0.3;
    background: #f8f9fa;
    border-color: #e1e5e9;
}

.day-number {
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 5px;
}

.day-status {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin: 2px;
}

.day-status.available {
    background: #28a745;
}

.day-status.unavailable {
    background: #dc3545;
}

.day-status.maybe {
    background: #FFD700;
    border: 1px solid #000;
}

.day.selected {
    border-color: #000;
    background: #FFD700;
}

/* Legend */
.legend {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

.legend-color {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 2px solid #e1e5e9;
}

.legend-color.available {
    background: #28a745;
}

.legend-color.unavailable {
    background: #dc3545;
}

.legend-color.maybe {
    background: #FFD700;
    border: 1px solid #000;
}

/* Participants */
.participants {
    margin-bottom: 30px;
}

.participants h3 {
    margin-bottom: 15px;
    color: #333;
}

.participant {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    background: #f8f9fa;
    border-radius: 8px;
    margin-bottom: 8px;
    border: 1px solid #FFD700;
}

.participant-name {
    font-weight: 600;
    min-width: 120px;
}

.participant-status {
    display: flex;
    gap: 5px;
}

/* Share Section */
.share-section h3 {
    margin-bottom: 15px;
    color: #333;
}

.share-section p {
    margin-bottom: 15px;
    color: #666;
}

.share-link {
    display: flex;
    gap: 10px;
    align-items: center;
}

.share-link input {
    flex: 1;
    padding: 12px 15px;
    border: 2px solid #FFD700;
    border-radius: 8px;
    font-size: 14px;
    background: #f8f9fa;
}

/* Save Section */
.save-section {
    text-align: center;
    margin-bottom: 30px;
    padding: 20px;
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    border-radius: 10px;
    border: 2px solid #000;
}

.save-section .btn {
    font-size: 18px;
    padding: 15px 30px;
    margin-bottom: 10px;
}

.save-info {
    color: #000;
    font-size: 14px;
    margin: 0;
    font-weight: 500;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 10px;
    }
    
    .logo {
        max-height: 60px;
    }
    
    header h1 {
        font-size: 2rem;
    }
    
    .section {
        padding: 20px;
    }
    
    .calendar-header {
        flex-direction: column;
        gap: 15px;
    }
    
    .legend {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .share-link {
        flex-direction: column;
        gap: 10px;
    }
    
    .participant {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    
    .participant-status {
        flex-wrap: wrap;
    }
}

@media (max-width: 480px) {
    .logo {
        max-height: 50px;
    }
    
    .weekdays div {
        font-size: 12px;
        padding: 8px 5px;
    }
    
    .day-number {
        font-size: 14px;
    }
    
    .day-status {
        width: 6px;
        height: 6px;
    }
} 