* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    padding: 20px;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    border-radius: 24px;
    padding: 30px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.back-home {
    display: inline-block;
    color: #667eea;
    text-decoration: none;
    margin-bottom: 20px;
    font-weight: 500;
}

.back-home:hover {
    text-decoration: underline;
}

h1 {
    text-align: center;
    color: #333;
    margin-bottom: 30px;
    font-size: 28px;
}

h2 {
    color: #555;
    margin-bottom: 20px;
    font-size: 20px;
}

.step {
    display: none;
}

.step.active {
    display: block;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-bottom: 30px;
}

.service-card {
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    padding: 20px;
    cursor: pointer;
    transition: all 0.3s;
    text-align: center;
}

.service-card:hover {
    border-color: #667eea;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.service-card.selected {
    border-color: #667eea;
    background: linear-gradient(135deg, #f5f3ff 0%, #ede9fe 100%);
}

.service-card h3 {
    font-size: 18px;
    margin-bottom: 8px;
    color: #333;
}

.service-card p {
    color: #666;
    font-size: 14px;
    margin: 5px 0;
}

.service-card .price {
    color: #667eea;
    font-weight: bold;
    font-size: 18px;
    margin-top: 10px;
}

.date-input {
    width: 100%;
    padding: 14px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 16px;
    margin-bottom: 20px;
    font-family: inherit;
}

.time-slots {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 10px;
    margin-bottom: 30px;
}

.time-slot {
    padding: 12px;
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s;
    text-align: center;
}

.time-slot:hover:not(.disabled) {
    border-color: #667eea;
    background: #f5f3ff;
}

.time-slot.selected {
    background: #667eea;
    color: white;
    border-color: #667eea;
}

.time-slot.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: #f5f5f5;
}

input[type="text"],
input[type="email"],
input[type="tel"] {
    width: 100%;
    padding: 14px;
    margin: 10px 0;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 16px;
    font-family: inherit;
    transition: border-color 0.3s;
}

input:focus {
    outline: none;
    border-color: #667eea;
}

.buttons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

button {
    padding: 12px 24px;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    font-family: inherit;
}

.next-btn, .confirm-btn {
    background: #667eea;
    color: white;
    flex: 1;
}

.next-btn:hover:not(:disabled), .confirm-btn:hover {
    background: #5a67d8;
    transform: translateY(-2px);
}

.next-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
}

.back-btn {
    background: #f0f0f0;
    color: #666;
}

.back-btn:hover {
    background: #e0e0e0;
}

.confirm-btn {
    background: #10b981;
}

.confirm-btn:hover {
    background: #059669;
}

.success {
    background: #d1fae5;
    color: #065f46;
    padding: 16px;
    border-radius: 12px;
    margin-top: 20px;
    text-align: center;
    border-left: 4px solid #10b981;
}

.error {
    background: #fee2e2;
    color: #991b1b;
    padding: 16px;
    border-radius: 12px;
    margin-top: 20px;
    text-align: center;
    border-left: 4px solid #ef4444;
}

@media (max-width: 600px) {
    .container {
        padding: 20px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .buttons {
        flex-direction: column;
    }
    
    button {
        width: 100%;
    }
}