/* =============================================
   HouseOffBarber v2 — Salon Detail Page
   Clean, modern design with soft shadows
   ============================================= */

/* ---------- CSS Variables (v2 design tokens) ---------- */
:root {
    --primary: #0066FF;
    --primary-dark: #0050cc;
    --primary-light: #3d8bff;
    --primary-lighter: #e6f0ff;
    --accent: #c94432;
    --accent-light: #f8e8e6;
    --warm: #e6b44c;
    --warm-light: #fef3d0;
    --white: #ffffff;
    --off-white: #f8f9fb;
    --gray-50: #f0f2f5;
    --gray-100: #e4e7ec;
    --gray-200: #c9ced6;
    --gray-300: #98a2b3;
    --gray-400: #667085;
    --gray-500: #475467;
    --gray-600: #344054;
    --gray-700: #1d2939;
    --black: #0f1419;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-display: 'Secular One', 'Inter', sans-serif;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.08);
    --shadow-lg: 0 12px 40px rgba(0,0,0,0.1);
    --shadow-xl: 0 20px 60px rgba(0,0,0,0.12);
    --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body { font-family: var(--font-body); color: var(--gray-700); background: var(--white); line-height: 1.6; overflow-x: hidden; }

/* ---------- Dynamic Animated Background ---------- */
.dynamic-bg {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.dynamic-bg .blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.25;
    animation: blobMove 20s ease-in-out infinite alternate;
}

.dynamic-bg .blob-1 {
    width: 500px; height: 500px;
    background: var(--primary);
    top: -10%; right: -5%;
    animation-duration: 22s;
}

.dynamic-bg .blob-2 {
    width: 400px; height: 400px;
    background: var(--primary-light);
    bottom: 10%; left: -8%;
    animation-duration: 26s;
    animation-delay: -5s;
}

.dynamic-bg .blob-3 {
    width: 350px; height: 350px;
    background: var(--warm);
    top: 40%; right: 20%;
    opacity: 0.15;
    animation-duration: 30s;
    animation-delay: -10s;
}

@keyframes blobMove {
    0%   { transform: translate(0, 0) scale(1); }
    33%  { transform: translate(30px, -20px) scale(1.05); }
    66%  { transform: translate(-20px, 30px) scale(0.95); }
    100% { transform: translate(15px, 10px) scale(1.02); }
}

/* ---------- Page Container ---------- */
.salon-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 1;
}

/* ---------- Header with Banner ---------- */
.salon-header {
    position: relative;
    height: 220px;
    background: linear-gradient(135deg, #0f1419 0%, #1d2939 40%, var(--primary) 100%);
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-start;
    padding: 1rem;
    z-index: 10;
    border-radius: 0 0 var(--radius-xl) var(--radius-xl);
}

.salon-header.has-banner {
    background-size: cover;
    background-position: center;
}

.salon-header .header-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.1) 50%, rgba(0,0,0,0.3) 100%);
    border-radius: 0 0 var(--radius-xl) var(--radius-xl);
}

.back-link {
    position: relative;
    z-index: 10;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: var(--radius-full);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all var(--transition);
    margin-top: 60px;
}

.back-link:hover {
    background: rgba(255, 255, 255, 0.25);
}

/* ---------- Loading State ---------- */
.salon-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
    gap: 1rem;
    color: var(--gray-400);
}

.loader {
    width: 48px;
    height: 48px;
    border: 4px solid var(--gray-100);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ---------- Error State ---------- */
.salon-error {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 4rem 2rem;
    color: var(--gray-400);
}

.salon-error .error-icon {
    color: var(--accent);
    margin-bottom: 1rem;
}

.salon-error h2 {
    font-family: var(--font-display);
    color: var(--black);
    margin-bottom: 0.5rem;
}

.salon-error p {
    margin-bottom: 1.5rem;
    max-width: 400px;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.85rem 1.5rem;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
    border: none;
}

.btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
    background: var(--primary-dark);
    box-shadow: var(--shadow-md);
    transform: translateY(-1px);
}

/* ---------- Main Content ---------- */
.salon-content {
    flex: 1;
    max-width: 640px;
    width: 100%;
    margin: 0 auto;
    padding: 0 1rem 2rem;
    margin-top: -60px;
    position: relative;
    z-index: 10;
}

/* ---------- Salon Info Card ---------- */
.salon-info-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: var(--white);
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-100);
    box-shadow: var(--shadow-md);
    margin-bottom: 1rem;
}

.salon-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-lighter), var(--primary-light));
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
    box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.15);
}

.salon-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.salon-avatar svg {
    color: var(--primary);
}

.salon-info {
    flex: 1;
    min-width: 0;
}

.salon-info h1 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--black);
    margin-bottom: 0.25rem;
}

.salon-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.salon-rating .stars {
    display: flex;
    gap: 2px;
    color: var(--warm);
    font-size: 1rem;
}

.salon-rating .star {
    color: var(--warm);
}

.salon-rating .star.empty {
    color: var(--gray-200);
}

.salon-rating .review-count {
    font-size: 0.85rem;
    color: var(--gray-400);
}

.salon-description {
    font-size: 0.9rem;
    color: var(--gray-500);
    line-height: 1.5;
    margin: 0;
}

/* ---------- Salon Details Card ---------- */
.salon-details-card {
    background: var(--white);
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-100);
    box-shadow: var(--shadow-md);
    margin-bottom: 1rem;
}

.salon-details-card h2 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    color: var(--black);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.salon-details-card h2 svg {
    color: var(--primary);
}

.salon-details-info {
    margin-bottom: 1rem;
}

.salon-address {
    font-size: 0.95rem;
    color: var(--gray-500);
    line-height: 1.5;
    margin-bottom: 0.5rem;
}

.salon-contact {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin: 0;
}

.salon-contact a {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--primary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color var(--transition);
}

.salon-contact a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

/* ---------- Map ---------- */
.salon-map {
    width: 100%;
    height: 180px;
    border-radius: var(--radius-md);
    border: 1px solid var(--gray-100);
    overflow: hidden;
    background: var(--gray-50);
}

/* ---------- Salon Sections ---------- */
.salon-section {
    background: var(--white);
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-100);
    box-shadow: var(--shadow-md);
    margin-bottom: 1rem;
}

.salon-section h2 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    color: var(--black);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.salon-section h2 svg {
    color: var(--primary);
}

.salon-section .section-subtitle {
    font-size: 0.9rem;
    color: var(--gray-400);
    margin-bottom: 1rem;
}

/* ---------- Services List ---------- */
.services-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.service-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 0.85rem;
    background: var(--primary-lighter);
    border: 1px solid rgba(0, 102, 255, 0.1);
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    color: var(--gray-700);
    font-weight: 500;
}

.service-tag .service-price {
    color: var(--primary);
    font-weight: 700;
}

/* ---------- Working Hours ---------- */
.hours-list {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.hours-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    font-size: 0.9rem;
    color: var(--gray-500);
    border-bottom: 1px solid var(--gray-50);
}

.hours-row:last-child {
    border-bottom: none;
}

.hours-row.today {
    color: var(--black);
    font-weight: 700;
}

.hours-row .day-name {
    font-weight: 600;
}

.hours-row .closed-text {
    color: var(--accent);
    font-weight: 600;
}

.hours-row .open-text {
    color: #22c55e;
    font-weight: 600;
    font-size: 0.75rem;
    margin-left: 0.5rem;
}

/* ---------- Barbers List ---------- */
.barbers-section {
    border-color: var(--gray-100);
}

.barbers-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.barber-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--white);
    border: 1px solid var(--gray-100);
    border-radius: var(--radius-md);
    transition: all var(--transition);
    cursor: default;
}

.barber-item:hover {
    border-color: var(--primary-light);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.barber-avatar {
    width: 56px;
    height: 56px;
    min-width: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-lighter), var(--primary-light));
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary);
    overflow: hidden;
    box-shadow: 0 0 0 2px rgba(0, 102, 255, 0.15);
}

.barber-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.barber-details {
    flex: 1;
    min-width: 0;
}

.barber-name {
    font-family: var(--font-display);
    font-size: 1rem;
    color: var(--black);
    margin-bottom: 0.2rem;
}

.barber-rating {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.85rem;
}

.barber-stars {
    color: var(--warm);
}

.barber-review-count {
    color: var(--gray-400);
    font-size: 0.8rem;
}

.barber-book-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.6rem 1.25rem;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    white-space: nowrap;
    transition: all var(--transition);
    box-shadow: var(--shadow-sm);
}

.barber-book-btn:hover {
    background: var(--primary-dark);
    box-shadow: var(--shadow-md);
    transform: translateY(-1px);
}

.no-barbers-message {
    text-align: center;
    padding: 2rem 1rem;
    color: var(--gray-400);
    font-size: 0.95rem;
}

.no-barbers-message .empty-icon {
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

/* ---------- Footer ---------- */
.salon-footer {
    text-align: center;
    padding: 1.5rem;
    color: var(--gray-300);
    font-size: 0.85rem;
}

.salon-footer a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}

.salon-footer a:hover {
    text-decoration: underline;
}

/* ---------- Reviews Section ---------- */
.reviews-summary {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    padding: 1.25rem;
    background: var(--off-white);
    border-radius: var(--radius-md);
    margin-bottom: 1rem;
}

.reviews-summary-left {
    text-align: center;
    min-width: 90px;
}

.reviews-avg-rating {
    font-family: var(--font-display);
    font-size: 2.5rem;
    color: var(--black);
    line-height: 1;
    margin-bottom: 0.25rem;
}

.reviews-avg-stars {
    color: var(--warm);
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.reviews-total-count {
    font-size: 0.8rem;
    color: var(--gray-400);
}

.reviews-summary-right {
    flex: 1;
}

.reviews-bar-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.reviews-bar-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: var(--gray-500);
}

.reviews-bar-row .bar-label {
    min-width: 24px;
    text-align: right;
    font-weight: 600;
}

.reviews-bar-row .bar-track {
    flex: 1;
    height: 8px;
    background: var(--gray-100);
    border-radius: var(--radius-full);
    overflow: hidden;
}

.reviews-bar-row .bar-fill {
    height: 100%;
    background: var(--warm);
    border-radius: var(--radius-full);
    transition: width 0.4s ease;
}

.reviews-bar-row .bar-count {
    min-width: 20px;
    text-align: left;
    color: var(--gray-400);
    font-size: 0.75rem;
}

/* -- Filter Chips -- */
.reviews-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 1rem;
}

.review-filter-chip {
    padding: 0.4rem 0.85rem;
    border: 1px solid var(--gray-100);
    border-radius: var(--radius-full);
    background: var(--white);
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--gray-500);
    cursor: pointer;
    transition: all var(--transition);
    font-family: var(--font-body);
}

.review-filter-chip:hover {
    border-color: var(--primary-light);
    color: var(--primary);
}

.review-filter-chip.active {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

/* -- Review Cards -- */
.reviews-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.review-card {
    padding: 1rem;
    border: 1px solid var(--gray-100);
    border-radius: var(--radius-md);
    background: var(--white);
    transition: box-shadow var(--transition);
}

.review-card:hover {
    box-shadow: var(--shadow-sm);
}

.review-card-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}

.review-avatar {
    width: 40px;
    height: 40px;
    min-width: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-lighter), var(--primary-light));
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary);
    overflow: hidden;
}

.review-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.review-meta {
    flex: 1;
    min-width: 0;
}

.review-author {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--black);
}

.review-date {
    font-size: 0.78rem;
    color: var(--gray-400);
}

.review-card-stars {
    color: var(--warm);
    font-size: 0.9rem;
    margin-bottom: 0.35rem;
}

.review-card-text {
    font-size: 0.9rem;
    color: var(--gray-600);
    line-height: 1.55;
}

.reviews-loading {
    display: flex;
    justify-content: center;
    padding: 1.5rem;
}

.reviews-view-all-btn {
    display: block;
    width: 100%;
    margin-top: 0.75rem;
    padding: 0.75rem;
    border: 1px solid var(--gray-100);
    border-radius: var(--radius-md);
    background: var(--off-white);
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all var(--transition);
    font-family: var(--font-body);
}

.reviews-view-all-btn:hover {
    background: var(--primary-lighter);
    border-color: var(--primary-light);
}

.reviews-empty {
    text-align: center;
    padding: 2rem 1rem;
    color: var(--gray-400);
    font-size: 0.9rem;
}

/* ---------- Review Modal ---------- */
.review-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    animation: fadeIn 0.2s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.review-modal {
    background: var(--white);
    border-radius: var(--radius-lg);
    max-width: 480px;
    width: 100%;
    padding: 2rem;
    position: relative;
    box-shadow: var(--shadow-xl);
    animation: slideUp 0.3s ease;
    max-height: 90vh;
    overflow-y: auto;
}

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

.review-modal h2 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    color: var(--black);
    margin-bottom: 0.5rem;
}

.review-modal-meta {
    font-size: 0.85rem;
    color: var(--gray-400);
    margin-bottom: 1.5rem;
}

.review-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--gray-400);
    cursor: pointer;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition);
}

.review-modal-close:hover {
    background: var(--gray-50);
    color: var(--black);
}

/* -- Star Picker -- */
.review-star-picker {
    margin-bottom: 1.25rem;
}

.review-star-picker label {
    display: block;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--gray-700);
    margin-bottom: 0.5rem;
}

.star-picker-stars {
    display: flex;
    gap: 0.35rem;
}

.picker-star {
    font-size: 2rem;
    color: var(--gray-200);
    cursor: pointer;
    transition: color 0.15s ease, transform 0.15s ease;
    user-select: none;
    -webkit-user-select: none;
}

.picker-star:hover {
    transform: scale(1.15);
}

.picker-star.active {
    color: var(--warm);
}

.picker-star.hover {
    color: var(--warm);
    opacity: 0.7;
}

.star-picker-label {
    font-size: 0.82rem;
    color: var(--gray-400);
    margin-top: 0.35rem;
    min-height: 1.2em;
}

/* -- Comment Field -- */
.review-comment-field {
    margin-bottom: 1.25rem;
}

.review-comment-field label {
    display: block;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--gray-700);
    margin-bottom: 0.5rem;
}

.review-comment-field textarea {
    width: 100%;
    padding: 0.85rem;
    border: 1px solid var(--gray-100);
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--gray-700);
    resize: vertical;
    outline: none;
    transition: border-color var(--transition);
    min-height: 100px;
}

.review-comment-field textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.1);
}

.review-char-count {
    text-align: right;
    font-size: 0.78rem;
    color: var(--gray-400);
    margin-top: 0.35rem;
}

.review-char-count.near-limit {
    color: var(--accent);
}

/* -- Submit Button -- */
.review-submit-btn {
    width: 100%;
}

.review-submit-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none !important;
}

.review-submit-btn .submit-loader .loader {
    border-top-color: white;
    border-color: rgba(255,255,255,0.3);
    border-top-color: white;
}

/* -- Auth Step in Review Modal -- */
.review-auth-prompt {
    font-size: 0.95rem;
    color: var(--gray-500);
    margin-bottom: 1.25rem;
    text-align: center;
}

.review-auth-error {
    background: var(--accent-light);
    color: var(--accent);
    padding: 0.75rem 1rem;
    border-radius: var(--radius-md);
    font-size: 0.85rem;
    margin-bottom: 1rem;
    text-align: center;
}

.review-social-btn-wrapper {
    position: relative;
    margin-bottom: 0.75rem;
}

.review-social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    width: 100%;
    padding: 0.85rem 1rem;
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition);
    border: 1px solid var(--gray-100);
}

.review-google-btn {
    background: var(--white);
    color: var(--gray-700);
}

.review-google-btn:hover {
    background: var(--off-white);
    border-color: var(--gray-200);
}

.review-google-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.01;
    z-index: 2;
    overflow: hidden;
}

.review-apple-btn {
    background: var(--black);
    color: var(--white);
    border-color: var(--black);
    margin-bottom: 0;
}

.review-apple-btn:hover {
    background: var(--gray-700);
}

.review-logged-in-as {
    font-size: 0.85rem;
    color: var(--gray-400);
    margin-bottom: 1rem;
    padding: 0.5rem 0.75rem;
    background: var(--off-white);
    border-radius: var(--radius-sm);
}

.review-logged-in-as strong {
    color: var(--gray-700);
}

/* -- Social Divider -- */
.review-social-divider {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 0.75rem 0 1rem 0;
    color: var(--gray-300);
    font-size: 0.85rem;
}

.review-social-divider::before,
.review-social-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--gray-100);
}

.review-social-divider span {
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 500;
}

/* -- Auth Tabs -- */
.review-auth-tabs {
    display: flex;
    gap: 0;
    margin-bottom: 1.25rem;
    background: var(--gray-50);
    border-radius: var(--radius-sm);
    padding: 4px;
}

.review-auth-tab {
    flex: 1;
    padding: 0.7rem;
    border: none;
    background: transparent;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    border-radius: 6px;
    transition: all var(--transition);
    color: var(--gray-400);
    font-family: var(--font-body);
}

.review-auth-tab.active {
    background: var(--white);
    color: var(--primary);
    box-shadow: var(--shadow-sm);
}

/* -- Auth Forms -- */
.review-auth-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.review-form-group {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.review-form-group label {
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--gray-600);
}

.review-form-group input {
    padding: 0.85rem 1rem;
    border: 1.5px solid var(--gray-200);
    border-radius: var(--radius-sm);
    font-size: 1rem;
    font-family: var(--font-body);
    transition: all var(--transition);
    color: var(--black);
    background: var(--white);
}

.review-form-group input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.12);
}

.review-form-group input::placeholder {
    color: var(--gray-300);
}

/* -- OTP Section -- */
.review-otp-section {
    text-align: center;
}

.review-otp-section h3 {
    font-family: var(--font-display);
    font-size: 1.15rem;
    color: var(--black);
    margin-bottom: 0.5rem;
}

.review-otp-section p {
    font-size: 0.9rem;
    color: var(--gray-500);
    margin-bottom: 0.5rem;
}

.review-otp-section p strong {
    color: var(--black);
}

.review-otp-hint {
    font-size: 0.85rem !important;
    color: var(--gray-400) !important;
    margin-bottom: 1.25rem !important;
}

.review-otp-input {
    text-align: center;
    font-size: 1.5rem !important;
    letter-spacing: 0.5rem;
    padding: 0.85rem 1rem;
    border: 2px solid var(--black) !important;
    border-radius: var(--radius-sm);
    width: 100%;
    box-sizing: border-box;
    font-family: var(--font-body);
}

.review-otp-input:focus {
    outline: none;
    border-color: var(--primary) !important;
    box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.12);
}

.review-otp-resend {
    margin-top: 1rem;
    font-size: 0.85rem;
    color: var(--gray-400);
}

.review-otp-resend a {
    color: var(--primary);
    text-decoration: underline;
    cursor: pointer;
}

.review-otp-resend a:hover {
    color: var(--primary-dark);
}

/* ---------- Review Toast ---------- */
.review-toast {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1100;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 1.5rem;
    background: #16a34a;
    color: white;
    border-radius: var(--radius-full);
    font-size: 0.9rem;
    font-weight: 600;
    box-shadow: var(--shadow-lg);
    animation: toastIn 0.3s ease;
}

@keyframes toastIn {
    from { transform: translateX(-50%) translateY(20px); opacity: 0; }
    to { transform: translateX(-50%) translateY(0); opacity: 1; }
}

/* ---------- Write Review Button (on salon rating area) ---------- */
.write-review-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 1rem;
    background: var(--white);
    border: 1px solid var(--gray-100);
    border-radius: var(--radius-full);
    color: var(--primary);
    font-weight: 600;
    font-size: 0.82rem;
    cursor: pointer;
    transition: all var(--transition);
    font-family: var(--font-body);
    margin-top: 0.5rem;
}

.write-review-btn:hover {
    background: var(--primary-lighter);
    border-color: var(--primary-light);
}

/* =============================================
   Responsive
   ============================================= */
@media (max-width: 600px) {
    .salon-header {
        height: 180px;
    }

    .back-link {
        margin-top: 50px;
        font-size: 0.85rem;
    }

    .salon-content {
        margin-top: -40px;
    }

    .salon-info-card {
        flex-direction: column;
        text-align: center;
    }

    .salon-info h1 {
        font-size: 1.3rem;
    }

    .salon-rating {
        justify-content: center;
    }

    .barber-item {
        flex-wrap: wrap;
    }

    .barber-book-btn {
        width: 100%;
        justify-content: center;
        margin-top: 0.5rem;
    }

    .salon-map {
        height: 150px;
    }

    .reviews-summary {
        flex-direction: column;
        text-align: center;
    }

    .reviews-summary-right {
        width: 100%;
    }

    .reviews-filters {
        justify-content: center;
    }

    .review-modal {
        padding: 1.5rem;
        margin: 0.5rem;
    }

    .picker-star {
        font-size: 1.75rem;
    }
}
