/* =============================================
   kamera.net.tr — Main Stylesheet
   Design: Dark navy + Electric blue + White
   Font: Inter (Google Fonts)
   ============================================= */

/* --- CSS Variables --- */
:root {
    --color-primary: #0ea5e9;
    --color-primary-dark: #0284c7;
    --color-primary-light: #38bdf8;
    --color-primary-bg: rgba(14, 165, 233, 0.08);
    --color-accent: #06b6d4;
    --color-dark: #0f172a;
    --color-dark-2: #1e293b;
    --color-dark-3: #334155;
    --color-text: #334155;
    --color-text-light: #64748b;
    --color-text-muted: #94a3b8;
    --color-bg: #f8fafc;
    --color-bg-alt: #f1f5f9;
    --color-white: #ffffff;
    --color-border: #e2e8f0;
    --color-success: #22c55e;
    --color-success-bg: rgba(34, 197, 94, 0.1);
    --color-warning: #f59e0b;
    --color-warning-bg: rgba(245, 158, 11, 0.1);
    --color-danger: #ef4444;
    --color-danger-bg: rgba(239, 68, 68, 0.1);
    --color-info: #3b82f6;
    --color-info-bg: rgba(59, 130, 246, 0.1);
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -1px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.04);
    --shadow-lg: 0 20px 40px -8px rgba(0, 0, 0, 0.12);
    --radius: 12px;
    --radius-sm: 8px;
    --radius-lg: 16px;
    --transition: 0.2s ease;
}

/* --- Reset & Base --- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, sans-serif;
    color: var(--color-text);
    background: var(--color-bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color var(--transition);
}

a:hover {
    color: var(--color-primary-dark);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

h1,
h2,
h3,
h4 {
    color: var(--color-dark);
    line-height: 1.3;
}

h1 {
    font-size: 1.8rem;
    font-weight: 800;
}

h2 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

h3 {
    font-size: 1.15rem;
    font-weight: 600;
}

small {
    color: var(--color-text-muted);
}

/* --- Container --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.25rem;
}

/* --- Navbar --- */
.navbar {
    background: var(--color-dark);
    padding: 0.75rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-md);
}

.navbar-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--color-white);
}

.brand-icon {
    font-size: 1.5rem;
}

.brand-text {
    color: var(--color-white);
}

.brand-accent {
    color: var(--color-primary);
}

.navbar-menu {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.nav-link {
    color: rgba(255, 255, 255, 0.8);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
    font-weight: 500;
    font-size: 0.9rem;
    transition: all var(--transition);
}

.nav-link:hover {
    color: var(--color-white);
    background: rgba(255, 255, 255, 0.1);
}

.nav-link-primary {
    background: var(--color-primary);
    color: var(--color-white) !important;
    font-weight: 600;
}

.nav-link-primary:hover {
    background: var(--color-primary-dark);
}

.nav-link-outline {
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: rgba(255, 255, 255, 0.8) !important;
}

.nav-link-outline:hover {
    border-color: var(--color-white);
    color: var(--color-white) !important;
}

.navbar-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    flex-direction: column;
    gap: 4px;
}

.navbar-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--color-white);
    border-radius: 2px;
    transition: var(--transition);
}

/* --- Hero --- */
.hero {
    position: relative;
    background: linear-gradient(135deg, var(--color-dark) 0%, #1e3a5f 50%, var(--color-dark-2) 100%);
    padding: 5rem 0 4rem;
    text-align: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 20%, rgba(14, 165, 233, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 70% 80%, rgba(6, 182, 212, 0.1) 0%, transparent 50%);
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--color-white);
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.text-accent {
    color: var(--color-primary-light);
}

.hero-subtitle {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.15rem;
    margin-bottom: 2.5rem;
}

.hero-search {
    max-width: 700px;
    margin: 0 auto;
}

.search-wrapper {
    display: flex;
    background: var(--color-white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.search-select {
    border: none;
    padding: 1rem;
    font-size: 0.95rem;
    background: var(--color-bg-alt);
    border-right: 1px solid var(--color-border);
    min-width: 150px;
    font-family: inherit;
}

.search-input {
    flex: 1;
    border: none;
    padding: 1rem 1.25rem;
    font-size: 0.95rem;
    outline: none;
    font-family: inherit;
}

.search-btn {
    background: var(--color-primary);
    color: var(--color-white);
    border: none;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background var(--transition);
    font-family: inherit;
    white-space: nowrap;
}

.search-btn:hover {
    background: var(--color-primary-dark);
}

/* --- Stats Section --- */
.stats-section {
    padding: 2.5rem 0;
    background: var(--color-white);
    border-bottom: 1px solid var(--color-border);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1.5rem;
}

.stat-card {
    text-align: center;
    padding: 1.5rem;
    background: var(--color-bg);
    text-decoration: none;
    color: inherit;
    border-radius: var(--radius);
    border: 1px solid var(--color-border);
    transition: all 0.2s ease;
}

.stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Stat Card Color Variants */
.stat-card.stat-primary {
    border-left: 4px solid var(--color-primary);
}

.stat-card.stat-primary .stat-number {
    color: var(--color-primary);
}

.stat-card.stat-warning {
    border-left: 4px solid #f59e0b;
}

.stat-card.stat-warning .stat-number {
    color: #f59e0b;
}

.stat-card.stat-success {
    border-left: 4px solid #10b981;
}

.stat-card.stat-success .stat-number {
    color: #10b981;
}

.stat-card.stat-info {
    border-left: 4px solid #3b82f6;
}

.stat-card.stat-info .stat-number {
    color: #3b82f6;
}

.stat-card.stat-danger {
    border-left: 4px solid #ef4444;
}

.stat-card.stat-danger .stat-number {
    color: #ef4444;
}

.stat-card.stat-purple {
    border-left: 4px solid #a855f7;
}

.stat-card.stat-purple .stat-number {
    color: #a855f7;
}

.stat-card.stat-pink {
    border-left: 4px solid #ec4899;
}

.stat-card.stat-pink .stat-number {
    color: #ec4899;
}

.stat-card.stat-cyan {
    border-left: 4px solid #06b6d4;
}

.stat-card.stat-cyan .stat-number {
    color: #06b6d4;
}

.stat-card.stat-orange {
    border-left: 4px solid #f97316;
}

.stat-card.stat-orange .stat-number {
    color: #f97316;
}

.stat-card.stat-teal {
    border-left: 4px solid #14b8a6;
}

.stat-card.stat-teal .stat-number {
    color: #14b8a6;
}

.stat-card.stat-indigo {
    border-left: 4px solid #6366f1;
}

.stat-card.stat-indigo .stat-number {
    color: #6366f1;
}

.stat-card.stat-amber {
    border-left: 4px solid #d97706;
}

.stat-card.stat-amber .stat-number {
    color: #d97706;
}

.stat-card.stat-red {
    border-left: 4px solid #ef4444;
}

.stat-card.stat-red .stat-number {
    color: #ef4444;
}

/* Sidebar Badge */
.sidebar-badge {
    margin-left: auto;
    font-size: 0.7rem;
    padding: 0.15rem 0.5rem;
    border-radius: 10px;
    font-weight: 700;
    min-width: 20px;
    text-align: center;
}

.sidebar-link {
    display: flex;
    align-items: center;
}

/* Confirm Modal */
.confirm-modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.confirm-modal-overlay.active {
    display: flex;
}

.confirm-modal {
    background: var(--color-white);
    border-radius: var(--radius);
    padding: 2rem;
    max-width: 420px;
    width: 90%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    text-align: center;
}

.confirm-modal h3 {
    margin-bottom: 0.5rem;
    color: var(--color-dark);
}

.confirm-modal p {
    color: var(--color-text-muted);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.confirm-modal-actions {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
}

/* Bulk action bar */
.bulk-action-bar {
    display: none;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: var(--color-primary-bg);
    border: 1px solid var(--color-primary);
    border-radius: var(--radius-sm);
    margin-bottom: 1rem;
}

.bulk-action-bar.active {
    display: flex;
}

.bulk-count {
    font-weight: 700;
    color: var(--color-primary);
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: var(--color-primary);
}

.stat-label {
    display: block;
    font-size: 0.85rem;
    color: var(--color-text-light);
    margin-top: 0.25rem;
    font-weight: 500;
}

.stat-primary {
    border-left: 4px solid var(--color-primary);
}

.stat-warning {
    border-left: 4px solid var(--color-warning);
}

.stat-success {
    border-left: 4px solid var(--color-success);
}

.stat-info {
    border-left: 4px solid var(--color-info);
}

/* --- Sections --- */
.section {
    padding: 3.5rem 0;
}

.section-alt {
    background: var(--color-bg-alt);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.section-header h2 {
    margin-bottom: 0;
}

.section-link {
    font-weight: 600;
    font-size: 0.9rem;
}

.section-divider {
    border: none;
    border-top: 1px solid var(--color-border);
    margin: 2rem 0;
}

/* --- Company Cards --- */
.company-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.company-grid-sm {
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}

.company-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.company-card {
    background: var(--color-white);
    border-radius: var(--radius);
    border: 1px solid var(--color-border);
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
}

.company-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.card-featured {
    border-color: var(--color-warning);
    box-shadow: 0 0 0 1px rgba(245, 158, 11, 0.2);
}

.featured-badge {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.2rem 0.6rem;
    border-radius: 20px;
    z-index: 1;
}

.card-body {
    display: flex;
    gap: 1rem;
    padding: 1.25rem;
}

.card-logo {
    flex-shrink: 0;
    width: 64px;
    height: 64px;
}

.card-logo img {
    width: 64px;
    height: 64px;
    object-fit: cover;
    border-radius: var(--radius-sm);
}

.logo-placeholder {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    color: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    font-size: 1.5rem;
    font-weight: 700;
}

.logo-placeholder-lg {
    width: 80px;
    height: 80px;
    font-size: 2rem;
}

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

.card-title {
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.card-title a {
    color: var(--color-dark);
}

.card-title a:hover {
    color: var(--color-primary);
}

.card-location {
    font-size: 0.85rem;
    color: var(--color-text-light);
    margin-bottom: 0.25rem;
}

.card-desc {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    margin-bottom: 0.5rem;
}

.card-rating {
    font-size: 0.85rem;
}

.card-rating .stars {
    color: #f59e0b;
    letter-spacing: 1px;
}

.rating-text {
    color: var(--color-text-muted);
    margin-left: 0.25rem;
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1.25rem;
    border-top: 1px solid var(--color-border);
    background: var(--color-bg);
}

.card-phone {
    font-size: 0.85rem;
    color: var(--color-dark);
    font-weight: 500;
}

.card-link {
    font-size: 0.85rem;
    font-weight: 600;
}

/* --- Service Grid --- */
.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
}

.service-card {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    color: var(--color-dark);
}

.service-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.service-icon {
    font-size: 2rem;
    display: block;
    margin-bottom: 0.5rem;
}

.service-card h3 {
    font-size: 0.9rem;
}

/* --- City Grid --- */
.city-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 0.75rem;
}

.city-card {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    padding: 1rem;
    text-align: center;
    transition: all 0.25s ease;
    color: var(--color-dark);
}

.city-card:hover {
    border-color: var(--color-primary);
    box-shadow: var(--shadow);
    color: var(--color-primary);
}

.city-name {
    display: block;
    font-weight: 600;
}

.city-count {
    display: block;
    font-size: 0.8rem;
    color: var(--color-text-muted);
    margin-top: 0.15rem;
}

/* --- CTA Section --- */
.cta-section {
    background: linear-gradient(135deg, var(--color-dark), #1e3a5f);
    padding: 4rem 0;
    text-align: center;
}

.cta-content h2 {
    color: var(--color-white);
    font-size: 1.8rem;
    margin-bottom: 0.75rem;
}

.cta-content p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.6rem 1.5rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.9rem;
    border: none;
    cursor: pointer;
    transition: all var(--transition);
    font-family: inherit;
    text-decoration: none;
}

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

.btn-primary:hover {
    background: var(--color-primary-dark);
    color: var(--color-white);
}

.btn-success {
    background: var(--color-success);
    color: var(--color-white);
}

.btn-success:hover {
    background: #16a34a;
    color: var(--color-white);
}

.btn-warning {
    background: var(--color-warning);
    color: var(--color-white);
}

.btn-warning:hover {
    background: #d97706;
    color: var(--color-white);
}

.btn-danger {
    background: var(--color-danger);
    color: var(--color-white);
}

.btn-danger:hover {
    background: #dc2626;
    color: var(--color-white);
}

.btn-outline {
    background: transparent;
    color: var(--color-primary);
    border: 1.5px solid var(--color-primary);
}

.btn-outline:hover {
    background: var(--color-primary);
    color: var(--color-white);
}

.btn-white {
    background: var(--color-white);
    color: var(--color-dark);
}

.btn-white:hover {
    background: var(--color-bg-alt);
    color: var(--color-dark);
}

.btn-sm {
    padding: 0.35rem 0.75rem;
    font-size: 0.8rem;
}

.btn-lg {
    padding: 0.85rem 2rem;
    font-size: 1rem;
}

.btn-block {
    width: 100%;
}

/* --- Forms --- */
.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.4rem;
    font-size: 0.9rem;
    color: var(--color-dark);
}

.form-input {
    width: 100%;
    padding: 0.7rem 1rem;
    border: 1.5px solid var(--color-border);
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-family: inherit;
    transition: border-color var(--transition), box-shadow var(--transition);
    background: var(--color-white);
    color: var(--color-text);
}

.form-input:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px var(--color-primary-bg);
}

.form-input.is-invalid {
    border-color: var(--color-danger);
}

.form-input-sm {
    padding: 0.45rem 0.75rem;
    font-size: 0.85rem;
}

.form-error {
    color: var(--color-danger);
    font-size: 0.8rem;
    margin-top: 0.25rem;
    display: block;
}

.form-hint {
    color: var(--color-text-muted);
    font-size: 0.8rem;
    margin-top: 0.25rem;
    display: block;
}

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

.form-card {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-card h2 {
    font-size: 1.15rem;
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--color-border);
}

.form-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
}

.checkbox-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 0.5rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    cursor: pointer;
    padding: 0.4rem;
    border-radius: var(--radius-sm);
    transition: background var(--transition);
}

.checkbox-label:hover {
    background: var(--color-bg-alt);
}

.checkbox-label input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: var(--color-primary);
}

.inline-form {
    display: inline;
}

.inline-form-row {
    display: flex;
    gap: 0.75rem;
    align-items: flex-end;
    flex-wrap: wrap;
}

.inline-form-row .form-input {
    max-width: 200px;
}

/* --- Auth Pages --- */
.auth-section {
    padding: 4rem 0;
    display: flex;
    justify-content: center;
}

.auth-card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 2.5rem;
    width: 100%;
    max-width: 420px;
}

.auth-card-wide {
    max-width: 700px;
}

.auth-title {
    text-align: center;
    margin-bottom: 0.25rem;
}

.auth-subtitle {
    text-align: center;
    color: var(--color-text-muted);
    margin-bottom: 2rem;
}

.auth-footer {
    text-align: center;
    margin-top: 1.5rem;
    font-size: 0.9rem;
    color: var(--color-text-light);
}

/* --- Alerts --- */
.alerts-container {
    padding-top: 1rem;
}

.alert {
    padding: 0.85rem 1.25rem;
    border-radius: var(--radius-sm);
    margin-bottom: 0.75rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.alert-success {
    background: var(--color-success-bg);
    color: #166534;
    border: 1px solid rgba(34, 197, 94, 0.2);
}

.alert-danger {
    background: var(--color-danger-bg);
    color: #991b1b;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.alert-warning {
    background: var(--color-warning-bg);
    color: #92400e;
    border: 1px solid rgba(245, 158, 11, 0.2);
}

.alert-info {
    background: var(--color-info-bg);
    color: #1e40af;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.alert-close {
    background: none;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0.5;
    padding: 0 0.25rem;
}

.alert-close:hover {
    opacity: 1;
}

/* --- Page Sections --- */
.page-section {
    padding: 2.5rem 0;
}

.page-header {
    margin-bottom: 2rem;
}

.page-header h1 {
    margin-bottom: 0.25rem;
}

.page-header p {
    color: var(--color-text-muted);
}

.page-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

/* --- Listing Layout --- */
.listing-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 2rem;
}

.filter-sidebar {
    position: sticky;
    top: 80px;
    align-self: start;
}

.filter-group {
    margin-bottom: 1.25rem;
}

.filter-group h3 {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    color: var(--color-text-light);
}

.empty-state {
    text-align: center;
    padding: 3rem 1rem;
    color: var(--color-text-muted);
    font-size: 1.1rem;
}

.empty-state p {
    margin-bottom: 1.5rem;
}

/* --- Company Detail --- */
.detail-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 2rem;
}

.detail-header {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.detail-logo img {
    width: 80px;
    height: 80px;
    border-radius: var(--radius);
    object-fit: cover;
}

.detail-title-area h1 {
    margin-bottom: 0.25rem;
}

.detail-location {
    color: var(--color-text-light);
    font-size: 0.9rem;
}

.detail-rating {
    font-size: 0.95rem;
    margin: 0.25rem 0;
}

.detail-rating .stars {
    color: #f59e0b;
}

.detail-section {
    margin-bottom: 2rem;
    background: var(--color-white);
    padding: 1.5rem;
    border-radius: var(--radius);
    border: 1px solid var(--color-border);
}

.detail-section h2 {
    font-size: 1.1rem;
}

.badge-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.3rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.badge-service {
    background: var(--color-primary-bg);
    color: var(--color-primary-dark);
}

.badge-brand {
    background: var(--color-bg-alt);
    color: var(--color-dark-3);
    border: 1px solid var(--color-border);
}

.badge-featured {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
}

.badge-success {
    background: var(--color-success-bg);
    color: #166534;
}

.badge-warning {
    background: var(--color-warning-bg);
    color: #92400e;
}

.badge-danger {
    background: var(--color-danger-bg);
    color: #991b1b;
}

.badge-primary {
    background: var(--color-primary-bg);
    color: var(--color-primary-dark);
}

.badge-info {
    background: var(--color-info-bg);
    color: #1e40af;
}

/* --- Photo Gallery --- */
.photo-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 0.75rem;
}

.gallery-item img {
    width: 100%;
    height: 140px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: transform 0.3s;
}

.gallery-item img:hover {
    transform: scale(1.03);
}

/* --- Lightbox --- */
.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.lightbox.active {
    display: flex;
}

.lightbox img {
    max-width: 90%;
    max-height: 90vh;
    border-radius: var(--radius);
}

.lightbox-close {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    color: white;
    font-size: 2rem;
    cursor: pointer;
}

/* --- Working Hours Table --- */
.hours-table {
    width: 100%;
    border-collapse: collapse;
}

.hours-table td {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--color-border);
    font-size: 0.9rem;
}

.hours-table td:first-child {
    font-weight: 600;
    width: 130px;
}

.hours-edit-table {
    width: 100%;
    border-collapse: collapse;
}

.hours-edit-table th,
.hours-edit-table td {
    padding: 0.5rem;
    text-align: left;
}

.hours-edit-table th {
    font-size: 0.85rem;
    color: var(--color-text-light);
}

/* --- Reviews --- */
.reviews-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.review-item {
    padding: 1rem;
    background: var(--color-bg);
    border-radius: var(--radius-sm);
}

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

.review-stars {
    color: #f59e0b;
}

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

.review-comment {
    font-size: 0.9rem;
    color: var(--color-text);
}

.review-form-wrapper {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--color-border);
}

.review-form-wrapper h3 {
    margin-bottom: 1rem;
}

/* --- Star Rating Input --- */
.star-rating {
    display: flex;
    flex-direction: row-reverse;
    gap: 0.25rem;
    font-size: 1.5rem;
}

.star-rating input {
    display: none;
}

.star-rating label {
    color: var(--color-border);
    cursor: pointer;
    transition: color 0.15s;
}

.star-rating label:hover,
.star-rating label:hover~label,
.star-rating input:checked~label {
    color: #f59e0b;
}

/* --- Sidebar Card --- */
.sidebar-card {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    padding: 1.5rem;
    position: sticky;
    top: 80px;
}

.sidebar-card h3 {
    margin-bottom: 1rem;
}

.contact-item {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
}

.contact-icon {
    font-size: 1.1rem;
}

.contact-item a {
    word-break: break-all;
}

/* --- Data Tables --- */
.data-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.data-table th {
    text-align: left;
    padding: 0.75rem;
    background: var(--color-bg);
    color: var(--color-text-light);
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    border-bottom: 2px solid var(--color-border);
}

.data-table td {
    padding: 0.75rem;
    border-bottom: 1px solid var(--color-border);
    vertical-align: middle;
}

.data-table tr:hover {
    background: var(--color-bg);
}

.action-cell {
    display: flex;
    gap: 0.4rem;
    flex-wrap: wrap;
}

code {
    background: var(--color-bg-alt);
    padding: 0.15rem 0.4rem;
    border-radius: 4px;
    font-size: 0.8rem;
}

/* --- Tabs --- */
.tabs {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid var(--color-border);
}

.tab-btn {
    padding: 0.6rem 1.25rem;
    border: none;
    background: none;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    color: var(--color-text-muted);
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    transition: all var(--transition);
    font-family: inherit;
}

.tab-btn.active,
.tab-btn:hover {
    color: var(--color-primary);
    border-bottom-color: var(--color-primary);
}

/* --- Search --- */
.search-form-inline {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.search-form-inline .form-input {
    flex: 1;
}

.inline-search {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    flex-wrap: wrap;
}

/* --- Packages --- */
.package-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1.5rem;
}

.package-card {
    background: var(--color-white);
    border: 2px solid var(--color-border);
    border-radius: var(--radius);
    padding: 2rem;
    text-align: center;
    transition: all 0.3s;
}

.package-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.package-premium {
    border-color: var(--color-primary);
}

.package-price {
    margin: 1rem 0;
}

.price-amount {
    font-size: 2rem;
    font-weight: 800;
    color: var(--color-primary);
}

.price-period {
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

.package-desc {
    font-size: 0.9rem;
    color: var(--color-text-light);
    margin-bottom: 1rem;
}

.package-features {
    list-style: none;
    text-align: left;
}

.package-features li {
    padding: 0.35rem 0;
    font-size: 0.9rem;
    color: var(--color-text);
}

/* --- Photo Manage Grid --- */
.photo-manage-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

.photo-manage-item {
    position: relative;
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.photo-manage-item img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.photo-manage-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 0.75rem;
    opacity: 0;
    transition: opacity 0.3s;
}

.photo-manage-item:hover .photo-manage-overlay {
    opacity: 1;
}

.photo-caption {
    color: white;
    font-size: 0.8rem;
    margin-bottom: 0.5rem;
}

/* --- Quick Actions --- */
.quick-actions {
    margin-top: 2rem;
}

.action-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.action-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1.5rem;
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    color: var(--color-dark);
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s;
}

.action-card:hover {
    border-color: var(--color-primary);
    transform: translateY(-3px);
    box-shadow: var(--shadow);
    color: var(--color-primary);
}

.action-icon {
    font-size: 2rem;
}

/* --- Subscription Info --- */
.subscription-info p {
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

/* --- Pagination --- */
.pagination-nav {
    margin-top: 2rem;
    display: flex;
    justify-content: center;
}

.pagination {
    display: flex;
    gap: 0.25rem;
    list-style: none;
}

.page-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 0.75rem;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--color-text);
    background: var(--color-white);
    border: 1px solid var(--color-border);
    transition: all var(--transition);
    text-decoration: none;
}

.page-link:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.page-link.active {
    background: var(--color-primary);
    color: var(--color-white);
    border-color: var(--color-primary);
}

.page-link.disabled {
    opacity: 0.4;
    pointer-events: none;
}

.page-dots {
    border: none;
    background: none;
}

/* --- Footer --- */
.footer {
    background: var(--color-dark);
    color: rgba(255, 255, 255, 0.7);
    padding: 3rem 0 0;
    margin-top: 3rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 2rem;
    padding-bottom: 2rem;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 0.75rem;
}

.footer-desc {
    font-size: 0.85rem;
    line-height: 1.7;
}

.footer-col h4 {
    color: var(--color-white);
    font-size: 0.95rem;
    margin-bottom: 0.75rem;
}

.footer-col a {
    display: block;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
    padding: 0.2rem 0;
    transition: color var(--transition);
}

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

.footer-col p {
    font-size: 0.85rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.25rem 0;
    text-align: center;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.4);
}

/* Alphabetical Listing (Brands & Cities) */
.alpha-listing {
    position: relative;
}

.alpha-section {
    margin-bottom: 1.5rem;
}

.alpha-letter {
    font-weight: 800;
    font-size: 1.3rem;
    color: var(--color-primary);
    padding: 0.3rem 0;
    border-bottom: 2px solid var(--color-primary);
    margin-bottom: 0.75rem;
    display: inline-block;
    min-width: 2rem;
    text-align: center;
}

.alpha-items {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding-left: 0.25rem;
}

.alpha-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.45rem 0.9rem;
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: 20px;
    color: var(--color-dark);
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.alpha-tag:hover {
    border-color: var(--color-primary);
    background: var(--color-primary-bg);
    color: var(--color-primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 2px 6px rgba(var(--color-primary-rgb, 79, 70, 229), 0.15);
}

.alpha-tag-count {
    font-size: 0.78rem;
    color: var(--color-text-muted);
    font-weight: 400;
}

.alpha-tag:hover .alpha-tag-count {
    color: var(--color-primary);
}

/* Letter Navigation */
.letter-nav {
    position: fixed;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 1px;
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    padding: 0.25rem;
    box-shadow: var(--shadow);
    z-index: 50;
}

.letter-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 24px;
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--color-text-light);
    border-radius: 4px;
    transition: all 0.15s;
}

.letter-link:hover {
    background: var(--color-primary);
    color: white;
}

/* Breadcrumb */
.breadcrumb {
    margin-bottom: 0.5rem;
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

.breadcrumb a {
    color: var(--color-primary);
    font-weight: 500;
}

/* Wholesaler tabs (reuse tab-btn styles) */
.wholesaler-tabs {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 2rem;
    border-bottom: 2px solid var(--color-border);
}



/* --- Utility --- */
.text-muted {
    color: var(--color-text-muted) !important;
}

.text-danger {
    color: var(--color-danger) !important;
}

.text-success {
    color: var(--color-success) !important;
}

/* --- Responsive --- */

/* === Tablet (max-width: 1024px) === */
@media (max-width: 1024px) {
    .detail-layout {
        grid-template-columns: 1fr;
    }

    .detail-sidebar {
        order: -1;
    }

    .sidebar-card {
        position: static;
    }

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

    .letter-nav {
        position: static;
        transform: none;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        margin-bottom: 1.5rem;
        background: var(--color-bg-alt);
        border: 1px solid var(--color-border);
        border-radius: var(--radius);
        padding: 0.5rem;
    }

    .letter-link {
        width: 32px;
        height: 32px;
        font-size: 0.75rem;
    }

    .contact-layout {
        grid-template-columns: 1fr;
    }
}

/* === Mobile (max-width: 768px) === */
@media (max-width: 768px) {

    /* Typography */
    h1 {
        font-size: 1.4rem;
    }

    h2 {
        font-size: 1.2rem;
    }

    /* Hero */
    .hero {
        padding: 2.5rem 0 2rem;
    }

    .hero-title {
        font-size: 1.5rem;
        line-height: 1.3;
    }

    .hero-subtitle {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }

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

    .search-select {
        border-right: none;
        border-bottom: 1px solid var(--color-border);
        min-width: auto;
    }

    .search-btn {
        padding: 0.85rem 1.5rem;
    }

    /* Navbar */
    .navbar-toggle {
        display: flex;
    }

    .navbar-menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--color-dark);
        padding: 1rem;
        box-shadow: var(--shadow-lg);
        max-height: 80vh;
        overflow-y: auto;
    }

    .navbar-menu.active {
        display: flex;
    }

    .nav-link {
        width: 100%;
        text-align: left;
        padding: 0.75rem 1rem;
    }

    /* Layouts */
    .listing-layout {
        grid-template-columns: 1fr;
    }

    .filter-sidebar {
        position: static;
    }

    /* Grids */
    .company-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }

    .service-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }

    .city-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.5rem;
    }

    .city-card {
        padding: 0.75rem 0.5rem;
    }

    .city-name {
        font-size: 0.85rem;
    }

    .city-count {
        font-size: 0.7rem;
    }

    .action-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .feature-list {
        grid-template-columns: 1fr;
    }

    .photo-gallery {
        grid-template-columns: repeat(2, 1fr);
    }

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

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

    /* Tables */
    .data-table {
        font-size: 0.8rem;
    }

    .data-table th,
    .data-table td {
        padding: 0.5rem 0.4rem;
    }

    .action-cell {
        flex-direction: column;
    }

    /* Page header */
    .page-header-row {
        flex-direction: column;
        align-items: flex-start;
    }

    /* Sections */
    .section {
        padding: 2.5rem 0;
    }

    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .page-section {
        padding: 1.5rem 0;
    }

    /* CTA */
    .cta-section {
        padding: 2.5rem 0;
    }

    .cta-content h2 {
        font-size: 1.4rem;
    }

    .cta-content p {
        font-size: 0.95rem;
    }

    /* Detail header */
    .detail-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    /* Alpha listing */
    .alpha-tag {
        padding: 0.35rem 0.7rem;
        font-size: 0.82rem;
    }

    /* Tabs */
    .tabs,
    .wholesaler-tabs {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .tab-btn {
        white-space: nowrap;
        font-size: 0.85rem;
        padding: 0.5rem 1rem;
    }

    /* Search form */
    .search-form-inline {
        flex-direction: column;
    }

    .inline-form-row {
        flex-direction: column;
        align-items: stretch;
    }

    .inline-form-row .form-input {
        max-width: 100%;
    }

    /* Content card */
    .content-card {
        padding: 1.25rem;
    }

    /* Pagination */
    .pagination {
        flex-wrap: wrap;
        justify-content: center;
    }

    /* Stat number */
    .stat-number {
        font-size: 1.6rem;
    }

    /* Scroll top */
    .scroll-top-btn {
        bottom: 1rem;
        right: 1rem;
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

/* === Small Mobile (max-width: 480px) === */
@media (max-width: 480px) {

    /* Container */
    .container {
        padding: 0 0.75rem;
    }

    /* Hero */
    .hero {
        padding: 2rem 0 1.5rem;
    }

    .hero-title {
        font-size: 1.25rem;
    }

    .hero-subtitle {
        font-size: 0.85rem;
        margin-bottom: 1.25rem;
    }

    /* Grids collapse to 1 col */
    .stats-grid {
        grid-template-columns: 1fr;
    }

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

    .city-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .photo-gallery {
        grid-template-columns: 1fr;
    }

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

    /* Auth */
    .auth-card {
        padding: 1.25rem;
    }

    .auth-section {
        padding: 2rem 0;
    }

    /* Service card */
    .service-card {
        padding: 1rem;
    }

    .service-icon {
        font-size: 1.5rem;
    }

    /* Company card */
    .card-body {
        padding: 1rem;
        gap: 0.75rem;
    }

    .card-logo,
    .card-logo img,
    .logo-placeholder {
        width: 48px;
        height: 48px;
    }

    .logo-placeholder {
        font-size: 1.2rem;
    }

    .card-footer {
        padding: 0.6rem 1rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
    }

    /* Stat */
    .stat-card {
        padding: 1rem;
    }

    .stat-number {
        font-size: 1.4rem;
    }

    .stat-label {
        font-size: 0.78rem;
    }

    /* Buttons */
    .btn {
        font-size: 0.85rem;
        padding: 0.55rem 1.1rem;
    }

    .btn-lg {
        padding: 0.7rem 1.5rem;
        font-size: 0.9rem;
    }

    /* Alpha */
    .alpha-items {
        gap: 0.35rem;
    }

    .alpha-tag {
        padding: 0.3rem 0.6rem;
        font-size: 0.78rem;
    }

    .alpha-letter {
        font-size: 1.1rem;
    }

    /* Footer */
    .footer {
        padding: 2rem 0 0;
        margin-top: 2rem;
    }

    .footer-bottom {
        font-size: 0.75rem;
    }

    /* Page header */
    .page-header h1 {
        font-size: 1.2rem;
    }

    /* Detail */
    .detail-section {
        padding: 1rem;
    }

    /* WhatsApp */
    .whatsapp-btn {
        width: 100%;
        justify-content: center;
    }

    /* Phone link */
    .phone-link {
        font-size: 1rem;
    }

    /* Hours table */
    .hours-table td:first-child {
        width: 100px;
        font-size: 0.85rem;
    }

    /* FAQ */
    .faq-item summary {
        padding: 0.85rem 1rem;
        font-size: 0.9rem;
    }

    .faq-item p {
        padding: 0.85rem 1rem;
        font-size: 0.85rem;
    }

    /* Breadcrumb */
    .breadcrumb {
        font-size: 0.78rem;
    }

    /* Badge */
    .badge {
        font-size: 0.75rem;
        padding: 0.25rem 0.6rem;
    }
}



/* Footer Social */
.footer-social {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.75rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    font-size: 1.1rem;
    transition: all 0.2s;
    text-decoration: none;
}

.social-link:hover {
    background: var(--color-primary);
    transform: scale(1.1);
}

/* Scroll to Top */
.scroll-top-btn {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 44px;
    height: 44px;
    background: var(--color-primary);
    color: #fff;
    border: none;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    z-index: 100;
}

.scroll-top-btn.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-top-btn:hover {
    background: var(--color-primary-dark);
    transform: translateY(-2px);
}

/* Static Pages */
.content-card {
    background: var(--color-white);
    border-radius: var(--radius);
    padding: 2rem;
    border: 1px solid var(--color-border);
    margin-bottom: 1.5rem;
}

.content-card h2 {
    color: var(--color-dark);
    font-size: 1.2rem;
    margin: 1.5rem 0 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--color-primary-bg);
}

.content-card h2:first-child {
    margin-top: 0;
}

.content-card p {
    color: var(--color-text-light);
    line-height: 1.7;
    margin-bottom: 0.75rem;
}

.content-card ul {
    color: var(--color-text-light);
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.content-card ul li {
    margin-bottom: 0.4rem;
    line-height: 1.6;
}

.content-card a {
    color: var(--color-primary);
    font-weight: 500;
}

/* Feature List (About) */
.feature-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin: 1rem 0;
}

.feature-item {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    background: var(--color-bg-alt);
    border-radius: var(--radius-sm);
}

.feature-icon {
    font-size: 1.8rem;
    flex-shrink: 0;
}

.feature-item h3 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.feature-item p {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    margin: 0;
}

/* Contact Layout */
.contact-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 1.5rem;
}

.contact-info-item {
    display: flex;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--color-border);
}

.contact-info-item:last-child {
    border-bottom: none;
}

.contact-info-item span {
    font-size: 1.5rem;
}

/* FAQ Accordion */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.faq-item {
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.faq-item summary {
    padding: 1rem 1.25rem;
    font-weight: 600;
    cursor: pointer;
    background: var(--color-bg-alt);
    transition: background 0.2s;
    list-style: none;
}

.faq-item summary::before {
    content: '▶ ';
    font-size: 0.7rem;
    margin-right: 0.5rem;
    transition: transform 0.2s;
    display: inline-block;
}

.faq-item[open] summary::before {
    transform: rotate(90deg);
}

.faq-item summary:hover {
    background: var(--color-primary-bg);
}

.faq-item p {
    padding: 1rem 1.25rem;
    color: var(--color-text-light);
    line-height: 1.7;
    margin: 0;
}

/* Legal Content */
.legal-content h2 {
    font-size: 1.1rem;
}

/* WhatsApp Button */
.whatsapp-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.7rem 1.25rem;
    background: #25D366;
    color: #fff;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.2s;
}

.whatsapp-btn:hover {
    background: #1DA851;
    color: #fff;
    transform: translateY(-1px);
}

/* Phone Link */
.phone-link {
    color: var(--color-primary);
    font-weight: 600;
    font-size: 1.1rem;
}

.phone-link:hover {
    color: var(--color-primary-dark);
}

/* Ad Banner */
.ad-banner-container {
    padding: 1rem 0;
}

.ad-banner {
    position: relative;
    margin-bottom: 0.5rem;
    border-radius: var(--radius);
    overflow: hidden;
}

.ad-banner img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: var(--radius);
}

.ad-text-banner {
    padding: 1rem 1.5rem;
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
    color: #fff;
    font-weight: 600;
    text-align: center;
    border-radius: var(--radius);
}

.ad-link {
    text-decoration: none;
}

.ad-label {
    position: absolute;
    top: 0.4rem;
    right: 0.4rem;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    font-size: 0.65rem;
    padding: 0.15rem 0.4rem;
    border-radius: 2px;
    text-transform: uppercase;
}

/* Review Reply */
.review-reply {
    margin-top: 0.75rem;
    padding: 0.75rem 1rem;
    background: var(--color-primary-bg);
    border-left: 3px solid var(--color-primary);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.review-reply strong {
    color: var(--color-primary);
    font-size: 0.9rem;
}

.review-reply p {
    margin: 0.25rem 0;
    font-size: 0.9rem;
    color: var(--color-text-light);
}

.review-reply-form {
    margin-top: 0.5rem;
    padding: 0.5rem 0;
}

/* =============================================
   Tag Selector (Autocomplete)
   ============================================= */
.tag-selector {
    position: relative;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    background: var(--color-white);
    padding: 0.5rem;
    min-height: 46px;
    cursor: text;
}

.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin-bottom: 0.25rem;
}

.tag-item {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.3rem 0.6rem;
    border-radius: 20px;
    white-space: nowrap;
    animation: tagIn 0.2s ease;
}

@keyframes tagIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.tag-remove {
    background: rgba(255, 255, 255, 0.3);
    border: none;
    color: white;
    font-size: 1rem;
    cursor: pointer;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    line-height: 1;
    transition: background 0.15s;
}

.tag-remove:hover {
    background: rgba(255, 255, 255, 0.6);
}

.tag-input-wrap {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.tag-input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 0.9rem;
    padding: 0.25rem 0;
    background: transparent;
    color: var(--color-dark);
    min-width: 120px;
}

.tag-input::placeholder {
    color: var(--color-text-muted);
}

.tag-input:disabled {
    cursor: not-allowed;
}

.tag-counter {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--color-text-muted);
    white-space: nowrap;
}

.tag-dropdown {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    z-index: 100;
    max-height: 200px;
    overflow-y: auto;
    margin-top: 4px;
}

.tag-dropdown-item {
    padding: 0.6rem 0.85rem;
    cursor: pointer;
    font-size: 0.9rem;
    transition: background 0.15s;
    border-bottom: 1px solid var(--color-border);
}

.tag-dropdown-item:last-child {
    border-bottom: none;
}

.tag-dropdown-item:hover {
    background: var(--color-primary);
    color: white;
}

.tag-dropdown-empty {
    padding: 0.6rem 0.85rem;
    color: var(--color-text-muted);
    font-size: 0.85rem;
    text-align: center;
}