body {
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

#suggestions {
    z-index: 1000;
    max-height: 300px;
    overflow-y: auto;
    border-radius: 0.5rem;
    border: 1px solid #e5e7eb;
}

#suggestions .suggestion-item {
    padding: 12px;
    cursor: pointer;
    font-size: 1.125rem;
    color: #374151;
    border-bottom: 1px solid #e5e7eb;
    transition: background-color 0.2s ease;
}

#suggestions .suggestion-item:last-child {
    border-bottom: none;
}

#suggestions .suggestion-item:hover {
    background-color: #d1fae5;
}

table {
    border-collapse: separate;
    border-spacing: 0;
    width: 100%;
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    background-color: #ffffff;
}

table .table-row:nth-child(even) {
    background-color: #f8fafc;
}

table .table-row:hover {
    background-color: #ecfdf5;
    transform: translateY(-2px);
    transition: all 0.3s ease;
}

table th, table td {
    padding: 1.25rem;
    text-align: left;
    border-bottom: 1px solid #e5e7eb;
    font-size: 1rem;
}

table tr:last-child td {
    border-bottom: none;
}

table th {
    font-weight: 700;
    background-color: #10b981;
    color: #ffffff;
}

table td {
    background-color: #ffffff;
}

table .table-row:nth-child(even) td {
    background-color: #f8fafc;
}

/* Custom styles for form inputs */
input, textarea, select {
    transition: all 0.3s ease;
}

input:focus, textarea:focus, select:focus {
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.3);
    border-color: #10b981;
}

/* Main search bar */
#main_search {
    font-size: 1.25rem;
    padding: 0.75rem 3rem 0.75rem 1.5rem;
    border-radius: 9999px;
    border: 2px solid #d1d5db;
    background-color: #f9fafb;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

#main_search:focus {
    border-color: #10b981;
    box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.2);
}

/* Pagination buttons */
#pagination a {
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

#pagination a:hover:not(.opacity-50) {
    background-color: #059669;
    transform: translateY(-1px);
}

#pagination span {
    font-weight: 500;
    color: #1f2937;
}

/* Responsive adjustments */
@media (max-width: 640px) {
    .container {
        padding: 1rem;
    }
    h1 {
        font-size: 2rem;
    }
    h2 {
        font-size: 1.5rem;
    }
    button, a.bg-green-600, a.bg-red-600 {
        font-size: 0.875rem;
        padding: 0.5rem 1rem;
    }
    table th, table td {
        padding: 0.75rem;
        font-size: 0.875rem;
    }
    #main_search {
        font-size: 1rem;
        padding: 0.5rem 2rem 0.5rem 1rem;
    }
}

@media (max-width: 768px) {
    .sm\:grid-cols-2 {
        grid-template-columns: 1fr;
    }
}