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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    padding: 20px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 40px 20px;
    text-align: center;
}

header h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.tagline {
    font-size: 1.1rem;
    opacity: 0.95;
}

main {
    padding: 30px;
}

.section {
    margin-bottom: 50px;
}

.section h2 {
    color: #667eea;
    margin-bottom: 25px;
    font-size: 1.8rem;
    border-bottom: 3px solid #667eea;
    padding-bottom: 10px;
}

/* Card Grid */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.card {
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    padding: 20px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(102, 126, 234, 0.3);
    border-color: #667eea;
}

.card h3 {
    color: #333;
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.card p {
    color: #666;
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.card .specialties,
.card .category {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-top: 10px;
}

.tag {
    background: #f0f0f0;
    padding: 4px 10px;
    border-radius: 15px;
    font-size: 0.85rem;
    color: #667eea;
}

.rating {
    color: #f39c12;
    font-weight: bold;
}

.price {
    color: #27ae60;
    font-weight: bold;
    font-size: 1.2rem;
}

.duration {
    color: #666;
    font-size: 0.9rem;
}

/* Form Styles */
.booking-form {
    background: #f9f9f9;
    padding: 30px;
    border-radius: 10px;
    border: 2px solid #e0e0e0;
}

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

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

label {
    display: block;
    margin-bottom: 8px;
    color: #333;
    font-weight: 500;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="date"],
input[type="time"],
select,
textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #e0e0e0;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: #667eea;
}

textarea {
    resize: vertical;
    font-family: inherit;
}

/* Buttons */
.btn {
    padding: 12px 30px;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    width: 100%;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.btn-secondary {
    background: #34495e;
    color: white;
}

.btn-secondary:hover {
    background: #2c3e50;
}

.btn-danger {
    background: #e74c3c;
    color: white;
    padding: 8px 15px;
    font-size: 0.9rem;
}

.btn-danger:hover {
    background: #c0392b;
}

/* Result Messages */
.result-message {
    margin-top: 20px;
    padding: 15px;
    border-radius: 5px;
    font-weight: 500;
}

.result-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.result-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Search Container */
.search-container {
    display: flex;
    gap: 10px;
}

.search-container input {
    flex: 1;
}

/* Bookings Container */
.bookings-container {
    margin-top: 20px;
}

.booking-card {
    background: #f9f9f9;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 15px;
}

.booking-card h4 {
    color: #667eea;
    margin-bottom: 10px;
}

.booking-card p {
    margin-bottom: 5px;
    color: #666;
}

.booking-card .status {
    display: inline-block;
    padding: 5px 15px;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-top: 10px;
}

.booking-card .status.confirmed {
    background: #d4edda;
    color: #155724;
}

.booking-card .status.cancelled {
    background: #f8d7da;
    color: #721c24;
}

.booking-card .status.completed {
    background: #d1ecf1;
    color: #0c5460;
}

.booking-actions {
    margin-top: 15px;
    display: flex;
    gap: 10px;
}

/* Footer */
footer {
    background: #2c3e50;
    color: white;
    text-align: center;
    padding: 20px;
}

/* Responsive Design */
@media (max-width: 768px) {
    header h1 {
        font-size: 1.8rem;
    }

    .card-grid {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .search-container {
        flex-direction: column;
    }
}

/* Loading State */
.loading {
    text-align: center;
    padding: 20px;
    color: #666;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 40px;
    color: #999;
}

.empty-state p {
    font-size: 1.1rem;
}

/* Accordion Animation */
.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}

.accordion-content.active {
  max-height: 2000px;
  transition: max-height 0.5s ease-in;
}

.chevron {
  transition: transform 0.3s ease;
}

.chevron.rotate {
  transform: rotate(180deg);
}

/* Service item styling */
.service-item {
  padding: 1rem;
  border-bottom: 1px solid #e5e7eb;
  cursor: pointer;
  display: flex;
  align-items: center;
  transition: background-color 0.2s;
}

.service-item:hover {
  background-color: #f9fafb;
}

.service-item.selected {
  background-color: #eff6ff;
  border-left: 3px solid #3b82f6;
}

/* ============================================
   ACCORDION STYLES (for service selection)
   ============================================ */

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.accordion-content.active {
    max-height: 5000px;
    transition: max-height 0.5s ease-in;
}

.chevron {
    transition: transform 0.3s ease;
}

.chevron.rotate {
    transform: rotate(180deg);
}

/* Service Items */
.service-item {
    padding: 16px;
    margin: 8px 0;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    transition: all 0.2s ease;
    background: #fffbeb;
}

.service-item h4 {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
	color: #dc2626
}
.service-item:hover {
    background-color: #f9fafb;
    border-color: #d1d5db;
    transform: translateX(4px);
}

.service-item.selected {
    background-color: #eff6ff;
    border-color: #3b82f6;
    border-width: 2px;
}

/* Custom Checkbox */
.custom-checkbox {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: #667eea;
    flex-shrink: 0;
    margin-top: 4px;
}

/* Cart Sidebar (if you have one) */
#cart-items {
    max-height: 400px;
    overflow-y: auto;
}

/* Continue Button */
#continue-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Accordion Category Button */
.accordion-content button {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
}


.accordion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #ffffff;
    padding: 16px 20px;
    border-radius: 10px;
    border: 2px solid #e5e7eb;
    margin-bottom: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.accordion-header:hover {
    background: #f9fafb;
}

.accordion-header h3,
.accordion-header span {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
}

/* Chevron icon fix */
.accordion-header .chevron {
    width: 24px !important;
    height: 24px !important;
    flex-shrink: 0;
    stroke-width: 2.5;
    color: #667eea;
}
