/* Project ke apne styles (template ke upar) */

.flash-wrap { padding-top: 24px; }
.flash-wrap.flash-nobanner { padding-top: 20px; position: relative; z-index: 5; }
.alert { border-radius: 6px; font-size: 15px; }

.form-label-sm { font-weight: 600; margin-bottom: 6px; display: block; }
.form-hint { font-size: 13px; color: #777; margin-top: 4px; }
.form-block { padding-top: 22px; }
.map-content-9 h3 { font-size: 22px; margin-bottom: 8px; }

/* Services */
.service-card { background: #fff; border-radius: 8px; overflow: hidden; box-shadow: 0 2px 12px rgba(0,0,0,.06); margin-bottom: 30px; height: calc(100% - 30px); display: flex; flex-direction: column; }
.service-card img { width: 100%; height: 210px; object-fit: cover; }
.service-card .body { padding: 18px 20px; display: flex; flex-direction: column; flex: 1; }
.service-card h5 { font-size: 19px; margin-bottom: 8px; }
.service-card p { font-size: 14px; flex: 1; }
.service-meta { display: flex; justify-content: space-between; align-items: center; margin-top: 12px; }
.service-price { color: var(--rose); font-weight: 700; font-size: 18px; }
.service-duration { color: #888; font-size: 13px; }
.category-title { margin: 30px 0 20px; font-size: 26px; border-left: 4px solid var(--rose); padding-left: 12px; }

/* Booking: service chunna aur slot */
.service-pick { max-height: 380px; overflow-y: auto; border: 1px solid #e5e5e5; border-radius: 6px; padding: 6px 12px; background: #fff; }
.service-pick .cat { font-weight: 700; margin: 10px 0 4px; color: var(--rose); font-size: 14px; }
.service-pick label { display: flex; align-items: center; gap: 10px; padding: 6px 0; margin: 0; cursor: pointer; font-size: 15px; border-bottom: 1px dashed #eee; }
.service-pick label span.price { margin-left: auto; white-space: nowrap; color: #555; }
.service-pick input { width: 17px; height: 17px; }
.booking-total { margin-top: 10px; font-weight: 600; }
.slot-grid { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.slot-grid label { margin: 0; }
.slot-grid input { display: none; }
.slot-grid span { display: inline-block; padding: 8px 12px; border: 1px solid var(--rose); border-radius: 4px; cursor: pointer; font-size: 14px; color: var(--rose); background: #fff; }
.slot-grid input:checked + span { background: var(--rose); color: #fff; }
.slot-grid input:disabled + span { border-color: #ddd; color: #bbb; background: #f7f7f7; cursor: not-allowed; text-decoration: line-through; }
.slot-msg { color: #777; font-size: 14px; padding: 8px 0; }

/* Tables (account pages) */
.account-table { background: #fff; }
.account-table th { background: color-mix(in srgb, var(--rose) 7%, #fff); white-space: nowrap; }
.account-table td, .account-table th { vertical-align: middle; }
.page-actions { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0; }
.page-actions form { display: inline; }
.section-pad { padding: 50px 0; }

/* Reviews */
.stars { color: #f5a623; letter-spacing: 2px; }
.review-card { background: #fff; border-radius: 8px; padding: 22px; box-shadow: 0 2px 12px rgba(0,0,0,.06); height: 100%; }
.review-card p { font-style: italic; }
.review-card .who { margin-top: 12px; font-weight: 700; }
.rating-input { display: inline-flex; flex-direction: row-reverse; gap: 4px; }
.rating-input input { display: none; }
.rating-input label { font-size: 32px; color: #ccc; cursor: pointer; margin: 0; }
.rating-input input:checked ~ label, .rating-input label:hover, .rating-input label:hover ~ label { color: #f5a623; }

/* Gallery */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.gallery-grid figure { margin: 0; border-radius: 8px; overflow: hidden; background: #fff; box-shadow: 0 2px 10px rgba(0,0,0,.06); }
.gallery-grid img { width: 100%; height: 230px; object-fit: cover; display: block; transition: transform .3s; }
.gallery-grid figure:hover img { transform: scale(1.04); }
.gallery-grid figcaption { padding: 10px 12px; font-size: 14px; }

/* Invoice */
.invoice-box { background: #fff; padding: 30px; border-radius: 8px; box-shadow: 0 2px 12px rgba(0,0,0,.06); }
.invoice-head { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; border-bottom: 2px solid var(--rose); padding-bottom: 16px; margin-bottom: 20px; }
.invoice-head h4 { color: var(--rose); }
.invoice-totals td { text-align: right; }
.paid-stamp { display: inline-block; padding: 4px 12px; border: 2px solid; border-radius: 4px; font-weight: 700; }
.paid-stamp.paid { color: #1e8e3e; }
.paid-stamp.unpaid { color: #d93025; }

/* WhatsApp button */
.whatsapp-float { position: fixed; left: 20px; bottom: 20px; width: 52px; height: 52px; border-radius: 50%; background: #25d366; color: #fff; display: flex; align-items: center; justify-content: center; font-size: 28px; box-shadow: 0 3px 10px rgba(0,0,0,.25); z-index: 999; }
.whatsapp-float:hover { color: #fff; transform: scale(1.06); }

.copy-footer-29 a { color: inherit; text-decoration: underline; }
.copy-footer-29 .admin-link { opacity: .6; }
.map-embed iframe { width: 100%; height: 340px; border: 0; border-radius: 8px; }

@media print {
    .w3l-header-4, .w3l-inner-banner-main, .w3l-footer-29-main, #movetop, .whatsapp-float, .no-print, .flash-wrap { display: none !important; }
    body { background: #fff; }
    .invoice-box { box-shadow: none; padding: 0; }
    .contact-sec { padding: 0 !important; }
}
