/* GPS Trails Available Plugin Styles */

.gps-trails-available-container {
    width: 100%;
    max-width: 1200px;
    margin: 20px auto;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

.gps-trails-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 20px;
    padding: 20px;
    background: #f5f5f5;
    border-radius: 8px;
    align-items: flex-end;
}

.gps-trails-filter {
    display: flex;
    flex-direction: column;
    gap: 5px;
    min-width: 180px;
}

.gps-trails-filter label {
    font-weight: 600;
    font-size: 14px;
    color: #333;
}

.gps-trails-filter select {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    background-color: white;
    cursor: pointer;
    transition: border-color 0.2s;
}

.gps-trails-filter select:hover {
    border-color: #999;
}

.gps-trails-filter select:focus {
    outline: none;
    border-color: #0073aa;
    box-shadow: 0 0 0 1px #0073aa;
}

.gps-trails-filter-button,
.gps-trails-reset-button {
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s;
}

.gps-trails-filter-button {
    background-color: #0073aa;
    color: white;
}

.gps-trails-filter-button:hover {
    background-color: #005a87;
}

.gps-trails-reset-button {
    background-color: #666;
    color: white;
}

.gps-trails-reset-button:hover {
    background-color: #444;
}

.gps-trails-table-wrapper {
    overflow-x: auto;
    background: white;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.gps-trails-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.gps-trails-table thead {
    background-color: #1a1a1a;
    color: #ffffff;
}

.gps-trails-table th {
    padding: 18px 20px;
    text-align: left;
    font-weight: bold;
    text-transform: none;
    font-size: 16px;
    letter-spacing: 0.5px;
    border-bottom: 4px solid #333333;
    white-space: nowrap;
    color: #ffffff;
}

.gps-trails-table tbody tr {
    border-bottom: 1px solid #e5e5e5;
    transition: background-color 0.2s;
}

.gps-trails-table tbody tr:hover {
    background-color: #f9f9f9;
}

.gps-trails-table tbody tr:last-child {
    border-bottom: none;
}

.gps-trails-table td {
    padding: 12px 15px;
}

.gps-trails-no-data {
    text-align: center;
    padding: 40px 20px !important;
    color: #666;
    font-style: italic;
}

.gps-trails-loading {
    text-align: center;
    padding: 20px;
    font-size: 16px;
    color: #666;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    .gps-trails-filters {
        flex-direction: column;
    }
    
    .gps-trails-filter {
        width: 100%;
    }
    
    .gps-trails-filter-button,
    .gps-trails-reset-button {
        width: 100%;
    }
    
    .gps-trails-table {
        font-size: 12px;
    }
    
    .gps-trails-table th,
    .gps-trails-table td {
        padding: 8px 10px;
    }
}

/* Loading state */
.gps-trails-available-container.loading .gps-trails-table-wrapper {
    opacity: 0.5;
    pointer-events: none;
}
