:root {
    --primary: #6baca3;
    --primary-dark: #476468;
    --secondary: rgb(238, 89, 34);
    --secondary-dark: #f54f15;
    --accent: #6c757d;
    --light: #f8f9fa;
    --dark: #343a40;
    --success: #28a745;
    --warning: #ffc107;
    --danger: #dc3545;
    --gray: #6c757d;
    --light-gray: #e9ecef;
    --border-radius: 12px;
    --box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

body {
    background-color: var(--light);
    color: var(--dark);
    font-family: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
}

.booking-container {
    max-width: 1000px;
    margin: 50px auto;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    overflow: hidden;
}

.booking-header {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    padding: 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.booking-header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><polygon fill="rgba(255,255,255,0.05)" points="0,100 100,0 100,100"/></svg>');
    background-size: cover;
    z-index: 0;
}

.booking-header > * {
    position: relative;
    z-index: 1;
}

.booking-steps {
    display: flex;
    justify-content: space-between;
    padding: 2rem;
    background-color: var(--light);
    position: relative;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
    margin-right: 20px;
}

.step-number {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--light-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin-bottom: 10px;
    transition: var(--transition);
    color: var(--gray);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.step.active .step-number {
    background-color: var(--primary);
    color: white;
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(107, 172, 163, 0.3);
}

.step.completed .step-number {
    background-color: var(--success);
    color: white;
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
}

.step-title {
    font-size: 14px;
    text-align: center;
    color: var(--gray);
    transition: var(--transition);
    font-weight: 500;
}

.step.active .step-title {
    color: var(--primary);
    font-weight: 700;
}

.step.completed .step-title {
    color: var(--success);
    font-weight: 600;
}

.booking-content {
    padding: 2rem;
    min-height: 400px;
}

.booking-step {
    display: none;
    animation: fadeIn 0.5s ease;
}

.booking-step.active {
    display: block;
}

.booking-footer {
    padding: 1.5rem 2rem;
    border-top: 1px solid var(--light-gray);
    display: flex;
    justify-content: space-between;
    background-color: #fff;
}

.booking-footer .btn {
    border-radius: 30px;
    padding: 0.75rem 2rem;
    font-weight: 600;
    transition: var(--transition);
    border: none;
}

.booking-footer .btn-primary {
    background-color: var(--primary);
    color: white;
}

.booking-footer .btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(107, 172, 163, 0.3);
}

.booking-footer .btn-secondary {
    background-color: var(--secondary);
    color: white;
}

.booking-footer .btn-secondary:hover {
    background-color: var(--secondary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(238, 89, 34, 0.3);
}

.category-card,
.service-card,
.employee-card {
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
    margin-bottom: 20px;
    height: 100%;
    border-radius: var(--border-radius);
    overflow: hidden;
    background: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.category-card:hover,
.service-card:hover,
.employee-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border-color: var(--primary);
}

.category-card.selected,
.service-card.selected,
.employee-card.selected {
    border-color: var(--primary);
    background: linear-gradient(135deg, rgba(107, 172, 163, 0.1), rgba(107, 172, 163, 0.05));
    box-shadow: 0 8px 25px rgba(107, 172, 163, 0.2);
    transform: translateY(-5px);
}

.card-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary);
    transition: var(--transition);
}

.category-card:hover .card-icon,
.service-card:hover .card-icon,
.employee-card:hover .card-icon {
    color: var(--secondary);
    transform: scale(1.1);
}

.time-slot {
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid var(--light-gray);
    border-radius: var(--border-radius);
    padding: 1rem;
    margin: 0.5rem;
    text-align: center;
    background: white;
    font-weight: 500;
}

.time-slot:hover {
    background-color: rgba(107, 172, 163, 0.1);
    border-color: var(--primary);
    transform: translateY(-2px);
}

.time-slot.selected {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    border-color: var(--primary);
    box-shadow: 0 4px 15px rgba(107, 172, 163, 0.3);
}

.time-slot.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background-color: var(--light);
    color: var(--gray);
}

.calendar-day {
    cursor: pointer;
    transition: var(--transition);
    padding: 0.75rem;
    border-radius: 8px;
    font-weight: 500;
}

.calendar-day:hover:not(.disabled) {
    background-color: rgba(107, 172, 163, 0.1);
    transform: scale(1.05);
}

.calendar-day.selected {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    box-shadow: 0 4px 15px rgba(107, 172, 163, 0.3);
}

.calendar-day.today {
    background-color: var(--warning);
    color: var(--dark);
    font-weight: 700;
}

.calendar-day.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background-color: var(--light);
    color: var(--gray);
}

.summary-item {
    margin-bottom: 1.5rem;
    padding: 1.5rem;
    border-bottom: 1px solid var(--light-gray);
    border-radius: var(--border-radius);
    background: rgba(107, 172, 163, 0.05);
    transition: var(--transition);
}

.summary-item:hover {
    background: rgba(107, 172, 163, 0.1);
    transform: translateX(5px);
}

.summary-item:last-child {
    border-bottom: none;
}

.summary-item .label {
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.summary-item .value {
    color: var(--dark);
    font-size: 1.1rem;
}

/* Progress bar between steps */
.progress-bar-steps {
    position: absolute;
    top: 50%;
    left: 10%;
    right: 10%;
    height: 4px;
    background-color: var(--light-gray);
    transform: translateY(-50%);
    z-index: 1;
    border-radius: 2px;
}

.progress-bar-steps .progress {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    width: 0%;
    transition: width 0.8s ease;
    border-radius: 2px;
}

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

@keyframes slideIn {
    from {
        transform: translateX(50px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.animate-slide-in {
    animation: slideIn 0.5s ease forwards;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(107, 172, 163, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(107, 172, 163, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(107, 172, 163, 0);
    }
}

.step.active .step-number {
    animation: pulse 2s infinite;
}

/* Enhanced form styling */
.form-control {
    border-radius: var(--border-radius);
    border: 2px solid var(--light-gray);
    padding: 0.75rem 1rem;
    transition: var(--transition);
    font-size: 1rem;
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.2rem rgba(107, 172, 163, 0.25);
}

.form-label {
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

/* Typography improvements */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--dark);
}

.booking-header h1 {
    font-weight: 800;
    letter-spacing: -0.5px;
    margin-bottom: 0.5rem;
}

.booking-header p {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Responsive Design */
@media (max-width: 768px) {
    .booking-container {
        margin: 20px;
        border-radius: var(--border-radius);
    }
    
    .booking-content {
        padding: 1.5rem;
    }
    
    .booking-header {
        padding: 1.5rem;
    }
    
    .booking-steps {
        padding: 1.5rem 1rem;
        flex-wrap: wrap;
        gap: 1rem;
    }
    
    .step {
        margin-right: 0;
        flex: 1;
        min-width: 80px;
    }
    
    .step-number {
        width: 40px;
        height: 40px;
        font-size: 0.9rem;
    }
    
    .step-title {
        font-size: 12px;
    }
    
    .booking-footer {
        padding: 1rem 1.5rem;
        flex-direction: column;
        gap: 1rem;
    }
    
    .booking-footer .btn {
        width: 100%;
    }
    
    .progress-bar-steps {
        display: none; /* Hide on mobile for cleaner look */
    }
}

@media (min-width: 720px) {
    .booking-content {
        padding: 2.5rem;
        min-height: 450px;
    }
}