/* ===== RESET & BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: #f0f0f0;
    line-height: 1.6;
}

/* ===== CONTAINERS ===== */
.container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 20px;
}

.form-container {
    max-width: 600px;
    margin: 40px auto;
    padding: 30px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.business-page {
    max-width: 800px;
    margin: 40px auto;
    padding: 30px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.admin-container {
    max-width: 1400px;
    margin: 20px auto;
    padding: 20px;
}

.calendar-container {
    max-width: 1200px;
    margin: 20px auto;
    padding: 20px;
}

.event-page {
    max-width: 1000px;
    margin: 40px auto;
    padding: 0 20px;
}

/* ===== TYPOGRAPHY ===== */
h1 {
    color: #333;
    text-align: center;
    margin-bottom: 20px;
}

h2 {
    color: #333;
    margin: 0 0 15px 0;
}

/* ===== FORMS ===== */
label {
    display: block;
    margin-top: 20px;
    font-weight: bold;
    color: #333;
}

input, textarea, select {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-sizing: border-box;
    font-family: inherit;
    font-size: inherit;
}

textarea {
    resize: vertical;
    min-height: 100px;
}

/* ===== BUTTONS ===== */
button, .btn {
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    text-decoration: none;
    display: inline-block;
    transition: all 0.2s;
}

button[type="submit"], .btn-primary {
    background-color: #4CAF50;
    color: white;
    width: 100%;
    margin-top: 20px;
}

button[type="submit"]:hover, .btn-primary:hover {
    background-color: #45a049;
}

.btn-secondary {
    background-color: #2196F3;
    color: white;
}

.btn-secondary:hover {
    background-color: #1976D2;
}

.btn-edit {
    background-color: #ffc107;
    color: #333;
}

.btn-edit:hover {
    background-color: #e0a800;
}

.btn-view {
    background-color: #2196F3;
    color: white;
}

.btn-view:hover {
    background-color: #1976D2;
}

.btn-approve {
    background-color: #4CAF50;
    color: white;
}

.btn-approve:hover {
    background-color: #45a049;
}

.btn-reject, .logout-btn {
    background-color: #dc3545;
    color: white;
}

.btn-reject:hover, .logout-btn:hover {
    background-color: #c82333;
}

/* ===== MESSAGES ===== */
.message {
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 4px;
}

.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* ===== NAVIGATION STYLES ===== */
.navbar {
    background-color: white;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto; /* This centers the container */
    padding: 10px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    width: 100%; /* Ensure it takes full width up to max-width */
}

/* Ensure the navbar itself is full width and centered */
.navbar {
    background-color: white;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
    left: 0; /* Ensure it starts at left edge */
    right: 0; /* Ensure it goes to right edge */
}

/* Fix for desktop layout */
@media (min-width: 769px) {
    .nav-right-stack {
        display: flex !important;
        align-items: center;
        gap: 20px;
        margin-left: 30px;
        
    }
    
    /* Ensure the search and nav links are properly aligned */
    .nav-search {
        margin-right: 10px;
    }
    
    .nav-links {
        display: flex !important;
        gap: 20px;
    }
}
/* Logo */
.nav-logo img {
    height: 180px;
    width: auto;
    display: block;
    max-width: 100%;
}

/* Mobile menu button */
/* Mobile styles */
@media (max-width: 768px) {
    /* Show hamburger button */
    .mobile-menu-btn {
        display: block;
        font-size: 42px;
        cursor: pointer;
        padding: 10px;
        z-index: 1001;
    }
    
    /* Hide menu by default */
    .nav-right-stack {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: white;
        z-index: 1000;
        padding: 80px 20px 20px;
        overflow-y: auto;
        flex-direction: column;
    }
    
    /* Show menu when checkbox is checked */
    #menu-toggle:checked ~ .nav-right-stack {
        display: flex;
    }
    
    /* Dropdown styles - pure CSS */
    .dropdown {
        margin-bottom: 0;
    }
    
    .dropdown-toggle {
        display: block;
        padding: 15px 0;
        font-weight: bold;
        cursor: pointer;
    }
    
    .dropdown-menu {
        display: none;
        padding-left: 20px;
        background: #f5f5f5;
        margin: 0;
        list-style: none;
    }
    
    /* Show dropdown when its checkbox is checked */
    #dropdown-business:checked ~ .dropdown-menu,
    #dropdown-events:checked ~ .dropdown-menu {
        display: block;
    }
    
    .dropdown-menu li {
        border-bottom: 1px solid #ddd;
    }
    
    .dropdown-menu li:last-child {
        border-bottom: none;
    }
    
    .dropdown-menu a {
        display: block;
        padding: 12px 0;
        color: #333;
        text-decoration: none;
    }
    
    /* Arrow rotation */
    .dropdown-arrow {
        float: right;
        transition: transform 0.2s;
    }
    
    #dropdown-business:checked ~ .dropdown-toggle .dropdown-arrow,
    #dropdown-events:checked ~ .dropdown-toggle .dropdown-arrow {
        transform: rotate(180deg);
    }
    
    /* Prevent body scroll when menu open */
    body.menu-open {
        overflow: hidden;
    }
}
/* Search form */
.nav-search {
    display: flex;
    gap: 5px;
}

.nav-search input {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    width: 250px;
    font-size: 14px;
}

.nav-search input:focus {
    outline: none;
    border-color: #4CAF50;
}

.nav-search button {
    padding: 8px 12px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
}

.nav-search button:hover {
    background-color: #45a049;
}

/* Navigation links */
.nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
    margin: 0;
    padding: 0;
}

.nav-links li {
    position: relative;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    padding: 10px 0;
    display: block;
    font-size: 16px;
    white-space: nowrap;
}

.nav-links a:hover {
    color: #4CAF50;
}

/* Dropdown menu */
@media (max-width: 768px) {
    .dropdown {
        position: static;
        display: inline-block;
    }
    
    .dropdown-toggle {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
    }
    
    .dropdown-arrow {
        font-size: 12px;
        transition: transform 0.3s ease;
    }
    
    .dropdown.active .dropdown-arrow {
        transform: rotate(180deg);
    }
    
    .dropdown-menu {
        position: static;
        box-shadow: none;
        padding: 0;
        background-color: #f9f9f9;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        display: block;
        visibility: visible;
        opacity: 1;
        margin: 0;
        border-radius: 0;
        left: 0 !important;
        right: auto !important;
        transform: none !important;
    }


    
    .dropdown.active .dropdown-menu {
        max-height: 300px;
        padding: 10px 0;
    }
    
    .dropdown-menu li {
        border-bottom: 1px solid #e0e0e0;
    }
    
    .dropdown-menu li:last-child {
        border-bottom: none;
    }
    
    .dropdown-menu a {
        padding: 12px 40px;
        font-size: 16px;
        color: #555;
    }
    
    .dropdown-menu a:hover {
        background-color: #e0e0e0;
        color: #333;
    }
    
    /* Ensure parent link doesn't navigate on mobile */
    .dropdown-toggle {
        cursor: pointer;
    }
}


/* ===== BUSINESS DIRECTORY ===== */
.business-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.business-card {
    background-color: white;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: transform 0.2s;
}

.business-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.business-card h2 {
    margin: 0 0 10px 0;
    font-size: 1.5em;
}

.business-card h2 a {
    color: #333;
    text-decoration: none;
}

.business-card h2 a:hover {
    color: #4CAF50;
    text-decoration: underline;
}

.business-card .category {
    color: #4CAF50;
    font-weight: bold;
    margin: 5px 0;
}

.business-card .description {
    color: #666;
    line-height: 1.5;
    margin: 10px 0;
}

.business-card .contact {
    background-color: #f9f9f9;
    padding: 10px;
    border-radius: 4px;
    margin: 10px 0;
}

.business-card .address {
    color: #777;
    font-style: italic;
    margin: 10px 0;
}

.business-card .website a {
    color: #2196F3;
    text-decoration: none;
}

.business-card .website a:hover {
    text-decoration: underline;
}

/* ===== INDIVIDUAL BUSINESS PAGE ===== */
.business-header {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f0f0f0;
}

.business-header h1 {
    margin: 0 0 10px 0;
}

.category-badge {
    display: inline-block;
    background-color: #4CAF50;
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9em;
}

.detail-section {
    margin-bottom: 30px;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 8px;
}

.detail-section h2 {
    border-left: 4px solid #4CAF50;
    padding-left: 10px;
}

.full-description {
    line-height: 1.8;
    color: #444;
}

.info-table {
    width: 100%;
    border-collapse: collapse;
}

.info-table td {
    padding: 10px;
    border-bottom: 1px solid #ddd;
}

.info-table td:first-child {
    font-weight: bold;
    width: 100px;
    color: #555;
}

.info-table a {
    color: #2196F3;
    text-decoration: none;
}

.info-table a:hover {
    text-decoration: underline;
}

.address {
    font-size: 1.1em;
    color: #333;
    margin: 10px 0;
}

.map-link {
    display: inline-block;
    color: #4CAF50;
    text-decoration: none;
    font-weight: bold;
}

.map-link:hover {
    text-decoration: underline;
}

.no-info {
    color: #999;
    font-style: italic;
}

.action-links {
    margin-top: 30px;
    text-align: center;
}

.action-links a {
    color: #666;
    text-decoration: none;
    font-size: 1.1em;
}

.action-links a:hover {
    color: #333;
    text-decoration: underline;
}

/* ===== SEARCH BOX ===== */
.search-box {
    background: #f4f4f4;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 30px;
    text-align: center;
}

.search-box input, .search-box select {
    padding: 10px;
    margin: 5px;
    width: 200px;
    display: inline-block;
}

.search-box button {
    padding: 10px 20px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    width: auto;
    margin: 5px;
}

.reset-btn {
    text-decoration: none;
    color: #666;
    margin-left: 10px;
    font-size: 0.9em;
}

/* ===== PHOTO GALLERY ===== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 10px;
}

.gallery-item {
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.gallery-thumb {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 4px;
    transition: transform 0.3s;
}

.gallery-thumb:hover {
    transform: scale(1.05);
    cursor: pointer;
}

/* ===== CALENDAR STYLES ===== */
.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 20px;
}

.calendar-nav {
    display: flex;
    gap: 10px;
}

.calendar-nav a, .view-toggle a {
    padding: 8px 16px;
    background-color: #f0f0f0;
    color: #333;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.2s;
}

.calendar-nav a:hover, .view-toggle a:hover {
    background-color: #4CAF50;
    color: white;
}

.calendar-nav .current {
    background-color: #4CAF50;
    color: white;
    padding: 8px 16px;
    border-radius: 4px;
}

.view-toggle {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.view-toggle a.active {
    background-color: #4CAF50;
    color: white;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 5px;
    background-color: #f5f5f5;
    padding: 10px;
    border-radius: 8px;
}

.calendar-weekday {
    text-align: center;
    font-weight: bold;
    padding: 10px;
    background-color: white;
    border-radius: 4px;
    color: #333;
}

.calendar-day {
    min-height: 100px;
    background-color: white;
    padding: 8px;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.calendar-day:hover {
    background-color: #e0e0e0;
}

.calendar-day.empty {
    background-color: #f9f9f9;
    cursor: default;
}

.calendar-day.today {
    background-color: #e8f5e8;
    border: 2px solid #4CAF50;
}

.calendar-day.today:hover {
    background-color: #c8e6c9;
}

.day-number {
    font-weight: bold;
    color: #666;
    margin-bottom: 5px;
}

.day-event {
    background-color: #e3f2fd;
    color: #1976D2;
    padding: 2px 4px;
    margin: 2px 0;
    border-radius: 2px;
    cursor: pointer;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 0.8em;
}

.day-event:hover {
    background-color: #4CAF50;
    color: white;
}

.day-event.recurring {
    background-color: #fff3cd;
    color: #856404;
    border-left: 2px solid #ffc107;
}

/* Events List */
.events-list {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    overflow: hidden;
}

.event-item {
    display: flex;
    padding: 20px;
    border-bottom: 1px solid #eee;
    transition: background-color 0.2s;
}

.event-item:hover {
    background-color: #f9f9f9;
}

.event-date {
    min-width: 100px;
    text-align: center;
    padding: 10px;
    background-color: #4CAF50;
    color: white;
    border-radius: 4px;
    margin-right: 20px;
    cursor: pointer;
}

.event-date .month {
    font-size: 0.9em;
    text-transform: uppercase;
}

.event-date .day {
    font-size: 2em;
    font-weight: bold;
    line-height: 1;
}

.event-details {
    flex: 1;
}

.event-details h3 {
    margin: 0 0 10px 0;
    color: #333;
}

.event-meta {
    display: flex;
    gap: 20px;
    color: #666;
    font-size: 0.9em;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.event-category {
    display: inline-block;
    background-color: #4CAF50;
    color: white;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.8em;
}

/* Upcoming Events Grid */
.upcoming-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.upcoming-card {
    background: white;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    border-left: 4px solid #4CAF50;
    transition: transform 0.2s;
}

.upcoming-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.upcoming-card h3 {
    margin: 0 0 10px 0;
    color: #333;
}

.upcoming-date {
    color: #4CAF50;
    font-weight: bold;
    margin: 5px 0;
}

.upcoming-location {
    color: #666;
    margin: 5px 0;
}

/* Category Filter */
.category-filter {
    margin-bottom: 20px;
    padding: 15px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.category-filter select {
    padding: 8px;
    width: 200px;
    margin: 0;
}

/* Recurring Badge */
.recurring-badge {
    display: inline-block;
    background-color: #17a2b8;
    color: white;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.8em;
    margin-left: 10px;
}

/* ===== EVENT PAGE SPECIFIC ===== */
.event-navigation {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 10px;
}

.event-navigation a {
    color: #666;
    text-decoration: none;
    padding: 8px 16px;
    background-color: #f5f5f5;
    border-radius: 4px;
    transition: background-color 0.2s;
}

.event-navigation a:hover {
    background-color: #4CAF50;
    color: white;
}

.event-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 60px 40px;
    border-radius: 10px 10px 0 0;
}

.event-header h1 {
    color: white;
    font-size: 2.5em;
    margin: 0 0 10px 0;
}

.event-category-badge {
    display: inline-block;
    background-color: rgba(255,255,255,0.2);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9em;
}

.event-content {
    background: white;
    padding: 40px;
    border-radius: 0 0 10px 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.event-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
}

.event-description {
    line-height: 1.8;
    color: #333;
}

.event-sidebar {
    background-color: #f9f9f9;
    padding: 25px;
    border-radius: 8px;
}

.info-box {
    margin-bottom: 30px;
}

.info-box h3 {
    border-left: 4px solid #4CAF50;
    padding-left: 10px;
    margin: 0 0 15px 0;
}

.info-item {
    display: flex;
    margin-bottom: 15px;
}

.info-icon {
    width: 30px;
    font-size: 1.2em;
    color: #4CAF50;
}

.info-label {
    font-weight: bold;
    color: #666;
    font-size: 0.9em;
    margin-bottom: 3px;
}

/* Event Image */
.event-image {
    width: 100%;
    max-width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 30px;
    display: block;
}

/* Share Buttons */
.share-buttons {
    display: flex;
    gap: 10px;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
    flex-wrap: wrap;
}

.share-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #f0f0f0;
    color: #666;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.2s;
}

.share-btn:hover {
    background-color: #4CAF50;
    color: white;
}

/* ===== ADMIN DASHBOARD ===== */
.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    flex-wrap: wrap;
    gap: 15px;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background: white;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    text-align: center;
    border-bottom: 4px solid #4CAF50;
}

.stat-card.warning {
    border-bottom-color: #ffc107;
}

.stat-card.danger {
    border-bottom-color: #dc3545;
}

.stat-number {
    font-size: 2.5em;
    font-weight: bold;
    color: #333;
}

.stat-label {
    color: #666;
    margin-top: 5px;
}

/* Dashboard Tabs */
.dashboard-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    background: white;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    flex-wrap: wrap;
}

.tab-button {
    padding: 12px 24px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1em;
    color: #666;
    border-radius: 4px;
    transition: all 0.2s;
}

.tab-button:hover {
    background-color: #f0f0f0;
}

.tab-button.active {
    background-color: #4CAF50;
    color: white;
}

.tab-content {
    display: none;
    background: white;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.tab-content.active {
    display: block;
}

/* Item Cards for Admin */
.item-grid {
    display: grid;
    gap: 20px;
}

.item-card {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid #ffc107;
    transition: transform 0.2s;
}

.item-card:hover {
    transform: translateX(5px);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.item-card.approved {
    border-left-color: #4CAF50;
}

.item-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 10px;
    flex-wrap: wrap;
    gap: 10px;
}

.item-title {
    font-size: 1.2em;
    font-weight: bold;
    color: #333;
}

.item-type {
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 0.8em;
}

.item-type.business {
    background-color: #e3f2fd;
    color: #1976D2;
}

.item-type.event {
    background-color: #f3e5f5;
    color: #7b1fa2;
}

.item-meta {
    display: flex;
    gap: 20px;
    color: #666;
    font-size: 0.9em;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.item-actions {
    display: flex;
    gap: 10px;
    margin-top: 15px;
    flex-wrap: wrap;
}

/* Activity List */
.activity-list {
    list-style: none;
    padding: 0;
}

.activity-item {
    display: flex;
    align-items: center;
    padding: 12px;
    border-bottom: 1px solid #eee;
    flex-wrap: wrap;
    gap: 10px;
}

.activity-icon {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    flex-shrink: 0;
}

.activity-icon.business {
    background-color: #e3f2fd;
    color: #1976D2;
}

.activity-icon.event {
    background-color: #f3e5f5;
    color: #7b1fa2;
}

.activity-content {
    flex: 1;
    min-width: 200px;
}

.activity-title {
    font-weight: bold;
    color: #333;
}

.activity-meta {
    font-size: 0.85em;
    color: #666;
}

.activity-status {
    padding: 3px 8px;
    border-radius: 12px;
    font-size: 0.8em;
    white-space: nowrap;
}

.status-pending {
    background-color: #ffc107;
    color: #333;
}

.status-approved {
    background-color: #4CAF50;
    color: white;
}

/* Quick Actions */
.quick-actions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 30px;
}

.quick-action-card {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    text-align: center;
    text-decoration: none;
    color: #333;
    transition: transform 0.2s;
}

.quick-action-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.quick-action-icon {
    font-size: 2em;
    margin-bottom: 10px;
}

/* ===== FORM SECTIONS ===== */
.form-section {
    background-color: #f9f9f9;
    padding: 20px;
    margin: 20px 0;
    border-radius: 8px;
    border-left: 4px solid #4CAF50;
}

.form-section h3 {
    margin-top: 0;
    color: #333;
}

.recurring-options {
    display: none;
    padding: 15px;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    margin-top: 10px;
}

.help-text {
    color: #666;
    font-size: 0.9em;
    margin-top: 5px;
}

.checkbox-group {
    margin: 10px 0;
}

/* ===== BADGES ===== */
.badge {
    background-color: #4CAF50;
    color: white;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.9em;
}

.badge.warning {
    background-color: #ffc107;
    color: #333;
}

/* ===== MODAL ===== */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    z-index: 2000;
}

.modal-content {
    background-color: white;
    max-width: 600px;
    margin: 50px auto;
    padding: 30px;
    border-radius: 8px;
    position: relative;
    max-height: 80vh;
    overflow-y: auto;
}

.close {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 30px;
    cursor: pointer;
    color: #999;
}

.close:hover {
    color: #333;
}

/* ===== UTILITY CLASSES ===== */
.no-results {
    text-align: center;
    color: #666;
    font-size: 1.2em;
    margin-top: 50px;
    padding: 40px;
}

.submitter-info {
    background-color: white;
    padding: 10px;
    border-radius: 4px;
    margin: 10px 0;
    font-size: 0.9em;
    border: 1px solid #eee;
}

.owner-header {
    display: flex;
    align-items: center;
    gap: 30px;
    padding-bottom: 30px;
    border-bottom: 2px solid #eee;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.main-logo {
    width: 150px;
    height: 150px;
    object-fit: contain;
    border: 3px solid #4CAF50;
    border-radius: 12px;
    padding: 5px;
    background: white;
}

.owner-badge {
    display: inline-block;
    color: #666;
    font-weight: bold;
    margin-right: 15px;
    font-size: 0.95em;
    background: #f0f0f0;
    padding: 5px 12px;
    border-radius: 20px;
}

/* ===== MOBILE RESPONSIVE ===== */
@media (max-width: 768px) {
    /* Navigation mobile styles */
    .nav-container {
        display: grid;
        grid-template-columns: 1fr auto;
        align-items: center;
        padding: 5px 10px;
    }
    
    .nav-logo {
        grid-column: 1;
    }
    
    .nav-logo img {
        height: auto;
        max-height: 350px;
        width: auto;
        max-width: 100%;
        object-fit: contain;
    }
    
    .mobile-menu-btn {
        grid-column: 2;
        display: block;
        font-size: 42px;
        padding: 5px 10px;
        justify-self: end;
        align-self: center;
    }
    
    .nav-right-stack {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: white;
        z-index: 1000;
        padding: 80px 20px 20px;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        flex-direction: column;
        gap: 15px;
    }
    
    .nav-right-stack.active {
        display: flex;
    }
    
    .nav-search {
        width: 100%;
        padding: 0;
    }
    
    .nav-search input {
        flex: 1;
        width: auto;
    }
    
    .nav-links {
        flex-direction: column;
        width: 100%;
        gap: 0;
    }
    
    .nav-links li {
        width: 100%;
        border-bottom: 1px solid #f0f0f0;
    }
    
    .nav-links li:last-child {
        border-bottom: none;
    }
    
    .nav-links a {
        padding: 15px 20px;
        font-size: 18px;
        display: block;
        width: 100%;
    }
    
    .dropdown {
        position: static;
    }
    
    .dropdown-menu {
        position: static;
        box-shadow: none;
        padding: 0 0 0 20px;
        background-color: #f9f9f9;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        display: block;
    }
    
    .dropdown.active .dropdown-menu {
        max-height: 300px;
        padding: 10px 0 10px 20px;
    }
    
    .dropdown-menu a {
        padding: 12px 30px;
        font-size: 16px;
    }
    
    /* Prevent body scroll when menu open */
    body.menu-open {
        overflow: hidden;
        position: fixed;
        width: 100%;
    }
    
    /* General mobile styles */
    .business-grid {
        grid-template-columns: 1fr;
    }
    
    .calendar-grid {
        font-size: 0.8em;
    }
    
    .calendar-day {
        min-height: 60px;
        padding: 4px;
    }
    
    .event-item {
        flex-direction: column;
    }
    
    .event-date {
        margin-right: 0;
        margin-bottom: 10px;
        width: 100%;
    }
    
    .event-meta {
        flex-direction: column;
        gap: 5px;
    }
    
    .event-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .event-header {
        padding: 40px 20px;
    }
    
    .event-header h1 {
        font-size: 2em;
    }
    
    .event-content {
        padding: 20px;
        overflow-x: hidden;
    }
    
    .event-navigation {
        flex-direction: column;
        gap: 10px;
    }
    
    .event-navigation a {
        text-align: center;
    }
    
    .event-image {
        max-height: 250px;
    }
    
    .info-item {
        flex-wrap: wrap;
    }
    
    .info-icon {
        width: 25px;
    }
    
    .action-buttons {
        flex-direction: column;
    }
    
    .action-btn {
        width: 100%;
        margin-bottom: 8px;
    }
    
    .item-meta {
        flex-direction: column;
        gap: 5px;
    }
    
    .item-actions {
        flex-direction: column;
    }
    
    .dashboard-tabs {
        flex-direction: column;
    }
    
    .tab-button {
        width: 100%;
    }
    
    .owner-header {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .footer-grid {
        gap: 25px;
    }
    
    .event-link {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .event-date {
        margin-bottom: 3px;
    }
    
    .event-title {
        margin-left: 0;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .modal-content {
        margin: 20px;
        padding: 20px;
    }
}

/* Small phones */
@media (max-width: 480px) {
    .nav-logo img {
        max-height: 180px;
    }
    
    .mobile-menu-btn {
        font-size: 36px;
        padding: 5px 8px;
    }
    
    .footer-col h4 {
        font-size: 1.1em;
    }
    
    .areas-grid {
        gap: 5px;
    }
    
    .area-link {
        padding: 4px 8px;
        font-size: 0.85em;
    }
    
    .event-header {
        padding: 25px 15px;
    }
    
    .event-header h1 {
        font-size: 1.8em;
    }
    
    .event-image {
        max-height: 200px;
    }
}

/* Very small phones */
@media (max-width: 360px) {
    .nav-logo img {
        max-height: 133px;
    }
    
    .mobile-menu-btn {
        font-size: 32px;
        padding: 5px 5px;
    }
}

/* ===== FOOTER STYLES ===== */
.site-footer {
    background: #2c3e50;
    color: #ecf0f1;
    padding: 50px 0 0;
    margin-top: 60px;
    font-size: 0.95em;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
}

.footer-col h4 {
    color: #4CAF50;
    margin: 0 0 15px 0;
    font-size: 1.2em;
    font-weight: 600;
    border-bottom: 2px solid #4CAF50;
    padding-bottom: 8px;
    display: inline-block;
}

.footer-col p {
    color: #bdc3c7;
    line-height: 1.6;
    margin: 0 0 10px 0;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col li {
    margin-bottom: 10px;
}

.footer-col a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-col a:hover {
    color: #4CAF50;
    text-decoration: underline;
}

/* Stats badges */
.stat-badge {
    display: inline-block;
    background: #34495e;
    color: white;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.9em;
    margin-right: 8px;
    margin-bottom: 8px;
}

/* Event list in footer */
.event-list {
    margin-bottom: 15px;
}

.event-link {
    display: flex;
    align-items: baseline;
    padding: 5px 0;
    border-bottom: 1px solid #34495e;
}

.event-link .event-date {
    color: #4CAF50;
    font-weight: bold;
    min-width: 45px;
    font-size: 0.9em;
}

.event-link .event-title {
    color: #bdc3c7;
    margin-left: 8px;
}

.view-all-link {
    color: #4CAF50;
    text-decoration: none;
    font-size: 0.9em;
    font-weight: bold;
}

.view-all-link:hover {
    text-decoration: underline;
}

/* Category tags */
.category-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.tag {
    background: #34495e;
    color: #bdc3c7;
    padding: 4px 10px;
    border-radius: 15px;
    font-size: 0.85em;
    text-decoration: none;
    transition: all 0.2s;
}

.tag:hover {
    background: #4CAF50;
    color: white;
}

/* Areas grid */
.areas-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.area-link {
    background: #34495e;
    color: #bdc3c7;
    padding: 5px 12px;
    border-radius: 4px;
    font-size: 0.9em;
    text-decoration: none;
    transition: all 0.2s;
}

.area-link:hover {
    background: #4CAF50;
    color: white;
}

/* Social links */
.social-links {
    display: flex;
    gap: 12px;
    margin-top: 10px;
    flex-wrap: wrap;
}

.social-link {
    width: 36px;
    height: 36px;
    background: #34495e;
    color: #bdc3c7;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 1.2em;
    transition: all 0.2s;
}

.social-link:hover {
    background: #4CAF50;
    color: white;
    transform: translateY(-2px);
}

/* Footer bottom */
.footer-bottom {
    background: #1a2632;
    padding: 20px 0;
    margin-top: 30px;
    text-align: center;
    color: #95a5a6;
    font-size: 0.9em;
}

.footer-bottom .legal-links {
    margin-top: 8px;
}

.footer-bottom .legal-links a {
    color: #95a5a6;
    text-decoration: none;
    margin: 0 5px;
}

.footer-bottom .legal-links a:hover {
    color: #4CAF50;
    text-decoration: underline;
}

/* Ensure all images are responsive */
img {
    max-width: 100%;
    height: auto;
}
/* Desktop navigation styles */
@media (min-width: 769px) {
    .nav-right-stack {
        display: flex !important; /* Always visible on desktop */
        align-items: center;
        gap: 20px;
    }
    
    .mobile-menu-btn {
        display: none !important; /* Hide hamburger on desktop */
    }
    
    /* Desktop dropdown hover behavior */
    .dropdown {
        position: relative;
    }
    
    .dropdown:hover .dropdown-menu {
        display: block !important;
    }
    
    .dropdown-menu {
        padding-left: 0; /* Remove default padding */
        margin: 0; /* Remove default margin */
        position: absolute;
        top: 100%;
        left: 0;
        background-color: wheat;
        min-width: 200px;
        box-shadow: 0 4px 8px rgba(0,0,0,0.1);
        border-radius: 4px;
        list-style: non;
        display: none;
        z-index: 1000;
    }
    
    /* Ensure desktop dropdowns don't have mobile styles */
    .dropdown.active .dropdown-menu {
        display: none; /* Override mobile active state */
    }
    
    /* Make dropdown trigger area hoverable */
    .dropdown > a {
        display: inline-block;
        padding-bottom: 15px; /* Increase hover area */
        margin-bottom: -5px; /* Compensate for spacing */
    }
    
    /* Reset any mobile styles that might be leaking */
    .nav-links {
        flex-direction: row;
        gap: 20px;
    }
    
    .nav-links li {
        width: auto;
        margin-left: 10px;
        border-bottom: none;
    }
    
    .nav-links a {
        padding: 10px 0;
        white-space: nowrap;
    }
}