/* Ortak Mevzuat Sayfası Stilleri */

.mevzuat-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.mevzuat-header {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #e0e0e0;
}

.mevzuat-header h1 {
    color: #2c3e50;
    font-size: 2.2rem;
    margin-bottom: 10px;
}

.mevzuat-header .muted {
    color: #7f8c8d;
    font-size: 1rem;
}

/* Filtre Paneli */
.filter-panel {
    background: #f8f9fa;
    padding: 24px;
    border-radius: 12px;
    margin-bottom: 30px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.filter-row {
    margin-bottom: 16px;
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
}

.filter-row label {
    min-width: 120px;
    font-weight: 600;
    color: #2c3e50;
    font-size: 0.95rem;
}

.filter-input {
    flex: 1;
    min-width: 180px;
    padding: 10px 14px;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.filter-input:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.filter-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    margin-top: 20px;
}

.btn-primary {
    background: #3498db;
    color: white;
    border: none;
    padding: 12px 32px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: #2980b9;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(52, 152, 219, 0.3);
}

.btn-secondary {
    background: #95a5a6;
    color: white;
    border: none;
    padding: 12px 32px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: #7f8c8d;
    transform: translateY(-2px);
}

/* Sonuçlar */
.results-container {
    margin-top: 20px;
}

.results-list {
    display: grid;
    gap: 16px;
    margin-bottom: 30px;
}

.result-item {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.result-item:hover {
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
    border-color: #3498db;
}

.result-item h3 {
    margin: 0 0 12px 0;
    font-size: 1.1rem;
    line-height: 1.4;
}

.result-item h3 a {
    color: #2c3e50;
    text-decoration: none;
    transition: color 0.3s ease;
}

.result-item h3 a:hover {
    color: #3498db;
}

.result-item .meta {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 10px;
    line-height: 1.6;
}

.result-item .actions {
    margin-top: 12px;
}

.btn-link {
    color: #3498db;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
}

.btn-link:hover {
    text-decoration: underline;
}

/* Sayfalama */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.btn-pagination {
    background: white;
    color: #3498db;
    border: 2px solid #3498db;
    padding: 8px 14px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    min-width: 40px;
}

.btn-pagination:hover:not(.active) {
    background: #ecf0f1;
    transform: translateY(-2px);
}

.btn-pagination.active {
    background: #3498db;
    color: white;
    cursor: default;
}

.pagination-dots {
    color: #7f8c8d;
    padding: 0 8px;
    font-weight: bold;
}

/* Yükleniyor ve Hata */
.loading-spinner {
    text-align: center;
    padding: 60px 20px;
    color: #7f8c8d;
    font-size: 1.1rem;
}

.error {
    background: #e74c3c;
    color: white;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    margin: 20px 0;
}

.no-results {
    text-align: center;
    padding: 60px 20px;
    color: #7f8c8d;
    font-size: 1.1rem;
}

/* Responsive */
@media (max-width: 768px) {
    .mevzuat-container {
        padding: 15px;
    }

    .mevzuat-header h1 {
        font-size: 1.8rem;
    }

    .filter-row {
        flex-direction: column;
        align-items: stretch;
    }

    .filter-row label {
        min-width: auto;
        margin-bottom: 5px;
    }

    .filter-input {
        min-width: 100%;
    }

    .filter-actions {
        justify-content: stretch;
    }

    .filter-actions button {
        flex: 1;
    }
}