/* Reset a základní styly */
* {
    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: 1400px;
    margin: 0 auto;
    background: white;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    overflow: hidden;
}

.header {
    background: linear-gradient(135deg, #2c3e50, #34495e);
    color: white;
    padding: 30px;
    text-align: center;
}

.header h1 {
    font-size: clamp(1.8em, 5vw, 2.5em);
    margin-bottom: 10px;
}

#uploadArea {
    border: 2px dashed #ccc;
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
}

#uploadArea.drag-over {
    background: #e1f5fe;
    border-color: #3498db;
}

#progressBar {
    height: 5px;
    background: #3498db;
    transition: width 0.3s ease;
}

.swiper {
    width: 100%;
    padding: 10px 0;
}

.swiper-slide {
    text-align: center;
    font-size: 18px;
    cursor: pointer;
    transition: color 0.3s ease, font-weight 0.3s ease;
}

.swiper-slide.active {
    color: #3498db;
    font-weight: bold;
    background: rgba(52, 152, 219, 0.1);
    border-radius: 5px;
}

.timeline {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.year-slider, .month-slider {
    padding: 10px 0;
}

.year-slider .swiper-slide, .month-slider .swiper-slide {
    width: auto;
    padding: 0 15px;
}

#album-content .swiper-slide {
    height: auto;
}

.swiper-slide img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

form input[type="text"],
form input[type="email"],
form input[type="password"] {
    border: 1px solid #dee2e6;
    border-radius: 5px;
}

button:hover {
    opacity: 0.9;
    cursor: pointer;
}

@media (max-width: 768px) {
    .container {
        padding: 10px;
    }
    .swiper-slide {
        margin-bottom: 20px;
    }
    form {
        grid-template-columns: 1fr !important;
    }
    .timeline {
        flex-direction: column;
    }
}