.tmam-booking-widget {
    max-width: 560px;
    margin: 0 auto;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: #2d3748;
    line-height: 1.6;
}

body .tmam-card {
    background: #fff !important;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: box-shadow 0.2s;
}

.tmam-card-header {
    padding: 28px 32px 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    color: #fff;
    text-align: center;
}

body .tmam-card-header h2 {
    margin: 0 0 4px;
    font-size: 1.35rem;
    font-weight: 700;
    color: #fff !important;
}

body .tmam-card-header p {
    margin: 0;
    font-size: 0.9rem;
    opacity: 0.9;
    color: #fff !important;
}

.tmam-card-body {
    padding: 28px 32px 32px;
}

body .tmam-step h3 {
    margin: 0 0 20px;
    font-size: 1.1rem;
    font-weight: 600;
    color: #2d3748 !important;
}

.tmam-field {
    margin-bottom: 18px;
}

body .tmam-field label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    font-size: 0.9rem;
    color: #2d3748 !important;
}

body .tmam-field .required {
    color: #e53e3e !important;
}

body .tmam-field input[type="text"],
body .tmam-field input[type="email"],
body .tmam-field input[type="tel"],
body .tmam-field input[type="date"],
body .tmam-field textarea,
body .tmam-field select {
    width: 100%;
    padding: 10px 14px;
    border: 1.5px solid #e2e8f0 !important;
    border-radius: 10px;
    font-size: 0.95rem;
    color: #2d3748 !important;
    background: #fff !important;
    box-sizing: border-box;
    transition: border-color 0.2s, box-shadow 0.2s;
}

body .tmam-field input:focus,
body .tmam-field textarea:focus,
body .tmam-field select:focus {
    outline: none;
    border-color: #667eea !important;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.15) !important;
}

.tmam-field textarea {
    resize: vertical;
}

body .tmam-field select:disabled {
    background: #f7fafc !important;
    color: #a0aec0 !important;
    cursor: not-allowed;
}

.tmam-field-row {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-top: 8px;
}

.tmam-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border: none;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, transform 0.1s;
}

.tmam-btn:active {
    transform: scale(0.98);
}

body .tmam-btn-next {
    background: #667eea !important;
    color: #fff !important;
    width: 100%;
}

body .tmam-btn-next:hover {
    background: #5a6fd6 !important;
}

body .tmam-btn-prev {
    background: #e2e8f0 !important;
    color: #4a5568 !important;
}

body .tmam-btn-prev:hover {
    background: #cbd5e0 !important;
}

body .tmam-btn-primary {
    background: #48bb78 !important;
    color: #fff !important;
    flex: 1;
}

body .tmam-btn-primary:hover {
    background: #38a169 !important;
}

body #tmam-time-loading {
    font-size: 0.85rem;
    color: #718096 !important;
    margin-top: 6px;
}

body .tmam-success-icon {
    width: 56px;
    height: 56px;
    background: #48bb78 !important;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 1.6rem;
    color: #fff !important;
}

#tmam-booking-success {
    text-align: center;
}

body #tmam-booking-success h3 {
    color: #2d3748 !important;
    margin: 0 0 8px;
}

body .tmam-error {
    background: #fff5f5 !important;
    border: 1px solid #fed7d7 !important;
    color: #c53030 !important;
    padding: 12px 16px;
    border-radius: 10px;
    font-size: 0.9rem;
}

.tmam-calendar-links {
    margin: 16px 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}

body .tmam-calendar-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border: 1.5px solid #e2e8f0 !important;
    border-radius: 8px;
    text-decoration: none !important;
    font-size: 0.85rem;
    font-weight: 500;
    color: #4a5568 !important;
    transition: background 0.2s;
}

body .tmam-calendar-link:hover {
    background: #f7fafc;
}

body #tmam-book-another {
    background: #e2e8f0 !important;
    color: #4a5568 !important;
    margin-top: 12px;
}

body #tmam-book-another:hover {
    background: #cbd5e0 !important;
}

body #tmam-sessions-field input[type="number"] {
    width: 100px;
    padding: 10px 14px;
    border: 1.5px solid #e2e8f0 !important;
    border-radius: 10px;
    font-size: 0.95rem;
    color: #2d3748 !important;
    background: #fff !important;
    box-sizing: border-box;
}

body #tmam-sessions-field input[type="number"]:focus {
    outline: none;
    border-color: #667eea !important;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.15) !important;
}

@media (max-width: 600px) {
    .tmam-card-header {
        padding: 20px 20px 16px;
    }
    .tmam-card-body {
        padding: 20px;
    }
    .tmam-field-row {
        flex-direction: column;
    }
    .tmam-btn {
        width: 100%;
    }
    .tmam-calendar-links {
        flex-direction: column;
        align-items: stretch;
    }
    .tmam-calendar-link {
        justify-content: center;
    }
}

.tmam-services-widget {
    max-width: 1100px;
    margin: 0 auto;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.tmam-services-widget .tmam-card-header {
    padding: 28px 32px 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    color: #fff;
    text-align: center;
}

body .tmam-services-widget .tmam-card-header h2 {
    margin: 0 0 4px;
    font-size: 1.35rem;
    font-weight: 700;
    color: #fff !important;
}

body .tmam-services-widget .tmam-card-header p {
    margin: 0;
    font-size: 0.9rem;
    opacity: 0.9;
    color: #fff !important;
}

.tmam-services-wrapper {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

body .tmam-services-category {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2d3748 !important;
    margin: 32px 0 18px;
    padding-bottom: 10px;
    border-bottom: 3px solid #667eea !important;
    display: inline-block;
    text-transform: capitalize;
}

.tmam-services-category:first-of-type {
    margin-top: 0;
}

.tmam-services-grid {
    display: grid;
    gap: 18px;
    margin-bottom: 28px;
}

.tmam-cols-2 { grid-template-columns: repeat(2, 1fr); }
.tmam-cols-3 { grid-template-columns: repeat(3, 1fr); }
.tmam-cols-4 { grid-template-columns: repeat(4, 1fr); }
.tmam-cols-5 { grid-template-columns: repeat(5, 1fr); }
.tmam-cols-6 { grid-template-columns: repeat(6, 1fr); }

body .tmam-service-card {
    background: #fff !important;
    border-radius: 12px;
    box-shadow: 0 3px 14px rgba(0, 0, 0, 0.06);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.2s, transform 0.2s, border-color 0.2s;
    border: 1.5px solid #edf2f7 !important;
}

.tmam-service-card:hover {
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.1);
    transform: translateY(-3px);
    border-color: #c3d4fe;
}

.tmam-service-thumb-wrap {
    width: 100%;
    height: 180px;
    overflow: hidden;
}

.tmam-service-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.tmam-service-card:hover .tmam-service-thumb {
    transform: scale(1.06);
}

.tmam-service-card-body {
    padding: 12px 16px 10px;
    flex: 1;
}

body .tmam-service-name {
    margin: 0 0 6px;
    font-size: 1.05rem;
    font-weight: 700;
    color: #1a202c !important;
}

body .tmam-service-desc {
    margin: 0 0 12px;
    font-size: 0.82rem;
    color: #718096 !important;
    line-height: 1.5;
}

.tmam-service-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    gap: 6px;
    flex-wrap: wrap;
}

body .tmam-service-duration {
    color: #718096 !important;
    font-weight: 500;
    background: #f7fafc !important;
    padding: 3px 8px;
    border-radius: 20px;
    font-size: 0.75rem;
    white-space: nowrap;
}

body .tmam-service-price {
    font-weight: 700;
    font-size: 1rem;
    color: #48bb78 !important;
}

body .tmam-per-session-label {
    font-size: 0.7rem;
    font-weight: 500;
    color: #718096 !important;
    margin-left: 2px;
}

body .tmam-price-free {
    color: #667eea !important;
    font-weight: 600;
    font-size: 0.8rem;
    background: #ebf4ff !important;
    padding: 3px 10px;
    border-radius: 20px;
}

.tmam-service-card-footer {
    padding: 4px 16px 14px;
}

body .tmam-service-card-footer .tmam-btn {
    width: 100%;
    text-decoration: none !important;
    box-sizing: border-box;
    text-align: center;
    padding: 10px 16px;
    font-size: 0.85rem;
}

@media (max-width: 992px) {
    .tmam-cols-4 { grid-template-columns: repeat(3, 1fr); }
    .tmam-cols-5 { grid-template-columns: repeat(3, 1fr); }
    .tmam-cols-6 { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
    .tmam-cols-3 { grid-template-columns: repeat(2, 1fr); }
    .tmam-cols-4 { grid-template-columns: repeat(2, 1fr); }
    .tmam-cols-5 { grid-template-columns: repeat(2, 1fr); }
    .tmam-cols-6 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
    .tmam-cols-2,
    .tmam-cols-3,
    .tmam-cols-4,
    .tmam-cols-5,
    .tmam-cols-6 {
        grid-template-columns: 1fr;
    }
}

body .tmam-filter-bar {
    background: #f8faff !important;
    border: 1.5px solid #eef2f9 !important;
    border-radius: 12px;
    padding: 16px 18px;
    margin-bottom: 22px;
}

.tmam-filter-row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
}

body .tmam-filter-row select,
body .tmam-filter-row input[type="text"] {
    padding: 9px 14px;
    border: 1.5px solid #e2e8f0 !important;
    border-radius: 10px;
    font-size: 0.9rem;
    color: #2d3748 !important;
    background: #fff !important;
    box-sizing: border-box;
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none;
}

body .tmam-filter-row select:focus,
body .tmam-filter-row input[type="text"]:focus {
    border-color: #667eea !important;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.15) !important;
}

.tmam-filter-category,
.tmam-filter-sort {
    flex: 1 1 180px;
    min-width: 140px;
}

.tmam-filter-search {
    flex: 2 1 220px;
    min-width: 160px;
}

.tmam-booking-message {
    max-width: 560px;
    margin: 24px auto;
    padding: 20px 24px;
    border-radius: 12px;
    font-size: 0.95rem;
}

body .tmam-booking-message.success {
    background: #f0fff4 !important;
    border: 1px solid #c6f6d5 !important;
    color: #276749 !important;
}

body .tmam-booking-message.error {
    background: #fff5f5 !important;
    border: 1px solid #fed7d7 !important;
    color: #c53030 !important;
}
