/*
Theme Name: KeralaBiz Business Directory
Description: A custom WordPress theme for Kerala's local business directory with user submission and approval workflow
Version: 1.0
Author: KeralaBiz
Text Domain: keralabiz
*/

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #f0f7f4 0%, #e8f5e9 100%);
    min-height: 100vh;
}

/* Header Styles - Modern */
.site-header {
    background: white;
    color: #1a1a1a;
    padding: 1.25rem 0;
    box-shadow: 0 2px 20px rgba(0,0,0,0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(45, 134, 89, 0.1);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-title {
    font-size: 1.75rem;
    font-weight: 700;
    text-decoration: none;
    background: linear-gradient(135deg, #2d8659 0%, #1a5d3a 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: all 0.3s ease;
}

.site-title:hover {
    transform: scale(1.05);
}

.main-navigation ul {
    list-style: none;
    display: flex;
    gap: 2rem;
    align-items: center;
    margin: 0;
    padding: 0;
}

.main-navigation li {
    margin: 0;
}

.main-navigation a {
    color: #1a1a1a;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    padding: 0.5rem 0;
    position: relative;
}

.main-navigation a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, #2d8659 0%, #1a5d3a 100%);
    transition: width 0.3s ease;
}

.main-navigation a:hover {
    color: #2d8659;
}

.main-navigation a:hover::after {
    width: 100%;
}

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

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

/* Business Grid - Modern Style */
.business-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.business-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(0,0,0,0.05);
}

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

.business-card.featured {
    border: 2px solid #2d8659;
    position: relative;
}

.business-image-container {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
}

.business-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.business-card:hover .business-image {
    transform: scale(1.1);
}

.featured-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: linear-gradient(135deg, #2d8659 0%, #1a5d3a 100%);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(45, 134, 89, 0.3);
    z-index: 1;
}

.business-content {
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.business-title {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: #1a1a1a;
    line-height: 1.3;
}

.business-title a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s;
}

.business-title a:hover {
    color: #2d8659;
}

.business-meta {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.business-location {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #666;
}

.business-location svg {
    color: #2d8659;
    flex-shrink: 0;
}

.business-location a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s;
}

.business-location a:hover {
    color: #2d8659;
}

.business-category {
    display: inline-block;
    background: linear-gradient(135deg, #2d8659 0%, #1a5d3a 100%);
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.business-description {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1rem;
    font-size: 0.95rem;
    flex: 1;
}

.business-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.feature-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    color: #1a5d3a;
    padding: 0.4rem 0.85rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.feature-tag.more {
    background: #c8e6c9;
    font-weight: 600;
}

.business-contact {
    display: flex;
    gap: 0.75rem;
    margin-top: auto;
    flex-wrap: wrap;
}

.contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    background: linear-gradient(135deg, #2d8659 0%, #1a5d3a 100%);
    color: white;
    text-decoration: none;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    flex: 1;
    justify-content: center;
    min-width: 100px;
}

.contact-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(45, 134, 89, 0.4);
    color: white;
}

.contact-btn.secondary {
    background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
}

.contact-btn.secondary:hover {
    box-shadow: 0 4px 15px rgba(17, 153, 142, 0.4);
    color: white;
}

/* Single Business Page - Modern Style */
.business-single {
    background: transparent;
    margin-bottom: 2rem;
}

/* Modern Header Section */
.business-header-modern {
    background: white;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    overflow: hidden;
    margin-bottom: 2rem;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 2rem;
    align-items: center;
    padding: 2rem;
}

.business-header-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.business-title-section {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.business-title-modern {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0;
    line-height: 1.2;
}

.business-meta-modern {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.business-location-modern {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #666;
    font-size: 1rem;
}

.business-location-modern svg {
    color: #1a5d3a;
    flex-shrink: 0;
}

.business-location-modern a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s;
}

.business-location-modern a:hover {
    color: #1a5d3a;
}

.business-category-modern {
    display: inline-block;
    background: linear-gradient(135deg, #2d8659 0%, #1a5d3a 100%);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Quick Action Buttons */
.business-quick-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.action-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    white-space: nowrap;
}

.action-btn-primary {
    background: linear-gradient(135deg, #2d8659 0%, #1a5d3a 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(45, 134, 89, 0.4);
}

.action-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(45, 134, 89, 0.5);
    color: white;
}

.action-btn-success {
    background: linear-gradient(135deg, #20b2aa 0%, #2d8659 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(32, 178, 170, 0.3);
}

.action-btn-success:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(32, 178, 170, 0.4);
    color: white;
}

.action-btn-outline {
    background: white;
    color: #2d8659;
    border: 2px solid #2d8659;
}

.action-btn-outline:hover {
    background: #2d8659;
    color: white;
}

/* Hero Image */
.business-hero-image-modern {
    width: 300px;
    height: 200px;
    border-radius: 12px;
    overflow: hidden;
    flex-shrink: 0;
}

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

/* Business Details */
.business-details-modern {
    padding: 0;
}

.business-info-grid-modern {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
}

.business-main-content-modern {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Info Cards */
.info-card-modern {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
    transition: box-shadow 0.3s ease;
    border: 1px solid rgba(0,0,0,0.05);
}

.info-card-modern:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.08), 0 2px 4px rgba(0,0,0,0.06);
}

.section-title-modern {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 1.5rem 0;
    padding-bottom: 1rem;
    border-bottom: 2px solid #f0f0f0;
}

.business-description-full-modern {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #555;
}

.business-description-full-modern p {
    margin-bottom: 1rem;
}

.business-description-full-modern p:last-child {
    margin-bottom: 0;
}

/* Features */
.business-features-modern {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.feature-tag-modern {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    color: #1a5d3a;
    padding: 0.625rem 1.25rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: transform 0.2s;
}

.feature-tag-modern:hover {
    transform: translateY(-2px);
}

.feature-tag-modern svg {
    flex-shrink: 0;
    color: #2d8659;
}

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

.gallery-item-modern {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 1;
    cursor: pointer;
}

.gallery-item-modern .gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item-modern:hover .gallery-overlay {
    opacity: 1;
}

/* Sidebar */
.business-sidebar-modern {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    position: sticky;
    top: 2rem;
    height: fit-content;
}

.sidebar-card-modern {
    background: white;
    border-radius: 16px;
    padding: 1.75rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
    border: 1px solid rgba(0,0,0,0.05);
}

.sidebar-title-modern {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 1.25rem 0;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #f0f0f0;
}

.info-item-modern {
    display: flex;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid #f0f0f0;
}

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

.info-icon-wrapper {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #2d8659 0%, #1a5d3a 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.info-icon-modern {
    width: 20px;
    height: 20px;
    color: white;
}

.info-content-modern {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.info-link-modern {
    color: #1a5d3a;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.info-link-modern:hover {
    color: #2d8659;
}

.info-text-modern {
    color: #555;
    line-height: 1.5;
}

/* Business Hours */
.business-hours-modern {
    margin-top: 0.5rem;
}

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

.hours-table-modern tr {
    border-bottom: 1px solid #f0f0f0;
}

.hours-table-modern tr:last-child {
    border-bottom: none;
}

.hours-table-modern td {
    padding: 0.875rem 0;
    font-size: 0.95rem;
}

.hours-table-modern .day-name {
    color: #666;
    font-weight: 500;
}

.hours-table-modern .day-hours {
    text-align: right;
}

.hours-open {
    color: #2d8659;
    font-weight: 600;
}

.hours-closed {
    color: #999;
    font-style: italic;
}

/* Social Links */
.social-links-modern {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.social-link-modern {
    width: 44px;
    height: 44px;
    background: #f5f7fa;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link-modern:hover {
    background: linear-gradient(135deg, #2d8659 0%, #1a5d3a 100%);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(45, 134, 89, 0.3);
}

/* Forms - Modern Style */
.form-container {
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
    max-width: 900px;
    margin: 2rem auto;
    border: 1px solid rgba(0,0,0,0.05);
}

.form-container h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #f0f0f0;
}

.form-group {
    margin-bottom: 1.75rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.75rem;
    font-weight: 600;
    color: #1a1a1a;
    font-size: 0.95rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #fafafa;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #2d8659;
    background: white;
    box-shadow: 0 0 0 3px rgba(45, 134, 89, 0.1);
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
    line-height: 1.6;
}

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

.file-upload {
    border: 2px dashed #c8e6c9;
    border-radius: 12px;
    padding: 3rem 2rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background: linear-gradient(135deg, #f0f7f4 0%, #e8f5e9 100%);
    color: #666;
}

.file-upload:hover {
    border-color: #2d8659;
    background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
}

.file-upload.dragover {
    border-color: #2d8659;
    background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
    transform: scale(1.02);
}

.submit-btn {
    background: linear-gradient(135deg, #2d8659 0%, #1a5d3a 100%);
    color: white;
    padding: 1.125rem 2rem;
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    box-shadow: 0 4px 15px rgba(45, 134, 89, 0.4);
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(45, 134, 89, 0.5);
}

.submit-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.hours-form {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 12px;
}

.hours-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid #e0e0e0;
}

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

.day-label {
    min-width: 120px;
    font-weight: 500;
    color: #333;
}

.hours-inputs {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 1;
}

.hours-inputs label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: normal;
    margin: 0;
}

.hours-inputs input[type="time"] {
    padding: 0.5rem;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    background: white;
}

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

.image-preview img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 8px;
    border: 2px solid #e0e0e0;
}

.login-prompt {
    text-align: center;
    padding: 2rem;
}

.login-prompt h2 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    color: #1a1a1a;
}

.login-prompt p {
    color: #666;
    margin-bottom: 2rem;
    font-size: 1.05rem;
}

.auth-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.auth-buttons .contact-btn {
    min-width: 150px;
}

/* Search - Modern Style */
.search-container {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
    margin-bottom: 2rem;
    border: 1px solid rgba(0,0,0,0.05);
}

.search-form {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.search-input {
    flex: 1;
    padding: 1rem 1.25rem;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #fafafa;
}

.search-input:focus {
    outline: none;
    border-color: #2d8659;
    background: white;
    box-shadow: 0 0 0 3px rgba(45, 134, 89, 0.1);
}

.search-btn {
    background: linear-gradient(135deg, #2d8659 0%, #1a5d3a 100%);
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(45, 134, 89, 0.4);
    white-space: nowrap;
}

.search-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(45, 134, 89, 0.5);
}

.search-filters {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.filter-select {
    padding: 0.75rem 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    background: white;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    cursor: pointer;
    min-width: 150px;
}

.filter-select:focus {
    outline: none;
    border-color: #2d8659;
    box-shadow: 0 0 0 3px rgba(45, 134, 89, 0.1);
}

.search-info {
    background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
    padding: 1rem 1.5rem;
    border-radius: 10px;
    margin-bottom: 1.5rem;
    color: #1a5d3a;
    font-weight: 500;
}

.search-results {
    min-height: 200px;
}

.no-results {
    text-align: center;
    padding: 3rem 2rem;
    background: white;
    border-radius: 16px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
    border: 1px solid rgba(0,0,0,0.05);
}

.no-results h3 {
    font-size: 1.5rem;
    color: #1a1a1a;
    margin-bottom: 1rem;
}

.no-results p {
    color: #666;
    margin-bottom: 2rem;
}

/* Page Headers - Modern Style */
.page-header {
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
    margin-bottom: 2rem;
    text-align: center;
    border: 1px solid rgba(0,0,0,0.05);
}

.page-header h1,
.page-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 1rem;
}

.page-header p,
.page-description {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.6;
    max-width: 700px;
    margin: 0 auto;
}

.page-description {
    margin-top: 1rem;
    text-align: left;
}

.user-businesses {
    margin-bottom: 3rem;
}

.user-businesses h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 1.5rem;
}

.business-status {
    display: inline-block;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.status-publish {
    background: linear-gradient(135deg, #2d8659 0%, #1a5d3a 100%);
    color: white;
}

.status-pending {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
}

.status-draft {
    background: #e0e0e0;
    color: #666;
}

.business-actions {
    display: flex;
    gap: 0.75rem;
    margin-top: 1rem;
}

.business-actions .contact-btn {
    flex: 1;
}

.no-posts {
    text-align: center;
    padding: 3rem 2rem;
    background: white;
    border-radius: 16px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
    border: 1px solid rgba(0,0,0,0.05);
}

.no-posts h2 {
    font-size: 1.75rem;
    color: #1a1a1a;
    margin-bottom: 1rem;
}

.no-posts p {
    color: #666;
    margin-bottom: 2rem;
    font-size: 1.05rem;
}

/* Pagination - Modern Style */
.pagination-wrapper,
.posts-navigation {
    margin: 3rem 0;
    display: flex;
    justify-content: center;
}

.page-numbers,
.page-numbers:link,
.page-numbers:visited {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    padding: 0 1rem;
    margin: 0 0.25rem;
    background: white;
    color: #1a5d3a;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid #e0e0e0;
}

.page-numbers:hover,
.page-numbers:focus {
    background: linear-gradient(135deg, #2d8659 0%, #1a5d3a 100%);
    color: white;
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(45, 134, 89, 0.3);
}

.page-numbers.current {
    background: linear-gradient(135deg, #2d8659 0%, #1a5d3a 100%);
    color: white;
    border-color: transparent;
    box-shadow: 0 4px 12px rgba(45, 134, 89, 0.3);
}

.page-numbers.dots {
    border: none;
    background: transparent;
    color: #666;
}

.page-numbers.dots:hover {
    background: transparent;
    transform: none;
    box-shadow: none;
}

/* Footer - Modern Style */
.site-footer {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    color: rgba(255,255,255,0.9);
    padding: 4rem 0 2rem;
    margin-top: 4rem;
    position: relative;
    overflow: hidden;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #2d8659 0%, #1a5d3a 100%);
}

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

.footer-section h3 {
    margin-bottom: 1.5rem;
    color: white;
    font-size: 1.25rem;
    font-weight: 700;
    position: relative;
    padding-bottom: 0.75rem;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(135deg, #2d8659 0%, #1a5d3a 100%);
    border-radius: 2px;
}

.footer-section p {
    color: rgba(255,255,255,0.7);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.footer-section a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    display: block;
    margin-bottom: 0.75rem;
    transition: all 0.3s ease;
    padding: 0.25rem 0;
    position: relative;
    padding-left: 1.5rem;
}

.footer-section a::before {
    content: '→';
    position: absolute;
    left: 0;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
    color: #2d8659;
}

.footer-section a:hover {
    color: white;
    padding-left: 2rem;
}

.footer-section a:hover::before {
    opacity: 1;
    transform: translateX(0);
}

.footer-bottom {
    text-align: center;
    padding-top: 2.5rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.6);
}

.footer-bottom p {
    margin-bottom: 0.75rem;
}

.footer-bottom a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: color 0.3s ease;
    margin: 0 0.5rem;
}

.footer-bottom a:hover {
    color: #2d8659;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        gap: 1rem;
        padding: 0 1rem;
    }
    
    .site-title {
        font-size: 1.5rem;
    }
    
    .main-navigation ul {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
        width: 100%;
    }
    
    .main-navigation a {
        padding: 0.75rem 0;
        display: block;
    }
    
    .main-navigation a::after {
        display: none;
    }
    
    .business-grid {
        grid-template-columns: 1fr;
    }
    
    .business-info-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .search-form {
        flex-direction: column;
    }
    
    .search-filters {
        justify-content: center;
    }
    
    /* Modern Single Business Responsive */
    .business-header-modern {
        grid-template-columns: 1fr;
        padding: 1.5rem;
        gap: 1.5rem;
    }
    
    .business-title-modern {
        font-size: 1.75rem;
    }
    
    .business-hero-image-modern {
        width: 100%;
        height: 200px;
    }
    
    .business-quick-actions {
        flex-direction: column;
    }
    
    .action-btn {
        width: 100%;
        justify-content: center;
    }
    
    .business-info-grid-modern {
        grid-template-columns: 1fr;
    }
    
    .business-sidebar-modern {
        position: static;
    }
    
    .info-card-modern {
        padding: 1.5rem;
    }
    
    .sidebar-card-modern {
        padding: 1.5rem;
    }
    
    .gallery-grid-modern {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
        gap: 0.75rem;
    }
    
    .business-features-modern {
        gap: 0.5rem;
    }
    
    .feature-tag-modern {
        font-size: 0.85rem;
        padding: 0.5rem 1rem;
    }
    
    /* Additional Modern Theme Responsive */
    .business-grid {
        gap: 1.5rem;
    }
    
    .page-header {
        padding: 1.5rem;
    }
    
    .page-header h1,
    .page-title {
        font-size: 1.75rem;
    }
    
    .form-container {
        padding: 1.5rem;
    }
    
    .form-container h2 {
        font-size: 1.5rem;
    }
    
    .search-form {
        flex-direction: column;
    }
    
    .search-btn {
        width: 100%;
    }
    
    .search-filters {
        flex-direction: column;
    }
    
    .filter-select {
        width: 100%;
    }
    
    .business-contact {
        flex-direction: column;
    }
    
    .contact-btn {
        width: 100%;
    }
    
    .auth-buttons {
        flex-direction: column;
    }
    
    .auth-buttons .contact-btn {
        width: 100%;
    }
    
    .hours-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
    
    .day-label {
        min-width: auto;
    }
    
    .hours-inputs {
        width: 100%;
        flex-direction: column;
        align-items: flex-start;
    }
    
    .business-actions {
        flex-direction: column;
    }
    
    .business-actions .contact-btn {
        width: 100%;
    }
}

/* Admin Styles */
.admin-notice {
    background: #d4edda;
    color: #155724;
    padding: 1rem;
    border-radius: 6px;
    margin: 1rem 0;
    border-left: 4px solid #28a745;
}

.admin-notice.error {
    background: #f8d7da;
    color: #721c24;
    border-left-color: #dc3545;
}

.admin-notice.warning {
    background: #fff3cd;
    color: #856404;
    border-left-color: #ffc107;
}

/* Loading States */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

.spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #2d8659;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
