* {
    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;
    color: #333;
}

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

.header {
    text-align: center;
    color: white;
    margin-bottom: 40px;
    animation: slideDown 0.8s ease-out;
}

.header h1 {
    font-size: 2.8em;
    margin-bottom: 10px;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.3);
    font-weight: 700;
}

.header p {
    font-size: 1.1em;
    opacity: 0.95;
    letter-spacing: 1px;
}

.wizard-container {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    animation: fadeInUp 0.8s ease-out;
    min-height: 500px;
    position: relative;
}

.step {
    display: none;
    animation: fadeIn 0.6s ease-out;
}

.step.active {
    display: block;
}

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

.step-header h2 {
    color: #667eea;
    font-size: 2em;
    margin-bottom: 10px;
}

.step-header p {
    color: #666;
    font-size: 1.1em;
    margin-bottom: 15px;
}

.info-box {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 15px 25px;
    border-radius: 10px;
    display: inline-block;
    font-weight: 600;
    font-size: 1.1em;
    margin-top: 10px;
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

.button-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 12px;
    margin: 30px 0;
}

.btn-sinf, .btn-smena {
    padding: 15px 20px;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    background: #f8f8f8;
    color: #333;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.95em;
    position: relative;
    overflow: hidden;
}

.btn-sinf:hover, .btn-smena:hover {
    border-color: #667eea;
    background: #f0f0ff;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.2);
}

.btn-sinf.active, .btn-smena.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-color: #764ba2;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
    transform: scale(1.05);
}

.btn-smena {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 20px 15px;
}

.btn-smena .emoji {
    font-size: 2em;
}

.btn-smena span:last-child {
    font-size: 0.85em;
}

/* Darslar Section */
.darslar-container {
    display: grid;
    gap: 20px;
    margin: 30px 0;
    max-height: 600px;
    overflow-y: auto;
    padding-right: 10px;
}

.darslar-container::-webkit-scrollbar {
    width: 6px;
}

.darslar-container::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.darslar-container::-webkit-scrollbar-thumb {
    background: #667eea;
    border-radius: 10px;
}

.dars-item {
    background: linear-gradient(135deg, #f8f9fa 0%, #f0f0ff 100%);
    border: 2px solid #e0e0e0;
    border-radius: 15px;
    padding: 20px;
    animation: slideInLeft 0.5s ease-out;
    transition: all 0.3s ease;
}

.dars-item:hover {
    border-color: #667eea;
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.15);
    transform: translateX(5px);
}

.dars-number {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.badge {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 6px 14px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.9em;
}

.time-info {
    color: #667eea;
    font-weight: 600;
    font-size: 0.95em;
    background: white;
    padding: 5px 12px;
    border-radius: 8px;
}

.fan-selector {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
    gap: 8px;
}

.btn-fan {
    padding: 10px 12px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    background: white;
    color: #333;
    font-weight: 500;
    font-size: 0.85em;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-fan:hover {
    border-color: #667eea;
    background: #f0f0ff;
    transform: translateY(-2px);
}

.btn-fan.active {
    background: #667eea;
    color: white;
    border-color: #667eea;
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

/* Buttons */
.btn-prev, .btn-next {
    padding: 14px 30px;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1em;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 30px;
    margin-right: 10px;
}

.btn-prev {
    background: #f0f0f0;
    color: #333;
}

.btn-prev:hover {
    background: #e0e0e0;
    transform: translateX(-3px);
}

.btn-next {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 14px 50px;
}

.btn-next:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.4);
}

.btn-next:active {
    transform: translateY(0);
}

/* Progress Bar */
.progress-bar {
    width: 100%;
    height: 6px;
    background: rgba(255,255,255,0.3);
    border-radius: 10px;
    margin-top: 30px;
    overflow: hidden;
}

.progress {
    height: 100%;
    background: linear-gradient(90deg, #00ff88 0%, #00ffff 100%);
    width: 33%;
    transition: width 0.5s ease;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0,255,200,0.6);
}

/* Notifications */
.notification {
    position: fixed;
    bottom: -100px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 18px 30px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1.1em;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    transition: bottom 0.5s ease;
    z-index: 1000;
}

.notification.show {
    bottom: 30px;
}

/* Animations */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .wizard-container {
        padding: 25px;
    }

    .header h1 {
        font-size: 2em;
    }

    .button-grid {
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    }

    .fan-selector {
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    }

    .btn-prev, .btn-next {
        width: 100%;
        margin-bottom: 10px;
    }
}
