/* Lesson Plans Frontend Styles */
.lp-filter-container {
    max-width: 100%;
    margin: 20px auto;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.lp-filter-controls {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 20px;
}

.lp-filter-group {
    flex: 1;
    min-width: 200px;
}

.lp-filter-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
}

.lp-filter-select {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.lp-filter-button {
    padding: 10px 20px;
    background: #067276;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 15px;
    transition: background 0.3s;
}

.lp-filter-button:hover {
    background: #135e96;
}

.lp-results-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.lp-results-table th {
    background: #067276;
    color: white;
    padding: 12px 15px;
    text-align: left;
    font-weight: 500;
}

.lp-results-table td {
    padding: 10px;
    border-bottom: 1px solid #eee;
}

.lp-download-link {
    color: #2271b1;
    text-decoration: none;
}

.lp-download-link:hover {
    text-decoration: underline;
}

.lp-no-results {
    text-align: center;
    padding: 20px;
    color: #666;
}

.lp-loader {
    text-align: center;
    padding: 20px;
    display: none;
}

.lp-spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #2271b1;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    animation: lp-spin 1s linear infinite;
    margin: 0 auto 10px;
}

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

.lp-pagination {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 5px;
}

.lp-page-button {
    padding: 5px 10px;
    border: 1px solid #ddd;
    background: white;
    cursor: pointer;
}

.lp-page-button:hover {
    background: #f0f0f0;
}

.lp-current-page {
    padding: 5px 10px;
    background: #2271b1;
    color: white;
}

.lp-dots {
    padding: 5px 10px;
}