/*
Theme Name: Karen's Theme
Description: A super clean and modern business directory theme with advanced search functionality, responsive design, and beautiful UI components. Perfect for local business directories, professional listings, and community portals.
Version: 1.0.0
Author: Karen's Theme Team
Author URI: https://karenstheme.com
Theme URI: https://karenstheme.com/themes/karens-theme
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: karens-theme
Domain Path: /languages
Tags: business, directory, responsive, modern, clean, professional, listings, search, ajax, mobile-friendly
Requires at least: 5.0
Tested up to: 6.4
Requires PHP: 7.4
*/

/**
 * Karen's Theme - Super Clean Business Directory Theme
 * Version: 1.0.0
 */

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
    line-height: 1.6;
    color: #2c3e50;
    background: #f8fafc;
    overflow-x: hidden;
}

/* Hide specific WordPress elements that conflict with theme */
.wp-block-post-title,
.wp-block-post-content,
.wp-block-post-date,
.wp-block-post-author,
.wp-block-site-title,
.wp-block-site-tagline {
    display: none;
}

/* Ensure admin bar compatibility */
body.admin-bar {
    margin-top: 32px;
}

@media screen and (max-width: 782px) {
    body.admin-bar {
        margin-top: 46px;
    }
}

/* Container System */
.kt-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.kt-container-fluid {
    width: 100%;
    padding: 0 20px;
}

/* Header */
.kt-header {
    background: #ffffff;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid #e2e8f0;
}

.kt-header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
    min-height: 70px;
}

.kt-logo {
    font-size: 1.75rem;
    font-weight: 700;
    color: #1a202c;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.kt-logo:hover {
    color: #3182ce;
}

.kt-nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.kt-nav-link {
    color: #4a5568;
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.kt-nav-link:hover,
.kt-nav-link.active {
    color: #3182ce;
    background: #ebf8ff;
}

.kt-user-menu {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Hero Section */
.kt-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.kt-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="white" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="white" opacity="0.1"/><circle cx="50" cy="10" r="1" fill="white" opacity="0.1"/><circle cx="10" cy="60" r="1" fill="white" opacity="0.1"/><circle cx="90" cy="40" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

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

.kt-hero h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.kt-hero p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Search Section */
.kt-search-section {
    background: white;
    padding: 2rem 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    margin-top: -2rem;
    position: relative;
    z-index: 10;
    border-radius: 12px;
    margin-left: 20px;
    margin-right: 20px;
}

.kt-search-form {
    display: flex;
    max-width: 800px;
    margin: 0 auto;
    background: white;
    border-radius: 12px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.12);
    overflow: hidden;
    border: 1px solid #e2e8f0;
}

.kt-search-input {
    flex: 1;
    padding: 1.25rem 1.5rem;
    border: none;
    font-size: 1.1rem;
    outline: none;
    background: transparent;
}

.kt-search-input::placeholder {
    color: #a0aec0;
}

.kt-search-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 1.25rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.kt-search-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.4);
}

/* Filters */
.kt-filters {
    background: white;
    padding: 1.5rem 0;
    border-bottom: 1px solid #e2e8f0;
}

.kt-filters-content {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    flex-wrap: wrap;
}

.kt-filter-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    min-width: 150px;
}

.kt-filter-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: #4a5568;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.kt-filter-select,
.kt-filter-input {
    padding: 0.75rem 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 0.95rem;
    outline: none;
    transition: all 0.2s ease;
    background: white;
}

.kt-filter-select:focus,
.kt-filter-input:focus {
    border-color: #3182ce;
    box-shadow: 0 0 0 3px rgba(49, 130, 206, 0.1);
}

.kt-filter-actions {
    display: flex;
    gap: 0.75rem;
    margin-left: auto;
}

/* Main Content */
.kt-main {
    padding: 3rem 0;
    min-height: 60vh;
}

.kt-section-title {
    font-size: 2rem;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 2rem;
    text-align: center;
}

/* Business Grid */
.kt-business-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.kt-business-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
    position: relative;
}

.kt-business-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.kt-business-image {
    height: 200px;
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    position: relative;
    overflow: hidden;
}

.kt-business-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.kt-business-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.3));
}

.kt-verified-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: #48bb78;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    z-index: 2;
}

.kt-business-content {
    padding: 1.5rem;
}

.kt-business-header {
    margin-bottom: 1rem;
}

.kt-business-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 0.5rem;
    text-decoration: none;
}

.kt-business-name:hover {
    color: #3182ce;
}

.kt-business-category {
    display: inline-block;
    background: #edf2f7;
    color: #4a5568;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.kt-business-info {
    margin-bottom: 1rem;
}

.kt-business-description {
    color: #718096;
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.kt-business-location {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #4a5568;
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
}

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

.kt-stars {
    display: flex;
    gap: 0.125rem;
}

.kt-star {
    color: #fbbf24;
    font-size: 1rem;
}

.kt-star.empty {
    color: #e5e7eb;
}

.kt-rating-text {
    color: #6b7280;
    font-size: 0.875rem;
}

.kt-business-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

/* Buttons */
.kt-btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.2s ease;
    text-align: center;
    justify-content: center;
}

.kt-btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.kt-btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.kt-btn-secondary {
    background: #f7fafc;
    color: #4a5568;
    border: 2px solid #e2e8f0;
}

.kt-btn-secondary:hover {
    background: #edf2f7;
    border-color: #cbd5e0;
}

.kt-btn-outline {
    background: transparent;
    color: #3182ce;
    border: 2px solid #3182ce;
}

.kt-btn-outline:hover {
    background: #3182ce;
    color: white;
}

.kt-btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

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

/* Modals */
.kt-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    padding: 1rem;
}

.kt-modal.active {
    opacity: 1;
    visibility: visible;
}

.kt-modal-content {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.kt-modal.active .kt-modal-content {
    transform: scale(1);
}

.kt-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: #f7fafc;
    border: none;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: #4a5568;
    transition: all 0.2s ease;
}

.kt-modal-close:hover {
    background: #edf2f7;
    color: #2d3748;
}

.kt-modal-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 1.5rem;
}

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

.kt-form-label {
    display: block;
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.kt-form-input,
.kt-form-select,
.kt-form-textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 1rem;
    outline: none;
    transition: all 0.2s ease;
    background: white;
}

.kt-form-input:focus,
.kt-form-select:focus,
.kt-form-textarea:focus {
    border-color: #3182ce;
    box-shadow: 0 0 0 3px rgba(49, 130, 206, 0.1);
}

.kt-form-textarea {
    resize: vertical;
    min-height: 100px;
}

.kt-form-row {
    display: flex;
    gap: 1rem;
}

.kt-form-row .kt-form-group {
    flex: 1;
}

/* Footer */
.kt-footer {
    background: #1a202c;
    color: #a0aec0;
    padding: 3rem 0 2rem;
    margin-top: 4rem;
}

.kt-footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.kt-footer-section h3 {
    color: white;
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.kt-footer-section ul {
    list-style: none;
}

.kt-footer-section ul li {
    margin-bottom: 0.5rem;
}

.kt-footer-section ul li a {
    color: #a0aec0;
    text-decoration: none;
    transition: color 0.2s ease;
}

.kt-footer-section ul li a:hover {
    color: white;
}

.kt-footer-bottom {
    border-top: 1px solid #2d3748;
    padding-top: 2rem;
    text-align: center;
    color: #718096;
}

/* Utilities */
.kt-text-center { text-align: center; }
.kt-text-left { text-align: left; }
.kt-text-right { text-align: right; }

.kt-mb-1 { margin-bottom: 0.25rem; }
.kt-mb-2 { margin-bottom: 0.5rem; }
.kt-mb-3 { margin-bottom: 0.75rem; }
.kt-mb-4 { margin-bottom: 1rem; }
.kt-mb-5 { margin-bottom: 1.25rem; }
.kt-mb-6 { margin-bottom: 1.5rem; }

.kt-mt-1 { margin-top: 0.25rem; }
.kt-mt-2 { margin-top: 0.5rem; }
.kt-mt-3 { margin-top: 0.75rem; }
.kt-mt-4 { margin-top: 1rem; }
.kt-mt-5 { margin-top: 1.25rem; }
.kt-mt-6 { margin-top: 1.5rem; }

.kt-hidden { display: none; }
.kt-visible { display: block; }

/* Loading States */
.kt-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem;
}

.kt-spinner {
    width: 2rem;
    height: 2rem;
    border: 3px solid #e5e7eb;
    border-top: 3px solid #3182ce;
    border-radius: 50%;
    animation: kt-spin 1s linear infinite;
}

@keyframes kt-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Notifications */
.kt-notification {
    position: fixed;
    top: 2rem;
    right: 2rem;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    color: white;
    font-weight: 500;
    z-index: 10001;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    max-width: 400px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.kt-notification.show {
    transform: translateX(0);
}

.kt-notification-success {
    background: #48bb78;
}

.kt-notification-error {
    background: #f56565;
}

.kt-notification-info {
    background: #4299e1;
}

/* No Results */
.kt-no-results {
    text-align: center;
    padding: 4rem 2rem;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #e2e8f0;
}

.kt-no-results-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 1rem;
}

.kt-no-results-content p {
    color: #718096;
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

/* Search Results Header */
.kt-search-results-header {
    margin-bottom: 2rem;
    text-align: center;
}

.kt-results-count {
    color: #718096;
    font-weight: 400;
    font-size: 1.5rem;
}

.kt-search-query {
    color: #4a5568;
    font-size: 1.1rem;
    margin-top: 0.5rem;
}

/* Pagination */
.kt-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-top: 3rem;
}

.kt-pagination a,
.kt-pagination span {
    padding: 0.75rem 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    text-decoration: none;
    color: #4a5568;
    font-weight: 500;
    transition: all 0.2s ease;
}

.kt-pagination a:hover {
    border-color: #3182ce;
    color: #3182ce;
    background: #ebf8ff;
}

.kt-pagination .current {
    background: #3182ce;
    color: white;
    border-color: #3182ce;
}

.kt-pagination .disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Mobile Menu */
.kt-mobile-menu-toggle {
    display: none;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .kt-hero h1 {
        font-size: 2.5rem;
    }
    
    .kt-business-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .kt-container {
        padding: 0 15px;
    }
    
    .kt-header-content {
        flex-wrap: wrap;
        gap: 1rem;
    }
    
    .kt-nav {
        order: 3;
        width: 100%;
        justify-content: center;
        gap: 1rem;
    }
    
    .kt-mobile-menu-toggle {
        display: block;
    }
    
    .kt-hero {
        padding: 3rem 0;
    }
    
    .kt-hero h1 {
        font-size: 2rem;
    }
    
    .kt-hero p {
        font-size: 1.1rem;
    }
    
    .kt-search-form {
        flex-direction: column;
    }
    
    .kt-search-btn {
        border-radius: 0 0 12px 12px;
    }
    
    .kt-filters-content {
        flex-direction: column;
        align-items: stretch;
    }
    
    .kt-filter-group {
        min-width: auto;
    }
    
    .kt-filter-actions {
        margin-left: 0;
        justify-content: center;
    }
    
    .kt-business-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .kt-business-actions {
        flex-direction: column;
    }
    
    .kt-form-row {
        flex-direction: column;
    }
    
    .kt-modal-content {
        padding: 1.5rem;
        margin: 0.5rem;
    }
    
    .kt-footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .kt-pagination {
        flex-wrap: wrap;
        gap: 0.25rem;
    }
}

@media (max-width: 480px) {
    .kt-hero h1 {
        font-size: 1.75rem;
    }
    
    .kt-search-section {
        margin-left: 10px;
        margin-right: 10px;
    }
    
    .kt-business-card {
        border-radius: 12px;
    }
    
    .kt-business-content {
        padding: 1rem;
    }
    
    .kt-notification {
        right: 1rem;
        left: 1rem;
        max-width: none;
    }
}

/* Business Details Styles */
.kt-business-details {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.kt-business-details-header {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
    align-items: flex-start;
}

.kt-business-details-image {
    flex: 0 0 300px;
    height: 200px;
    border-radius: 12px;
    overflow: hidden;
}

.kt-business-details-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.kt-business-details-info {
    flex: 1;
}

.kt-business-details-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #1a202c;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.kt-business-details-meta {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.kt-business-details-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
}

.kt-business-details-main {
    min-width: 0;
}

.kt-business-details-sidebar {
    position: sticky;
    top: 2rem;
    height: fit-content;
}

.kt-business-section {
    margin-bottom: 3rem;
}

.kt-business-section h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid #e2e8f0;
    padding-bottom: 0.5rem;
}

.kt-contact-info {
    display: grid;
    gap: 1.5rem;
}

.kt-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: #f8fafc;
    border-radius: 8px;
}

.kt-contact-icon {
    font-size: 1.25rem;
    flex-shrink: 0;
}

.kt-contact-details strong {
    display: block;
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.25rem;
}

.kt-contact-details p {
    color: #6b7280;
    margin: 0;
}

.kt-contact-details a {
    color: #3182ce;
    text-decoration: none;
}

.kt-contact-details a:hover {
    text-decoration: underline;
}

.kt-reviews-list {
    display: grid;
    gap: 1.5rem;
}

.kt-review-item {
    padding: 1.5rem;
    background: #f8fafc;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}

.kt-review-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.kt-review-author strong {
    color: #1a202c;
    font-weight: 600;
}

.kt-review-rating {
    margin-top: 0.25rem;
}

.kt-review-date {
    color: #6b7280;
    font-size: 0.875rem;
}

.kt-review-content p {
    color: #4a5568;
    line-height: 1.6;
    margin: 0;
}

.kt-no-reviews {
    text-align: center;
    color: #6b7280;
    font-style: italic;
    padding: 2rem;
}

.kt-add-review-section {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #e2e8f0;
}

.kt-add-review-section h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1a202c;
    margin-bottom: 1rem;
}

.kt-rating-input {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 1rem;
}

.kt-rating-input input[type="radio"] {
    display: none;
}

.kt-star-label {
    font-size: 1.5rem;
    color: #e5e7eb;
    cursor: pointer;
    transition: color 0.2s ease;
}

.kt-star-label:hover,
.kt-star-label.active,
.kt-rating-input input[type="radio"]:checked ~ .kt-star-label {
    color: #fbbf24;
}

.kt-business-actions {
    display: grid;
    gap: 1rem;
    margin-bottom: 2rem;
}

.kt-business-stats {
    background: #f8fafc;
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}

.kt-business-stats h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1a202c;
    margin-bottom: 1rem;
}

.kt-stat-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid #e2e8f0;
}

.kt-stat-item:last-child {
    border-bottom: none;
}

.kt-stat-number {
    font-size: 1.25rem;
    font-weight: 700;
    color: #3182ce;
}

.kt-stat-label {
    color: #6b7280;
    font-size: 0.875rem;
}

.kt-login-prompt {
    text-align: center;
    padding: 2rem;
    background: #f8fafc;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}

.kt-error {
    color: #f56565;
    text-align: center;
    padding: 2rem;
    background: #fed7d7;
    border-radius: 8px;
    border: 1px solid #feb2b2;
}

/* Pagination Styles */
.kt-pagination-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.kt-pagination-link {
    padding: 0.75rem 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    text-decoration: none;
    color: #4a5568;
    font-weight: 500;
    transition: all 0.2s ease;
    background: white;
}

.kt-pagination-link:hover:not(.disabled) {
    border-color: #3182ce;
    color: #3182ce;
    background: #ebf8ff;
}

.kt-pagination-link.current {
    background: #3182ce;
    color: white;
    border-color: #3182ce;
}

.kt-pagination-link.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.kt-pagination-dots {
    padding: 0.75rem 0.5rem;
    color: #6b7280;
}

.kt-pagination-info {
    text-align: center;
    color: #6b7280;
    font-size: 0.875rem;
}

.kt-pagination-info p {
    margin: 0;
}

/* Form Error Styles */
.kt-form-input.error,
.kt-form-select.error,
.kt-form-textarea.error {
    border-color: #f56565;
    box-shadow: 0 0 0 3px rgba(245, 101, 101, 0.1);
}

.kt-field-error {
    color: #f56565;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

/* Loading Overlay */
#kt-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.9);
    z-index: 9999;
    display: none;
}

/* Mobile Responsive for Business Details */
@media (max-width: 768px) {
    .kt-business-details {
        padding: 1rem;
    }
    
    .kt-business-details-header {
        flex-direction: column;
        gap: 1rem;
    }
    
    .kt-business-details-image {
        flex: none;
        width: 100%;
        height: 200px;
    }
    
    .kt-business-details-title {
        font-size: 2rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .kt-business-details-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .kt-business-details-sidebar {
        position: static;
    }
    
    .kt-contact-item {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    
    .kt-review-header {
        flex-direction: column;
        gap: 0.5rem;
        align-items: flex-start;
    }
}

/* Print Styles */
@media print {
    .kt-header,
    .kt-footer,
    .kt-btn,
    .kt-modal {
        display: none !important;
    }
    
    .kt-business-card {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ccc;
    }
}
