:root {
    --primary: #059669;
    --primary-dark: #047857;
    --secondary: #64748b;
    --success: #22c55e;
    --danger: #ef4444;
    --warning: #f59e0b;
    --text-dark: #0f172a;
    --text-light: #64748b;
    --bg-light: #f8fafc;
    --bg-dark: #1e293b;
    --border: #e2e8f0;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.5;
    color: var(--text-dark);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
}

h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

h2 {
    font-size: 2.25rem;
    margin-bottom: 2rem;
    text-align: center;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1rem;
}

/* Navigation */
.navbar {
    background: white;
    padding: 1rem 0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
}

.nav-links a:hover {
    color: var(--primary);
}

.mobile-menu-toggle {
    display: none;
    cursor: pointer;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-dark);
    z-index: 110;
}

/* Dashboard Layout */
.dashboard-container {
    display: flex;
    min-height: 100vh;
    position: relative;
}

.sidebar {
    width: 250px;
    background: white;
    border-right: 1px solid var(--border);
    padding: 2rem;
    height: 100vh;
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    z-index: 1000;
    overflow-y: auto;
    transition: transform 0.3s ease;
}

.sidebar-header {
    margin-bottom: 1.5rem;
}

.sidebar-nav {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-nav a {
    display: block;
    padding: 0.75rem 1rem;
    color: var(--text);
    text-decoration: none;
    font-weight: 500;
    border-radius: 0.375rem;
    margin-bottom: 0.5rem;
    transition: all 0.2s ease;
}

.sidebar-nav a:hover {
    background: var(--bg-light);
    color: var(--primary);
}

.sidebar-nav a.active {
    background: var(--primary);
    color: white;
}

.sidebar-toggle {
    display: none;
    position: fixed;
    top: 1rem;
    left: 1rem;
    z-index: 1001;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 4px;
    padding: 0.5rem;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.sidebar-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 999;
}

.sidebar-overlay.active {
    display: block;
}

.dashboard-content {
    flex: 1;
    margin-left: 250px;
    padding: 2rem;
    background: var(--bg-light);
    width: calc(100% - 250px);
}

/* Fix for main-content (used in some admin pages) */
.main-content {
    flex: 1;
    margin-left: 250px;
    padding: 2rem;
    background: var(--bg-light);
    width: calc(100% - 250px);
}

/* Fix for dashboard (old style) */
.dashboard {
    display: flex;
    min-height: 100vh;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    font-weight: 500;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-lg {
    padding: 0.75rem 1.5rem;
    font-size: 1.125rem;
    font-weight: 600;
    min-width: 180px;
}

.btn-primary {
    background: var(--primary);
    color: white;
    border: 1px solid var(--primary);
}

.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 1px solid var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: white;
}

.btn-danger {
    background: var(--danger);
    color: white;
    border: 1px solid var(--danger);
}

.btn-danger:hover {
    background: #b91c1c;
    border-color: #b91c1c;
}

/* Hero Section */
.hero {
    position: relative;
    padding: 8rem 0 4rem;
    text-align: center;
    color: white;
    overflow: hidden;
    height: 70vh;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.slideshow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.slideshow-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slideshow-item.active {
    opacity: 1;
}

/* Featured Grounds */
.section {
    padding: 4rem 0;
}

.grounds-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

/* Add a media query for larger screens to show 4 cards per row */
@media (min-width: 1200px) {
    .grounds-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Ground Card - Updated Design */
.ground-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
}

.ground-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.ground-card img {
    width: 100%;
    height: 160px;
    object-fit: cover;
}

.ground-info {
    padding: 1rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.ground-info h3 {
    font-size: 1.1rem;
    margin-bottom: 0.35rem;
    color: var(--text-dark);
}

.ground-card .availability {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    z-index: 2;
}

.availability.available {
    background-color: rgba(5, 150, 105, 0.1);
    color: var(--primary);
}

.availability.few-slots {
    background-color: rgba(245, 158, 11, 0.1);
    color: var(--warning);
}

.availability.booked {
    background-color: rgba(239, 68, 68, 0.1);
    color: var(--danger);
}

.location {
    color: var(--text-light);
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
}

.location i, .sport-type i {
    margin-right: 0.5rem;
    color: var(--primary);
    font-size: 0.875rem;
}

.sport-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.sport-tag {
    background-color: var(--bg-light);
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.75rem;
    color: var(--text-light);
}

.sport-type {
    display: flex;
    align-items: center;
    color: var(--text-light);
    margin-bottom: 0.75rem;
    font-size: 0.875rem;
}

.price {
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--primary);
    margin-bottom: 0.75rem;
    margin-top: auto;
}

.ground-card .btn {
    margin-top: auto;
    width: 100%;
    padding: 0.6rem;
    text-align: center;
    font-weight: 600;
    border-radius: 6px;
}

.view-all-container {
    text-align: center;
    margin-top: 2rem;
}

.no-results {
    grid-column: 1 / -1;
    text-align: center;
    padding: 3rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.no-results p {
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 0;
}

/* How It Works */
.bg-light {
    background: var(--bg-light);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.step-card {
    background: white;
    padding: 2rem;
    border-radius: 0.5rem;
    text-align: center;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.step-number {
    width: 3rem;
    height: 3rem;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0 auto 1rem;
}

/* Contact Section */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 4rem;
}

.contact-details {
    margin-top: 1.5rem;
}

.contact-form .form-group {
    margin-bottom: 1.5rem;
}

.contact-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border);
    border-radius: 0.375rem;
    font-family: inherit;
}

.contact-form textarea {
    height: 150px;
    resize: vertical;
}

/* Footer */
.footer {
    background: var(--bg-dark);
    color: white;
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-col h4 {
    color: white;
    margin-bottom: 1.5rem;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 0.75rem;
}

.footer-col a {
    color: var(--text-light);
    text-decoration: none;
}

.footer-col a:hover {
    color: white;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Responsive Design */
@media (max-width: 768px) {
    h1 {
        font-size: 2.25rem;
    }

    h2 {
        font-size: 1.875rem;
    }

    .navbar .container {
        flex-wrap: wrap;
        justify-content: space-between;
        padding-top: 0.5rem;
        padding-bottom: 0.5rem;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .nav-links {
        flex-direction: column;
        align-items: flex-start;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        padding: 0;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        gap: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease, padding 0.3s ease;
        z-index: 999;
    }

    .nav-links.active {
        max-height: 500px;
        padding: 1rem 0;
    }

    .nav-links a {
        width: 100%;
        padding: 0.75rem 1.5rem;
    }

    .hero {
        height: auto;
        min-height: 400px;
        padding: 8rem 0 3rem;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1.125rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }

    .contact-grid {
        gap: 2rem;
    }

    /* Mobile Dashboard Styles */
    .dashboard-container,
    .dashboard {
        display: block;
    }

    .sidebar {
        transform: translateX(-100%);
        width: 80%;
        max-width: 300px;
    }
    
    .sidebar.active {
        transform: translateX(0);
        display: block !important;
    }
    
    .sidebar-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .dashboard-content,
    .main-content {
        margin-left: 0 !important;
        width: 100% !important;
        padding: 1rem;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }
    
    table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .card {
        padding: 1rem;
    }
    
    .ground-card img {
        height: 150px;
    }
    
    .ground-info {
        padding: 1rem;
    }
    
    .filter-form {
        flex-direction: column;
        align-items: stretch;
    }
    
    .filter-form .form-group {
        margin-bottom: 0.5rem;
    }
    
    .filter-form button {
        align-self: flex-start;
        margin-top: 0.5rem;
    }
    
    /* Ensure buttons are sized appropriately on mobile */
    .btn {
        padding: 0.5rem 0.75rem;
    }
    
    /* Improve mobile form styling */
    input, select, textarea {
        padding: 0.75rem;
        font-size: 16px; /* Prevents iOS zoom on focus */
    }
    
    /* Fix footer grid on mobile */
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
    
    /* Adjust hero section */
    .hero-buttons .btn {
        width: 100%;
    }
    
    /* Make sure modals are properly displayed on mobile */
    .modal-content {
        width: 95%;
        max-width: 95%;
        margin: 1rem auto;
        padding: 1rem;
    }

    .profile-card-body,
    .profile-form {
        padding: 1.5rem;
    }
}

/* Small mobile devices */
@media (max-width: 480px) {
    h1 {
        font-size: 1.75rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .grounds-grid {
        grid-template-columns: 1fr;
    }
    
    .nav-links a {
        padding: 0.5rem 0;
        width: 100%;
        display: block;
    }
}

/* Mobile-first media queries for better responsiveness */
@media (min-width: 769px) {
    .nav-links {
        display: flex !important;
        max-height: none !important;
    }

    .dashboard-content {
        margin-left: 250px;
        padding: 2rem;
        flex: 1;
    }
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.text-light {
    color: var(--text-light);
}

.hero .btn-primary {
    background: var(--primary);
    color: white;
    border: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.hero .btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.hero .btn-outline {
    background: transparent;
    color: white;
    border: 2px solid white;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.hero .btn-outline:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

/* Profile Page Styling */
.profile-card {
    background: white;
    border-radius: 0.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    margin-bottom: 2rem;
}

.profile-card-header {
    background: var(--primary);
    color: white;
    padding: 1.5rem;
}

.profile-card-header h2 {
    margin: 0 0 0.5rem;
    font-size: 1.5rem;
    text-align: left;
}

.profile-card-header p {
    margin: 0;
    opacity: 0.8;
}

.profile-card-body {
    padding: 2rem;
}

.form-section {
    margin-bottom: 2rem;
}

.form-section h3 {
    color: var(--text-dark);
    font-size: 1.25rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--border);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border);
    border-radius: 0.375rem;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.2s;
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.2);
}

.form-buttons {
    display: flex;
    justify-content: flex-start;
    gap: 1rem;
}

.form-header {
    margin-bottom: 2rem;
}

.form-header h1 {
    margin-bottom: 0.5rem;
    font-size: 1.75rem;
}

.form-header p {
    color: var(--text-light);
    margin: 0;
}

/* Profile Form Styling */
.profile-form {
    background: white;
    border-radius: 0.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

/* Messages and Filter Section Styling */
.filter-section {
    background: white;
    padding: 1.5rem;
    border-radius: 0.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.filter-tabs {
    display: flex;
    gap: 0.5rem;
}

.filter-tab {
    padding: 0.5rem 1rem;
    background: var(--bg-light);
    border: 1px solid var(--border);
    border-radius: 0.375rem;
    text-decoration: none;
    color: var(--text);
    font-weight: 500;
    transition: all 0.2s;
}

.filter-tab.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.filter-tab:hover:not(.active) {
    background: var(--border);
}

.search-form {
    flex: 1;
    max-width: 500px;
}

.search-box {
    display: flex;
    gap: 0.5rem;
}

.search-box input {
    flex: 1;
    padding: 0.5rem 1rem;
    border: 1px solid var(--border);
    border-radius: 0.375rem;
    min-width: 200px;
}

.search-btn {
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 0.375rem;
    padding: 0.5rem 1rem;
    cursor: pointer;
    font-weight: 500;
}

.search-btn:hover {
    background: var(--primary-dark);
}

.message-grid {
    display: grid;
    gap: 1rem;
}

.message-card {
    background: white;
    border-radius: 0.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
    position: relative;
    transition: transform 0.2s, box-shadow 0.2s;
}

.message-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.message-card.unread {
    border-left: 4px solid var(--primary);
}

.message-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.message-sender {
    display: flex;
    flex-direction: column;
}

.message-sender .name {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.message-sender .email {
    color: var(--text-light);
    font-size: 0.875rem;
}

.message-date {
    color: var(--text-light);
    font-size: 0.875rem;
}

.message-content {
    margin-bottom: 1rem;
    line-height: 1.6;
}

.message-actions {
    display: flex;
    justify-content: flex-end;
    gap: 0.5rem;
}

/* Responsive Profile and Messages */
@media (max-width: 768px) {
    .profile-card-body,
    .profile-form {
        padding: 1.5rem;
    }
    
    .filter-section {
        flex-direction: column;
        align-items: stretch;
    }
    
    .filter-tabs {
        width: 100%;
        justify-content: space-between;
    }
    
    .search-form {
        width: 100%;
        max-width: none;
    }
    
    .form-buttons {
        flex-direction: column;
    }
    
    .form-buttons .btn {
        width: 100%;
    }
}

/* Alert Styling */
.alert {
    padding: 1rem;
    border-radius: 0.375rem;
    margin-bottom: 1.5rem;
}

.alert-danger {
    background: #fee2e2;
    color: #dc2626;
    border: 1px solid #fecaca;
}

.alert-success {
    background: #d1fae5;
    color: #047857;
    border: 1px solid #a7f3d0;
}

/* Danger zone styling */
.danger-zone {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
}

.danger-zone h3 {
    color: var(--danger);
    font-size: 1.25rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
}

.danger-zone p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.form-buttons .btn {
    width: 100%;
}

/* Filter Bar */
.filter-bar {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.filter-form {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 1rem;
}

.filter-group {
    flex: 1;
    min-width: 200px;
}

.filter-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.filter-input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border);
    border-radius: 4px;
    font-size: 1rem;
    transition: all 0.2s ease;
}

.filter-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.1);
    outline: none;
}

.search-btn {
    background-color: var(--primary);
    color: white;
    border: none;
    border-radius: 4px;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease;
    width: 100%;
}

.search-btn:hover {
    background-color: var(--primary-dark);
}

/* Filter styles matching grounds.php */
.filters {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    margin-bottom: 2.5rem;
    transition: box-shadow 0.3s ease;
}

.filters:hover {
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
}

.filters .filter-form {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    align-items: end;
}

.filters .form-group {
    margin-bottom: 0;
    position: relative;
}

.filters .form-group label {
    display: block;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    font-weight: 600;
    transition: color 0.2s;
}

.filters .form-group input,
.filters .form-group select {
    display: block;
    width: 100%;
    padding: 0.8rem 1rem;
    font-size: 1rem;
    border: 2px solid var(--border);
    border-radius: 0.5rem;
    background-color: #ffffff;
    transition: all 0.2s ease;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.filters .form-group input:focus,
.filters .form-group select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.15);
    outline: none;
}

.filters .form-group:hover label {
    color: var(--primary);
}

.select-wrapper {
    position: relative;
}

.select-wrapper::after {
    content: '\f107';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    color: var(--text-light);
}

.filter-buttons {
    display: flex;
    gap: 1rem;
    margin-left: auto;
}

@media (max-width: 768px) {
    .filters .filter-form {
        grid-template-columns: 1fr;
    }
    
    .filter-buttons {
        margin-left: 0;
        width: 100%;
    }
    
    .filter-buttons .btn {
        flex: 1;
    }
} 