/* Global Variables for Premium Dark/Neon Aesthetic */
:root {
    --bg-main: #0a0d16;
    --bg-card: rgba(16, 22, 38, 0.65);
    --border-color: rgba(255, 255, 255, 0.08);
    --border-glow: rgba(14, 165, 233, 0.25);

    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;

    --color-primary: #0ea5e9;       /* Electric Blue */
    --color-primary-glow: rgba(14, 165, 233, 0.5);
    --color-secondary: #f97316;     /* Battery Orange */
    --color-secondary-glow: rgba(249, 115, 22, 0.5);
    --color-success: #10b981;       /* Location Verified Green */
    --color-success-glow: rgba(16, 185, 129, 0.3);

    --font-header: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    --transition-smooth: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset and Core Styling */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

body {
    background-color: var(--bg-main);
    color: var(--text-primary);
    font-family: var(--font-body);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-main);
}
::-webkit-scrollbar-thumb {
    background: #1e293b;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #334155;
}

/* Background Grids & Glowing Blobs */
.bg-grid {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
    background-size: 40px 40px;
    z-index: -3;
    pointer-events: none;
}

.bg-glow {
    position: fixed;
    border-radius: 50%;
    filter: blur(140px);
    opacity: 0.15;
    z-index: -2;
    pointer-events: none;
}

.bg-glow-1 {
    top: -10%;
    right: 5%;
    width: 450px;
    height: 450px;
    background: var(--color-primary);
}

.bg-glow-2 {
    bottom: 5%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: var(--color-secondary);
}

/* Container */
.app-container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 30px 20px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Header */
.app-header {
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
}

.logo-icon {
    font-size: 2rem;
    color: var(--color-secondary);
    filter: drop-shadow(0 0 10px var(--color-secondary-glow));
    animation: battery-glow 3s infinite alternate;
}

.logo-text {
    font-family: var(--font-header);
    font-weight: 800;
    font-size: 1.8rem;
    letter-spacing: 1px;
}

.logo-text span {
    color: var(--color-primary);
    text-shadow: 0 0 15px var(--color-primary-glow);
}

.main-title {
    font-family: var(--font-header);
    font-weight: 700;
    font-size: 2.2rem;
    line-height: 1.2;
    background: linear-gradient(135deg, #ffffff 30%, #a5f3fc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 10px;
}

.subtitle {
    color: var(--text-secondary);
    font-size: 1.05rem;
    font-weight: 400;
    max-width: 600px;
    margin: 0 auto;
}

/* App Content Layout */
.app-content {
    display: grid;
    grid-template-columns: 420px 1fr;
    gap: 25px;
    margin-bottom: 40px;
    flex-grow: 1;
}

@media (max-width: 992px) {
    .app-content {
        grid-template-columns: 1fr;
    }
}

/* Glassmorphism Card Style */
.glass-card {
    background: var(--bg-card);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
    transition: var(--transition-smooth);
}

.glass-card:hover {
    border-color: var(--border-glow);
    box-shadow: 0 15px 35px -10px rgba(14, 165, 233, 0.15);
}

/* Left Panel Control Panel */
.control-panel {
    display: flex;
    flex-direction: column;
    gap: 25px;
    height: fit-content;
}

.card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 15px;
}

.section-icon {
    font-size: 1.4rem;
    color: var(--color-primary);
    text-shadow: 0 0 10px var(--color-primary-glow);
}

.card-header h2 {
    font-family: var(--font-header);
    font-size: 1.3rem;
    font-weight: 600;
}

/* Buttons */
.btn {
    width: 100%;
    padding: 14px 20px;
    border: none;
    border-radius: 12px;
    font-family: var(--font-header);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: var(--transition-smooth);
}

.btn-primary {
    background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
    color: #ffffff;
    box-shadow: 0 4px 15px -3px var(--color-primary-glow);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px -3px var(--color-primary-glow);
}

.btn-secondary {
    background: rgba(30, 41, 59, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
}

.btn-secondary:hover:not(:disabled) {
    background: rgba(30, 41, 59, 0.8);
    border-color: var(--color-primary);
    transform: translateY(-2px);
}

.btn-glow {
    position: relative;
    overflow: hidden;
}

.btn-glow::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent 45%,
        rgba(255, 255, 255, 0.1) 50%,
        transparent 55%
    );
    transform: rotate(45deg);
    transition: all 0.6s ease;
    pointer-events: none;
}

.btn-glow:hover::after {
    left: 120%;
}

/* Pulsing and Glowing Keyframes */
@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.02);
    }
}

.animate-pulse {
    animation: pulse 2.5s infinite;
}

.helper-text {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.4;
    margin-top: 10px;
    text-align: center;
}

.divider {
    display: flex;
    align-items: center;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.8rem;
    font-weight: 600;
    margin: 10px 0;
}

.divider::before,
.divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px dashed var(--border-color);
}

.divider span {
    padding: 0 15px;
    letter-spacing: 2px;
}

/* Form Styles */
.search-form-wrapper h3 {
    font-family: var(--font-header);
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 15px;
    font-weight: 500;
}

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

.form-group label {
    display: block;
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group label i {
    color: var(--color-primary);
    margin-right: 4px;
}

.form-select {
    width: 100%;
    padding: 12px 16px;
    background: #0f172a;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 0.9rem;
    outline: none;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.form-select:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.15);
}

.form-select:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: rgba(15, 23, 42, 0.5);
}

/* Right Panel: Results Listing (Unified Glass Card Container) */
.results-panel {
    display: flex;
    flex-direction: column;
    height: fit-content;
}

.results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 15px;
    margin-bottom: 10px;
    transition: var(--transition-smooth);
}

.results-header h2 {
    font-family: var(--font-header);
    font-size: 1.3rem;
    font-weight: 700;
    color: #ffffff;
}

.badge {
    font-family: var(--font-header);
    font-size: 1.1rem;
    font-weight: 700;
    color: #ffffff;
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0;
    letter-spacing: 0;
}

/* Empty State */
.empty-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 40px;
    text-align: center;
    flex-grow: 1;
}

.empty-icon-wrapper {
    width: 70px;
    height: 70px;
    background: rgba(30, 41, 59, 0.4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--text-muted);
    margin-bottom: 20px;
    border: 1px solid var(--border-color);
}

.empty-container h3 {
    font-family: var(--font-header);
    font-size: 1.25rem;
    margin-bottom: 10px;
}

.empty-container p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    max-width: 420px;
    line-height: 1.5;
}

/* Radar Scan Animation UI */
.radar-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 50px 30px;
    text-align: center;
    flex-grow: 1;
    gap: 15px;
}

.radar-container h3 {
    font-family: var(--font-header);
    font-size: 1.2rem;
    color: var(--color-primary);
}

.radar-container p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    max-width: 380px;
    line-height: 1.5;
}

.radar {
    position: relative;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.08) 0%, transparent 80%);
    border: 1px solid rgba(14, 165, 233, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    overflow: hidden;
}

.center-battery {
    font-size: 2.2rem;
    color: var(--color-primary);
    z-index: 2;
    filter: drop-shadow(0 0 10px var(--color-primary-glow));
    animation: heart-beat 1.5s infinite;
}

.ring {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(14, 165, 233, 0.25);
    width: 100%;
    height: 100%;
    animation: ring-expand 3s infinite linear;
}

.ring-1 {
    animation-delay: 0s;
}

.ring-2 {
    animation-delay: 1s;
}

.ring-3 {
    animation-delay: 2s;
}

.sweep {
    position: absolute;
    width: 100%;
    height: 100%;
    background: conic-gradient(from 0deg, var(--color-primary) 0deg, transparent 90deg);
    border-radius: 50%;
    animation: radar-sweep 2s infinite linear;
    transform-origin: center;
    opacity: 0.6;
}

@keyframes radar-sweep {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@keyframes ring-expand {
    0% {
        transform: scale(0.1);
        opacity: 1;
    }
    100% {
        transform: scale(1.2);
        opacity: 0;
    }
}

@keyframes heart-beat {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.15);
    }
}

@keyframes battery-glow {
    0% {
        filter: drop-shadow(0 0 4px var(--color-secondary-glow));
        color: #f97316;
    }
    100% {
        filter: drop-shadow(0 0 12px var(--color-secondary));
        color: #fb923c;
    }
}

/* Skeleton Loading cards */
.skeleton-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    flex-grow: 1;
}

.skeleton-card {
    height: 160px;
    position: relative;
    overflow: hidden;
}

.skeleton-card::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.04) 50%,
        transparent 100%
    );
    animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

/* Shop Listing & Cards (New Two-Column Layout from Mockup) */
.shop-list-container {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.shop-card {
    display: grid;
    grid-template-columns: 1fr 180px;
    gap: 25px;
    align-items: start;
    padding: 24px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    animation: slide-in 0.4s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.shop-card:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

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

/* Battery review badge styling */
.battery-review-badge {
    display: flex;
    align-items: center;
    gap: 12px;
}

.battery-review-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
}

.battery-review-info .rating-score {
    font-size: 1.15rem;
    font-weight: 800;
    font-family: var(--font-header);
    line-height: 1;
}

.battery-review-info .reviews-count-tag {
    font-size: 0.78rem;
    color: var(--text-secondary);
    cursor: pointer;
    border-bottom: 1px dashed var(--text-muted);
    line-height: 1;
    white-space: nowrap;
}

.battery-review-info .reviews-count-tag:hover {
    color: var(--color-primary);
    border-bottom-color: var(--color-primary);
}

.shop-info {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.shop-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 2px;
}

.distance-tag {
    background: #0ea5e9;
    color: #ffffff;
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 0.78rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.region-tag {
    background: rgba(30, 41, 59, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-secondary);
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.78rem;
    font-weight: 500;
}

.shop-name {
    font-family: var(--font-header);
    font-size: 1.4rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.25;
    margin: 4px 0;
}

.shop-address {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.4;
    display: flex;
    align-items: center;
    gap: 8px;
}

.shop-address i {
    color: var(--color-primary);
}

.shop-phone {
    color: var(--text-secondary);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.shop-phone i {
    color: var(--color-secondary);
}

/* Action Buttons inside Middle Column */
.shop-actions {
    display: flex;
    gap: 12px;
    margin-top: 8px;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.85rem;
    border-radius: 8px;
    text-decoration: none;
    font-family: var(--font-header);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition-smooth);
}

.btn-call {
    background: #f97316;
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(249, 115, 22, 0.3);
}

.btn-call:hover {
    background: #ea580c;
    transform: translateY(-2px);
}

.btn-map {
    background: transparent;
    border: 1px solid #0ea5e9;
    color: #0ea5e9;
}

.btn-map:hover {
    background: rgba(14, 165, 233, 0.1);
    transform: translateY(-2px);
}

/* Right Column: Rating & Rate Button */
.shop-right-panel {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-end;
    height: 100%;
    min-height: 100px;
    align-self: stretch;
}

@media (max-width: 768px) {
    .shop-card {
        grid-template-columns: 1fr;
        gap: 15px;
        padding: 20px 0;
    }


    .shop-right-panel {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        min-height: 0;
        margin-top: 10px;
        border-top: 1px dashed var(--border-color);
        padding-top: 12px;
    }
}

/* Footer Styling */
.app-footer {
    border-top: 1px solid var(--border-color);
    margin-top: 40px;
    padding-top: 20px;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.8rem;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition-smooth);
}

.footer-links a:hover {
    color: var(--color-primary);
}

.hidden {
    display: none !important;
}

/* ================= PREMIUM MODALS & AUTH STYLE ================= */

/* User Auth Section in Header */
.user-auth-wrapper {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 10;
}

@media (max-width: 768px) {
    .user-auth-wrapper {
        position: relative;
        margin-top: 15px;
        margin-bottom: 15px;
        display: flex;
        justify-content: center;
        width: 100%;
    }
}

.btn-sm-auth {
    padding: 8px 16px;
    font-size: 0.85rem;
    border-radius: 10px;
    width: auto;
    background: rgba(30, 41, 59, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
}

.btn-sm-auth:hover {
    background: rgba(14, 165, 233, 0.15);
    border-color: var(--color-primary);
    box-shadow: 0 0 15px var(--color-primary-glow);
}

/* User Info Panel (When logged in) */
.user-info-panel {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(16, 22, 38, 0.5);
    padding: 6px 14px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.user-info-panel .username {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-primary);
    text-shadow: 0 0 8px var(--color-primary-glow);
}

.btn-logout {
    background: transparent;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: var(--transition-smooth);
    padding: 4px 8px;
    border-radius: 6px;
}

.btn-logout:hover {
    color: #ef4444;
    background: rgba(239, 68, 68, 0.1);
}

/* Modal Overlay & Base */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(4, 6, 12, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    transition: var(--transition-smooth);
}

.modal-container {
    width: 100%;
    max-width: 460px;
    position: relative;
    padding: 35px 30px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.8);
    transform: scale(0.95);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.modal-overlay:not(.hidden) .modal-container {
    transform: scale(1);
    opacity: 1;
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: transparent;
    border: none;
    font-size: 1.8rem;
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition-smooth);
    line-height: 1;
}

.modal-close:hover {
    color: #ef4444;
    transform: scale(1.1);
}

.modal-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 15px;
}

.modal-header-icon {
    font-size: 1.8rem;
    color: var(--color-primary);
    filter: drop-shadow(0 0 8px var(--color-primary-glow));
}

.modal-header-icon.highlight-orange {
    color: var(--color-secondary);
    filter: drop-shadow(0 0 8px var(--color-secondary-glow));
}

.modal-header h2 {
    font-family: var(--font-header);
    font-size: 1.4rem;
    font-weight: 700;
    background: linear-gradient(135deg, #ffffff 40%, #a5f3fc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Large Modal variant */
.large-modal {
    max-width: 650px;
}

/* Auth Modal Specifics */
.auth-switch {
    margin-top: 20px;
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.auth-switch a {
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 600;
    margin-left: 5px;
    transition: var(--transition-smooth);
}

.auth-switch a:hover {
    text-shadow: 0 0 8px var(--color-primary-glow);
    text-decoration: underline;
}

/* Star Rating Selector inside Rate Modal */
.rate-shop-name {
    font-family: var(--font-header);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 20px;
    padding: 8px 15px;
    background: rgba(14, 165, 233, 0.08);
    border-radius: 8px;
    border-left: 3px solid var(--color-primary);
}

.select-stars-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.02);
    padding: 15px;
    border-radius: 12px;
    border: 1px dashed var(--border-color);
}

.star-rating-selector {
    display: flex;
    gap: 8px;
    font-size: 1.8rem;
}

.star-rating-selector i {
    cursor: pointer;
    color: var(--text-muted);
    transition: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
}

.star-rating-selector i:hover,
.star-rating-selector i.hover,
.star-rating-selector i.active {
    color: var(--color-secondary);
    filter: drop-shadow(0 0 6px var(--color-secondary-glow));
    transform: scale(1.15);
}

.star-rating-text-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-secondary);
}

.text-area-input {
    resize: none;
    font-family: var(--font-body);
}

/* Reviews Feed */
.reviews-feed {
    max-height: 380px;
    overflow-y: auto;
    padding-right: 5px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.review-item {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 15px 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    transition: var(--transition-smooth);
}

.review-item:hover {
    border-color: var(--border-glow);
    background: rgba(255, 255, 255, 0.04);
}

.review-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.review-user-info {
    display: flex;
    align-items: center;
    gap: 8px;
}

.review-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(14, 165, 233, 0.1);
    border: 1px solid rgba(14, 165, 233, 0.3);
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: bold;
}

.review-username {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
}

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

.review-stars {
    color: var(--color-secondary);
    font-size: 0.85rem;
    display: flex;
    gap: 3px;
}

.review-comment {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.5;
    padding-left: 2px;
}

/* Ratings in Shop card */
.shop-rating-container {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 2px;
    flex-wrap: wrap;
}

.shop-stars {
    color: var(--color-secondary);
    display: flex;
    gap: 3px;
    font-size: 0.85rem;
}

.shop-stars i.empty {
    color: var(--text-muted);
    opacity: 0.5;
}

.rating-score {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--text-primary);
}

.reviews-count-tag {
    cursor: pointer;
    font-size: 0.82rem;
    color: var(--text-secondary);
    transition: var(--transition-smooth);
    border-bottom: 1px dashed var(--text-muted);
}

.reviews-count-tag:hover {
    color: var(--color-primary);
    border-bottom-color: var(--color-primary);
}

.btn-rate {
    background: rgba(16, 185, 129, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: var(--color-success);
}

.btn-rate:hover {
    background: rgba(16, 185, 129, 0.15);
    border-color: var(--color-success);
    box-shadow: 0 0 10px var(--color-success-glow);
}

.btn-rated {
    background: rgba(30, 41, 59, 0.3) !important;
    border: 1px solid var(--border-color) !important;
    color: var(--text-muted) !important;
    cursor: not-allowed !important;
}

.btn-rated:hover {
    transform: none !important;
    box-shadow: none !important;
}

/* Toast notifications adjustments */
#toast-container {
    padding: 10px;
}
