/* Google Service Website Styles */

:root {
    --primary-color: #4285f4;
    --secondary-color: #34a853;
    --danger-color: #ea4335;
    --warning-color: #fbbc04;
    --dark-color: #333;
    --light-color: #f5f5f5;
    --border-color: #ddd;
    --text-color: #333;
    --text-light: #666;
    --spacing: 1rem;
    --border-radius: 8px;
    --box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: #fff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing);
}

/* Header */
.main-header {
    background: #fff;
    box-shadow: var(--box-shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo a {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
    text-decoration: none;
}

.main-nav {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.main-nav a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s;
}

.main-nav a:hover {
    color: var(--primary-color);
}

.language-switcher select {
    padding: 0.5rem;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: var(--border-radius);
    text-decoration: none;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s;
    text-align: center;
}

.btn-primary {
    background: var(--primary-color);
    color: #fff;
}

.btn-primary:hover {
    background: #357ae8;
}

.btn-secondary {
    background: var(--text-light);
    color: #fff;
}

.btn-secondary:hover {
    background: #555;
}

.btn-danger {
    background: var(--danger-color);
    color: #fff;
}

.btn-danger:hover {
    background: #d33b2c;
}

.btn-info {
    background: #17a2b8;
    color: #fff;
}

.btn-info:hover {
    background: #138496;
}

.btn-success {
    background: var(--secondary-color);
    color: #fff;
}

.btn-success:hover {
    background: #2d8f3f;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

.btn-block {
    width: 100%;
    
    display: block;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, #34a853 100%);
    color: #fff;
    padding: 4rem 0;
    text-align: center;
}

.hero-section h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.hero-section p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* Sections */
section {
    padding: 3rem 0;
}

.section-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2rem;
}

/* Services Page */
.services-page {
    padding: 2rem 0;
}

/* Service Filters */
.service-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 2rem;
    justify-content: center;
}

.filter-btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    background: #fff;
    color: var(--text-color);
    text-decoration: none;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s;
    white-space: nowrap;
}

.filter-btn:hover {
    background: var(--light-color);
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.filter-btn.active {
    background: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
}

.filter-btn.active:hover {
    background: #357ae8;
    border-color: #357ae8;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.service-card {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--box-shadow);
    transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.service-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.service-card .service-description {
    line-height: 1.8;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.service-card .service-description ul,
.service-card .service-description ol {
    margin: 0.75rem 0;
    padding-left: 1.5rem;
}

.service-card .service-description li {
    margin: 0.5rem 0;
}

.service-card .service-description p {
    margin: 0.75rem 0;
}

.service-price {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--secondary-color);
    margin: 1rem 0;
}

/* Service Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.5);
}

.modal-content {
    background-color: #fefefe;
    margin: 5% auto;
    padding: 2rem;
    border: 1px solid #888;
    border-radius: var(--border-radius);
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    position: relative;
}

.modal-close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    position: absolute;
    right: 1rem;
    top: 1rem;
}

.modal-close:hover,
.modal-close:focus {
    color: #000;
    text-decoration: none;
}

.service-modal-description {
    margin: 1.5rem 0;
    line-height: 1.8;
    color: var(--text-color);
}

.service-modal-description ul,
.service-modal-description ol {
    margin: 1rem 0;
    padding-left: 2rem;
}

.service-modal-description li {
    margin: 0.5rem 0;
}

.service-modal-pricing {
    margin: 1.5rem 0;
    padding: 1rem;
    background: var(--light-color);
    border-radius: var(--border-radius);
}

.service-modal-pricing p {
    margin: 0.5rem 0;
}

.service-modal-actions {
    margin-top: 2rem;
    text-align: center;
}

.service-detail-content .service-description {
    line-height: 1.8;
    margin-bottom: 2rem;
}

.service-detail-content .service-description ul,
.service-detail-content .service-description ol {
    margin: 1rem 0;
    padding-left: 2rem;
}

.service-detail-content .service-description li {
    margin: 0.5rem 0;
}

/* Category Description */
.category-description {
    margin-top: 2.5rem;
    padding: 1.875rem;
    background: #f9f9f9;
    border-radius: var(--border-radius);
    line-height: 1.8;
}

.category-description h1,
.category-description h2,
.category-description h3,
.category-description h4,
.category-description h5,
.category-description h6 {
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.category-description h1:first-child,
.category-description h2:first-child,
.category-description h3:first-child {
    margin-top: 0;
}

.category-description p {
    margin-bottom: 1rem;
}

.category-description ul,
.category-description ol {
    margin: 1rem 0;
    padding-left: 2rem;
}

.category-description li {
    margin: 0.5rem 0;
}

.category-description a {
    color: var(--primary-color);
    text-decoration: none;
}

.category-description a:hover {
    text-decoration: underline;
}

.category-description img {
    max-width: 100%;
    height: auto;
    border-radius: var(--border-radius);
}

.category-description blockquote {
    margin: 1.5rem 0;
    padding: 1rem 1.5rem;
    border-left: 4px solid var(--primary-color);
    background: #f0f0f0;
    font-style: italic;
}

/* GMB Ranking Section */
.gmb-ranking-section {
    background: #fff;
    padding: 4rem 0;
}

.gmb-content-wrapper {
    max-width: 1000px;
    margin: 0 auto;
}

.gmb-main-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.gmb-subtitle {
    font-size: 1.75rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    text-align: center;
}

.gmb-factor-card {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--box-shadow);
    border-left: 4px solid var(--primary-color);
}

.gmb-factor-card h4 {
    color: var(--primary-color);
    font-size: 1.25rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.gmb-factor-card p {
    color: var(--text-color);
    line-height: 1.8;
    margin: 0;
}

.gmb-factor-subsection {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.gmb-factor-subsection:first-child {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}

.gmb-factor-subsection h5 {
    color: var(--secondary-color);
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.gmb-factor-subsection p {
    color: var(--text-light);
    line-height: 1.7;
}

/* Business Categories Section */
.business-categories-section {
    background: var(--light-color);
    padding: 4rem 0;
}

.section-subtitle {
    text-align: center;
    font-size: 1.125rem;
    color: var(--text-light);
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.business-categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.business-category-card {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--box-shadow);
    transition: transform 0.3s, box-shadow 0.3s;
}

.business-category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.business-category-card .category-icon {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 1rem;
}

.business-category-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
    text-align: center;
}

.business-category-card p {
    color: var(--text-light);
    line-height: 1.7;
    margin: 0;
}

/* Forms */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 1rem;
}

.form-group textarea {
    resize: vertical;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

/* Alerts */
.alert {
    padding: 1rem;
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
}

.alert-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.alert-warning {
    background: #fff3cd;
    color: #856404;
    border: 1px solid #ffeaa7;
}

/* Auth Pages */
.auth-page {
    min-height: calc(100vh - 200px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem 0;
}

.auth-container {
    max-width: 400px;
    width: 100%;
    background: #fff;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.auth-form {
    margin-top: 1.5rem;
}

.auth-links {
    margin-top: 1rem;
    text-align: center;
}

/* Dashboard */
.dashboard-page {
    min-height: calc(100vh - 200px);
    background: #fff;
    width: 100%;
    display: block;
}

.dashboard-header {
    margin-bottom: 2rem;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.dashboard-card {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--box-shadow);
}

/* Dashboard Wrapper - for sidebar layout */
.dashboard-wrapper {
    display: flex;
    min-height: calc(100vh - 200px);
    max-width: 100%;
    width: 100%;
}

/* Dashboard Sidebar */
.dashboard-sidebar {
    width: 250px;
    background: #fff;
    border-right: 1px solid var(--border-color);
    padding: 1.5rem 0;
    position: sticky;
    top: 80px;
    height: fit-content;
    max-height: calc(100vh - 80px);
    overflow-y: auto;
}

.sidebar-header {
    padding: 0 1.5rem 1.5rem;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 1rem;
}

.sidebar-logo {
    font-size: 1.25rem;
    font-weight: bold;
    color: var(--primary-color);
    text-decoration: none;
}

.sidebar-nav {
    padding: 0;
}

.sidebar-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-menu-item {
    margin: 0;
}

.sidebar-menu-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.5rem;
    color: var(--text-color);
    text-decoration: none;
    transition: all 0.3s;
}

.sidebar-menu-link:hover {
    background: var(--light-color);
    color: var(--primary-color);
}

.sidebar-menu-item.active .sidebar-menu-link {
    background: var(--primary-color);
    color: #fff;
}

.sidebar-menu-link svg {
    flex-shrink: 0;
}

.sidebar-menu-link span {
    flex: 1;
}

/* Dashboard Content */
.dashboard-content {
    flex: 1;
    padding: 2rem;
    min-width: 0;
}

/* Dashboard Account Page */
.dashboard-account-page {
    padding: 2rem 0;
}

.account-sections {
    display: grid;
    gap: 2rem;
}

.account-section {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--box-shadow);
}

.account-section h2 {
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.account-form {
    max-width: 600px;
}

/* Tables */
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
}

table th,
table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

table th {
    background: var(--light-color);
    font-weight: 600;
}

/* Status Badges */
.status-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
}

.status-active,
.status-completed {
    background: #d4edda;
    color: #155724;
}

.status-pending {
    background: #fff3cd;
    color: #856404;
}

.status-failed,
.status-cancelled {
    background: #f8d7da;
    color: #721c24;
}

.status-paused {
    background: #e2e3e5;
    color: #383d41;
}

/* Badges */
.badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
}

.badge-success {
    background: #d4edda;
    color: #155724;
}

.badge-info {
    background: #d1ecf1;
    color: #0c5460;
}

.badge-warning {
    background: #fff3cd;
    color: #856404;
}

/* Footer */
.main-footer {
    background: var(--dark-color);
    color: #fff;
    padding: 3rem 0 1rem;
    margin-top: 4rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: #fff;
    text-decoration: none;
}

.footer-section a:hover {
    text-decoration: underline;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #555;
}

.footer-links {
    margin-top: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

.footer-link-separator {
    color: #888;
    margin: 0 0.5rem;
}

/* Legal Pages (Privacy Policy, Terms of Use) */
.legal-page {
    padding: 3rem 0;
}

.legal-page h1 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.last-updated {
    color: var(--text-light);
    font-style: italic;
    margin-bottom: 2rem;
}

.legal-content {
    max-width: 900px;
    margin: 0 auto;
}

.legal-content section {
    margin-bottom: 2.5rem;
}

.legal-content h2 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
    margin-top: 2rem;
}

.legal-content section:first-child h2 {
    margin-top: 0;
}

.legal-content p {
    margin-bottom: 1rem;
    line-height: 1.8;
}

.legal-content ul {
    margin-left: 2rem;
    margin-bottom: 1rem;
    line-height: 1.8;
}

.legal-content li {
    margin-bottom: 0.5rem;
}

.legal-content a {
    color: var(--primary-color);
    text-decoration: none;
}

.legal-content a:hover {
    text-decoration: underline;
}

/* Sitemap Page */
.sitemap-page {
    padding: 2rem 0;
}

.sitemap-sections {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.sitemap-section {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    box-shadow: var(--box-shadow);
}

.sitemap-section h2 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.sitemap-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sitemap-list li {
    margin-bottom: 0.75rem;
}

.sitemap-list a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s;
    display: inline-block;
}

.sitemap-list a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

/* Admin */
.admin-dashboard-page {
    padding: 2rem 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.stat-card {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    text-align: center;
    box-shadow: var(--box-shadow);
}

.stat-number {
    font-size: 2rem;
    font-weight: bold;
    color: var(--primary-color);
}

.action-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.action-card {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 2rem;
    text-decoration: none;
    color: var(--text-color);
    transition: transform 0.3s, box-shadow 0.3s;
}

.action-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow);
}

/* Mobile Bottom Navigation */
.mobile-bottom-nav {
    display: none !important;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    border-top: 1px solid var(--border-color);
    box-shadow: 0 -2px 8px rgba(0,0,0,0.1);
    z-index: 1000;
    padding: 0.5rem 0;
    padding-bottom: env(safe-area-inset-bottom, 0.5rem);
    justify-content: space-around;
    align-items: center;
}

/* Dashboard Mobile Menu */
.dashboard-mobile-nav {
    position: relative;
}

.dashboard-mobile-nav .menu-item {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 1;
    min-width: 0;
}

.dashboard-mobile-nav .nav-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 1rem;
    text-decoration: none;
    color: var(--text-light);
    transition: color 0.3s;
    width: 100%;
}

.dashboard-mobile-nav .nav-link:hover,
.dashboard-mobile-nav .nav-link.active {
    color: var(--primary-color);
}

.dashboard-mobile-nav .nav-link svg {
    margin-bottom: 0.25rem;
    flex-shrink: 0;
}

.dashboard-mobile-nav .nav-link span {
    font-size: 0.75rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
    text-align: center;
}

/* Dashboard Mobile Menu Dropdown */
.dashboard-mobile-menu-dropdown {
    display: none !important;
    position: absolute;
    bottom: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid var(--border-color);
    border-bottom: none;
    border-radius: var(--border-radius) var(--border-radius) 0 0;
    box-shadow: 0 -2px 8px rgba(0,0,0,0.1);
    margin-bottom: 0.5rem;
    max-height: 50vh;
    overflow-y: auto;
    z-index: 1001;
}

.dashboard-mobile-menu-dropdown.show {
    display: block !important;
}

.dashboard-mobile-menu-dropdown .dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    text-decoration: none;
    color: var(--text-color);
    border-bottom: 1px solid var(--border-color);
    transition: background 0.3s;
}

.dashboard-mobile-menu-dropdown .dropdown-item:last-child {
    border-bottom: none;
}

.dashboard-mobile-menu-dropdown .dropdown-item:hover {
    background: var(--light-color);
    color: var(--primary-color);
}

.dashboard-mobile-menu-dropdown .dropdown-item svg {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
}

.dashboard-mobile-menu-dropdown .dropdown-item span {
    flex: 1;
}

.mobile-bottom-nav .nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 1rem;
    text-decoration: none;
    color: var(--text-light);
    transition: color 0.3s;
    flex: 1;
    min-width: 0;
}

.mobile-bottom-nav .nav-item svg {
    margin-bottom: 0.25rem;
    flex-shrink: 0;
}

.mobile-bottom-nav .nav-item span {
    font-size: 0.75rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
    text-align: center;
}

.mobile-bottom-nav .nav-item:hover,
.mobile-bottom-nav .nav-item:active {
    color: var(--primary-color);
}

.mobile-bottom-nav .language-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 1rem;
    flex: 1;
    min-width: 0;
}

.mobile-bottom-nav .language-item svg {
    margin-bottom: 0.25rem;
    flex-shrink: 0;
}

.mobile-bottom-nav .mobile-language-select {
    border: none;
    background: transparent;
    color: var(--text-light);
    font-size: 0.75rem;
    padding: 0.25rem;
    cursor: pointer;
    text-align: center;
    width: 100%;
}

.mobile-bottom-nav .mobile-language-select:focus {
    outline: none;
    color: var(--primary-color);
}

.mobile-bottom-nav .language-item:focus-within svg,
.mobile-bottom-nav .language-item:focus-within {
    color: var(--primary-color);
}

/* Add padding to main content for mobile bottom nav */
body {
    padding-bottom: 0;
}

/* Success Cases Page */
.success-cases-page {
    padding: 2rem 0;
}

.success-cases-page h1 {
    margin-bottom: 2rem;
    text-align: center;
    color: var(--dark-color);
}

.cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.case-card {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: transform 0.3s, box-shadow 0.3s;
}

.case-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.case-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: var(--light-color);
}

.case-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.case-content {
    padding: 1.5rem;
}

.case-content h3 {
    margin: 0 0 1rem 0;
    color: var(--primary-color);
    font-size: 1.5rem;
}

.case-meta {
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.case-meta p {
    margin: 0.5rem 0;
    color: var(--text-light);
    font-size: 0.9rem;
}

.case-challenge,
.case-solution,
.case-results {
    margin: 1.5rem 0;
}

.case-challenge h4,
.case-solution h4,
.case-results h4 {
    margin: 0 0 0.75rem 0;
    color: var(--dark-color);
    font-size: 1.1rem;
    font-weight: 600;
}

.case-challenge p,
.case-solution p,
.case-results p {
    margin: 0;
    color: var(--text-color);
    line-height: 1.6;
}

.case-results {
    background: var(--light-color);
    padding: 1rem;
    border-radius: var(--border-radius);
    border-left: 4px solid var(--secondary-color);
}

.case-results h4 {
    color: var(--secondary-color);
}

/* Admin Success Cases Page */
.admin-success-cases-page {
    padding: 2rem 0;
}

.case-form-section {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 2rem;
    margin-bottom: 2rem;
}

.case-form-section h2 {
    margin-top: 0;
    margin-bottom: 1.5rem;
}

.cases-filters {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.cases-filters .filter-btn {
    padding: 0.75rem 1.5rem;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    text-decoration: none;
    color: var(--text-color);
    background: #fff;
    transition: all 0.3s;
}

.cases-filters .filter-btn:hover {
    background: var(--light-color);
}

.cases-filters .filter-btn.active {
    background: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
}

.cases-list {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    overflow: hidden;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
}

.admin-table thead {
    background: var(--light-color);
}

.admin-table th {
    padding: 1rem;
    text-align: left;
    font-weight: 600;
    color: var(--dark-color);
    border-bottom: 2px solid var(--border-color);
}

.admin-table td {
    padding: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.admin-table tr:hover {
    background: var(--light-color);
}

.admin-table .btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    margin-right: 0.5rem;
}

/* GMB Stores Page */
.dashboard-gmb-stores-page {
    padding: 2rem 0;
}

.stores-list {
    margin-top: 2rem;
}

.list-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.stores-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.store-card {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    box-shadow: var(--box-shadow);
}

.store-card .card-info h3 {
    margin-top: 0;
    margin-bottom: 0.5rem;
}

.store-card .card-info p {
    margin: 0.5rem 0;
    color: var(--text-light);
}

.store-address {
    white-space: pre-line;
}

.card-actions {
    margin-top: 1rem;
    display: flex;
    gap: 0.5rem;
}

.store-item {
    padding: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.store-item:last-child {
    border-bottom: none;
}

/* Orders Page */
.dashboard-orders-page {
    padding: 2rem 0;
}

.order-detail-section {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--box-shadow);
}

.order-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--border-color);
}

.order-info {
    margin-bottom: 2rem;
}

.info-row {
    display: flex;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--light-color);
}

.info-row strong {
    min-width: 150px;
    color: var(--text-light);
}

/* Order Steps Progress */
.order-steps {
    margin-top: 2rem;
}

.steps-container {
    position: relative;
    padding: 2rem 0;
}

.step-item {
    position: relative;
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
    padding-left: 3rem;
}

.step-item:last-child {
    margin-bottom: 0;
}

.step-number {
    position: absolute;
    left: 0;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    flex-shrink: 0;
    border: 3px solid var(--border-color);
    background: #fff;
    z-index: 2;
}

.step-number-text {
    font-size: 1rem;
}

.step-icon {
    font-size: 1.2rem;
    color: #fff;
}

.step-content {
    flex: 1;
}

.step-content h4 {
    margin: 0 0 0.5rem 0;
    font-size: 1.1rem;
}

.step-content p {
    margin: 0;
    color: var(--text-light);
    font-size: 0.9rem;
}

.step-connector {
    position: absolute;
    left: 1.25rem;
    top: 2.5rem;
    width: 3px;
    height: calc(100% + 0.5rem);
    background: var(--border-color);
    z-index: 1;
}

.step-item:last-child .step-connector {
    display: none;
}

/* Step States */
.step-completed .step-number {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
    color: #fff;
}

.step-active .step-number {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
}

.step-active .step-content h4 {
    color: var(--primary-color);
    font-weight: 600;
}

.step-pending .step-number {
    background: #fff;
    border-color: var(--border-color);
    color: var(--text-light);
}

.step-completed .step-connector {
    background: var(--secondary-color);
}

.step-active .step-connector {
    background: linear-gradient(to bottom, var(--secondary-color) 0%, var(--primary-color) 100%);
}

/* Step Badges */
.step-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
    background: var(--light-color);
    color: var(--text-color);
}

.step-badge.step-register_account {
    background: #e3f2fd;
    color: #1976d2;
}

.step-badge.step-request_access {
    background: #fff3e0;
    color: #f57c00;
}

.step-badge.step-in_preparation {
    background: #f3e5f5;
    color: #7b1fa2;
}

.step-badge.step-processing {
    background: #e8f5e9;
    color: #388e3c;
}

.step-badge.step-completed {
    background: #d4edda;
    color: #155724;
}

/* Orders Table */
.orders-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.orders-table thead {
    background: var(--light-color);
}

.orders-table th {
    padding: 1rem;
    text-align: left;
    font-weight: 600;
    color: var(--dark-color);
}

.orders-table td {
    padding: 1rem;
    border-top: 1px solid var(--border-color);
}

.orders-table tbody tr:hover {
    background: var(--light-color);
}

.order-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.order-item:last-child {
    border-bottom: none;
}

.order-meta {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-top: 0.5rem;
}

/* Admin Orders Page */
.admin-orders-page {
    padding: 2rem 0;
}

.filters {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.filter-form {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.filter-form .form-group {
    flex: 1;
    min-width: 200px;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.5);
}

.modal-content {
    background-color: #fff;
    margin: 5% auto;
    padding: 2rem;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    width: 90%;
    max-width: 600px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    position: relative;
}

.close {
    position: absolute;
    right: 1rem;
    top: 1rem;
    font-size: 2rem;
    font-weight: bold;
    color: var(--text-light);
    cursor: pointer;
    line-height: 1;
}

.close:hover {
    color: var(--text-color);
}

.order-details {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.form-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.order-notes {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.order-notes pre {
    background: var(--light-color);
    padding: 1rem;
    border-radius: var(--border-radius);
    white-space: pre-wrap;
    word-wrap: break-word;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 3rem 1rem;
    color: var(--text-light);
}

.empty-state p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

/* Responsive */
@media (max-width: 768px) {
    .header-content {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
    
    .main-nav {
        display: none;
    }
    
    .main-header .language-switcher {
        display: none;
    }
    
    .mobile-bottom-nav {
        display: flex !important;
    }
    
    .main-content {
        padding-bottom: 70px;
    }
    
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .service-filters {
        justify-content: flex-start;
        gap: 0.5rem;
    }
    
    .filter-btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .business-categories-grid {
        grid-template-columns: 1fr;
    }
    
    .dashboard-grid {
        grid-template-columns: 1fr;
    }
    
    .cases-grid {
        grid-template-columns: 1fr;
    }
    
    .admin-table {
        font-size: 0.875rem;
    }
    
    .admin-table th,
    .admin-table td {
        padding: 0.75rem 0.5rem;
    }
    
    .main-footer {
        margin-bottom: 70px;
    }
}

@media (min-width: 769px) {
    .mobile-bottom-nav {
        display: none !important;
    }
    
    .main-nav {
        display: flex;
    }
    
    .main-header .language-switcher {
        display: block;
    }
    
    .main-content {
        padding-bottom: 0;
    }
    
    .main-footer {
        margin-bottom: 0;
    }
    
    /* Dashboard sidebar on desktop */
    .dashboard-sidebar {
        display: block !important;
    }
}

@media (max-width: 768px) {
    /* Hide sidebar on mobile */
    .dashboard-sidebar {
        display: none !important;
    }
    
    /* Full width content on mobile */
    .dashboard-content {
        padding: 1rem;
    }
    
    .dashboard-wrapper {
        flex-direction: column;
    }
}

/* Flow section (How it works) */
.flow-section {
    padding: 2.5rem 0;
    background: var(--light-color);
}
.flow-section .section-title {
    text-align: center;
    margin-bottom: 1.5rem;
}
.flow-steps {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}
.flow-step {
    flex: 1 1 140px;
    max-width: 160px;
    text-align: center;
    padding: 1rem;
    background: #fff;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}
.flow-step .flow-num {
    display: inline-block;
    width: 2rem;
    height: 2rem;
    line-height: 2rem;
    border-radius: 50%;
    background: var(--primary-color);
    color: #fff;
    font-weight: bold;
    margin-bottom: 0.5rem;
}
.flow-step p {
    font-size: 0.9rem;
    margin: 0;
    color: var(--text-light);
}
.flow-cta {
    text-align: center;
    margin: 0;
}
.flow-cta .btn { margin: 0 0.25rem; }

/* GMB access status badge */
.access-badge {
    display: inline-block;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 500;
}
.access-badge.access-pending {
    background: #fef3c7;
    color: #92400e;
}
.access-badge.access-approved {
    background: #d1fae5;
    color: #065f46;
}
.flow-intro {
    color: var(--text-light);
    margin-bottom: 1rem;
    font-size: 0.95rem;
}
.form-hint {
    display: block;
    margin-top: 0.25rem;
    font-size: 0.85rem;
    color: var(--text-light);
}

.contact-ai-callout {
    background: #f0f9ff;
    border: 1px solid #bae6fd;
    border-radius: var(--border-radius);
    padding: 1rem;
    margin-bottom: 1.5rem;
}
.contact-ai-callout .need-human {
    margin: 0.5rem 0 0;
    font-size: 0.95rem;
}
.contact-ai-callout a { color: var(--primary-color); }

/* AI Chat widget */
.ai-chat-widget { position: fixed; bottom: 1rem; right: 1rem; z-index: 9999; font-size: 14px; }
.ai-chat-toggle {
    width: 56px; height: 56px; border-radius: 50%;
    background: var(--primary-color); color: #fff; border: none;
    box-shadow: 0 2px 12px rgba(0,0,0,0.2); cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    padding: 0; line-height: 1;
}
.ai-chat-toggle-icon { font-size: 12px; padding: 0 4px; text-align: center; }
.ai-chat-panel {
    position: absolute; bottom: 64px; right: 0;
    width: 360px; max-width: calc(100vw - 2rem);
    background: #fff; border-radius: 12px; box-shadow: 0 4px 24px rgba(0,0,0,0.15);
    display: flex; flex-direction: column; max-height: 420px;
}
.ai-chat-header {
    padding: 12px 16px; border-bottom: 1px solid var(--border-color);
    display: flex; justify-content: space-between; align-items: center;
}
.ai-chat-header h3 { margin: 0; font-size: 1rem; }
.ai-chat-close { background: none; border: none; font-size: 1.5rem; cursor: pointer; color: var(--text-light); line-height: 1; padding: 0 4px; }
.ai-chat-messages { flex: 1; overflow-y: auto; padding: 12px; min-height: 160px; max-height: 240px; }
.ai-chat-bubble { margin-bottom: 10px; padding: 8px 12px; border-radius: 12px; max-width: 90%; word-wrap: break-word; }
.ai-chat-bubble.ai-chat-user { margin-left: auto; background: var(--primary-color); color: #fff; }
.ai-chat-bubble.ai-chat-assistant { background: var(--light-color); color: var(--text-color); }
.ai-chat-human { padding: 8px 12px; border-top: 1px solid var(--border-color); font-size: 12px; color: var(--text-light); }
.ai-chat-human a { color: var(--primary-color); }
.ai-chat-input-wrap { padding: 10px; border-top: 1px solid var(--border-color); display: flex; gap: 8px; align-items: flex-end; }
.ai-chat-input { flex: 1; padding: 8px 10px; border: 1px solid var(--border-color); border-radius: 8px; resize: none; font-family: inherit; }
.ai-chat-send { padding: 8px 14px; background: var(--primary-color); color: #fff; border: none; border-radius: 8px; cursor: pointer; white-space: nowrap; }
.ai-chat-send:disabled { opacity: 0.7; cursor: not-allowed; }
