/* ============================================
   FIND TEACHERS - PROFESSIONAL RESPONSIVE DESIGN
   ============================================ */

:root {
    --primary-color: #007b5d;
    --primary-hover: #005e46;
    --secondary-color: #00a876;
    --danger-color: #ef4444;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --border-color: #e5e7eb;
    --bg-light: #f8fffe;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.1);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: linear-gradient(135deg, #f0fdf9 0%, #e6f7f1 100%);
    color: var(--text-dark);
    line-height: 1.6;
    min-height: 100vh;
}

/* ============================================
   BREADCRUMB NAVIGATION
   ============================================ */
.breadcrumb-nav {
    background: white;
    padding: 1rem 0;
    box-shadow: var(--shadow-sm);
    margin-bottom: 2rem;
}

.breadcrumb-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9rem;
}

.breadcrumb-container a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.breadcrumb-container a:hover {
    color: var(--primary-hover);
}

.breadcrumb-container span {
    color: var(--text-light);
}

/* ============================================
   MAIN SECTION
   ============================================ */
.find-teachers-section {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem 1.5rem 4rem;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    margin-bottom: 1.5rem;
    transition: var(--transition);
    font-size: 0.95rem;
}

.back-link:hover {
    color: var(--primary-hover);
    transform: translateX(-5px);
}

.find-teachers-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    text-align: center;
}

.subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
}

/* ============================================
   SEARCH BAR - MODERN DESIGN
   ============================================ */
.search-bar-container {
    margin-bottom: 1.5rem;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.search-input-wrapper {
    flex: 1;
    min-width: 250px;
    position: relative;
    display: flex;
    align-items: center;
}

.search-icon {
    position: absolute;
    left: 1rem;
    color: var(--text-light);
    font-size: 1.1rem;
    pointer-events: none;
}

#search-input {
    width: 100%;
    padding: 0.9rem 3rem 0.9rem 3rem;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 1rem;
    transition: var(--transition);
    background: white;
}

#search-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 123, 93, 0.1);
}

.clear-search-btn {
    position: absolute;
    right: 0.75rem;
    background: transparent;
    border: none;
    color: var(--text-light);
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.clear-search-btn:hover {
    background: var(--bg-light);
    color: var(--danger-color);
}

.search-submit-btn {
    padding: 0.9rem 2rem;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: var(--radius-sm);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
}

.search-submit-btn:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* ============================================
   FILTER BOX - MODERN DESIGN
   ============================================ */
.filter-box {
    background: white;
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-lg);
    margin-bottom: 3rem;
    border: 1px solid var(--border-color);
}

.filter-box h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.filter-box h3::before {
    content: "🔍";
    font-size: 1.3rem;
}

.filter-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.filter-group label {
    font-weight: 500;
    color: var(--text-dark);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.filter-group label i {
    color: var(--primary-color);
    font-size: 0.9rem;
}

.filter-group select {
    padding: 0.75rem 1rem;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    transition: var(--transition);
    background: white;
    cursor: pointer;
}

.filter-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 123, 93, 0.1);
}

.clear-btn {
    padding: 0.75rem 1.5rem;
    background: var(--danger-color);
    color: white;
    border: none;
    border-radius: var(--radius-sm);
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    align-self: end;
}

.clear-btn:hover {
    background: #dc2626;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* ============================================
   PRICE RANGE SLIDER
   ============================================ */
.price-range {
    margin-bottom: 1.5rem;
}

.price-range label {
    display: block;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.price-range label i {
    color: var(--primary-color);
}

#price-display {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1.1rem;
}

#price-slider {
    width: 100%;
    height: 8px;
    border-radius: 5px;
    outline: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background: linear-gradient(to right, var(--primary-color) 0%, #ddd 0%);
    cursor: pointer;
}

#price-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--primary-color);
    cursor: pointer;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

#price-slider::-webkit-slider-thumb:hover {
    transform: scale(1.2);
    box-shadow: 0 0 0 8px rgba(0, 123, 93, 0.1);
}

#price-slider::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--primary-color);
    cursor: pointer;
    border: none;
    box-shadow: var(--shadow-md);
}

/* ============================================
   AVAILABLE DAYS FILTER
   ============================================ */
.available-days label {
    display: block;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.available-days > label i {
    color: var(--primary-color);
}

.days-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 0.75rem;
}

.days-grid label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: var(--bg-light);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
    font-weight: 400;
}

.days-grid label:hover {
    border-color: var(--primary-color);
    background: rgba(0, 123, 93, 0.05);
}

.days-grid input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: var(--primary-color);
}

.days-grid input[type="checkbox"]:checked + label,
.days-grid label:has(input:checked) {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

/* ============================================
   TEACHERS SECTION
   ============================================ */
.teachers-section {
    margin-top: 3rem;
}

.teachers-section h3 {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.teachers-section h3 i {
    color: var(--primary-color);
}

/* ============================================
   TEACHERS GRID - RESPONSIVE
   ============================================ */
.teachers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
}

/* ============================================
   TEACHER CARD - MODERN DESIGN
   ============================================ */
.teacher-card {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.teacher-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.teacher-header {
    padding: 1.5rem;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    border-bottom: 1px solid var(--border-color);
}

.teacher-header img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary-color);
    box-shadow: var(--shadow-sm);
}

.teacher-info {
    flex: 1;
}

.teacher-info h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.teacher-info h4:hover {
    color: var(--primary-color);
}

.teacher-info p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 0.25rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.teacher-info p i {
    color: var(--primary-color);
}

.teacher-info p .fa-star {
    color: #fbbf24;
}

.teacher-info p span {
    color: var(--text-light);
}

.teacher-body {
    padding: 1.5rem;
    flex: 1;
}

.teacher-body p {
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
}

.subject-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
}

.subject-tags span {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 0.4rem 0.9rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    box-shadow: var(--shadow-sm);
}

.available-days-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.available-days-list span {
    background: var(--bg-light);
    color: var(--text-dark);
    padding: 0.4rem 0.9rem;
    border-radius: 20px;
    font-size: 0.85rem;
    border: 1px solid var(--border-color);
}

.teacher-footer {
    padding: 1.5rem;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--bg-light);
}

.teacher-footer .price {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.teacher-footer .price i {
    font-size: 1.1rem;
}

.book-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
}

.book-btn:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* ============================================
   NO RESULTS
   ============================================ */
.no-results {
    grid-column: 1 / -1;
    text-align: center;
    padding: 4rem 2rem;
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.no-results p {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-top: 1rem;
}

/* ============================================
   BOOKING MODAL - PROFESSIONAL DESIGN
   ============================================ */
#modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    padding: 1rem;
    animation: fadeIn 0.3s ease;
}

#modal-overlay.hidden {
    display: none;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.modal-content {
    background: white;
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    position: relative;
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.close-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--bg-light);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-dark);
}

.close-btn:hover {
    background: var(--danger-color);
    color: white;
    transform: rotate(90deg);
}

.modal-content h3 {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.modal-content h3 i {
    color: var(--primary-color);
}

.new-date-selection {
    margin-bottom: 2rem;
}

.new-date-selection label {
    display: block;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
    font-size: 1rem;
}

.new-date-selection input[type="date"] {
    width: 100%;
    padding: 0.9rem 1rem;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 1rem;
    transition: var(--transition);
}

.new-date-selection input[type="date"]:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 123, 93, 0.1);
}

.available-time-slots {
    margin-bottom: 2rem;
}

.available-time-slots strong {
    display: block;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-size: 1rem;
}

.time-slots {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 0.75rem;
}

.time-slot-btn {
    padding: 0.75rem 1rem;
    background: var(--bg-light);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
    color: var(--text-dark);
    font-size: 0.9rem;
}

.time-slot-btn:hover {
    border-color: var(--primary-color);
    background: rgba(0, 123, 93, 0.05);
}

.time-slot-btn.selected {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    box-shadow: var(--shadow-md);
}

.new-lesson-schedule {
    background: var(--bg-light);
    padding: 1.5rem;
    border-radius: var(--radius-sm);
    margin-bottom: 2rem;
    border-left: 4px solid var(--primary-color);
}

.new-lesson-schedule strong {
    display: block;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.new-lesson-schedule p {
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    font-size: 0.95rem;
}

.new-lesson-schedule p b {
    font-weight: 600;
    color: var(--text-dark);
}

.new-lesson-schedule p span {
    color: var(--primary-color);
    font-weight: 500;
}

.modal-actions2 {
    display: flex;
    justify-content: center;
}

.confirm-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 1rem 2.5rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
}

.confirm-btn:hover:not(:disabled) {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.confirm-btn:disabled {
    background: var(--text-light);
    cursor: not-allowed;
    opacity: 0.5;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

/* Tablets */
@media (max-width: 1024px) {
    .find-teachers-section h2 {
        font-size: 2rem;
    }
    
    .teachers-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 1.5rem;
    }
    
    .filter-row {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    }
}

/* Mobile Devices */
@media (max-width: 768px) {
    .find-teachers-section {
        padding: 1.5rem 1rem 3rem;
    }
    
    .find-teachers-section h2 {
        font-size: 1.75rem;
    }
    
    .subtitle {
        font-size: 1rem;
    }
    
    .filter-box {
        padding: 1.5rem;
    }
    
    .filter-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .clear-btn {
        width: 100%;
        justify-content: center;
    }
    
    .days-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .teachers-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .teacher-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .teacher-footer {
        flex-direction: column;
        gap: 1rem;
    }
    
    .book-btn {
        width: 100%;
        justify-content: center;
    }
    
    .modal-content {
        padding: 2rem 1.5rem;
        margin: 1rem;
    }
    
    .modal-content h3 {
        font-size: 1.5rem;
    }
    
    .time-slots {
        grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    }
    
    .breadcrumb-container {
        font-size: 0.85rem;
        padding: 0 1rem;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .find-teachers-section h2 {
        font-size: 1.5rem;
    }
    
    .filter-box h3 {
        font-size: 1.25rem;
    }
    
    .teachers-section h3 {
        font-size: 1.5rem;
    }
    
    .teacher-header img {
        width: 70px;
        height: 70px;
    }
    
    .teacher-info h4 {
        font-size: 1.1rem;
    }
    
    .teacher-footer .price {
        font-size: 1.1rem;
    }
    
    .days-grid {
        grid-template-columns: 1fr;
    }
}

/* Print Styles */
@media print {
    .filter-box,
    .back-link,
    .breadcrumb-nav,
    .book-btn,
    #modal-overlay {
        display: none !important;
    }
    
    .teachers-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}


/* ============================================
   LOADING ANIMATION
   ============================================ */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.fa-spinner.fa-spin {
    animation: spin 1s linear infinite;
}

/* ============================================
   SMOOTH TRANSITIONS
   ============================================ */
.teacher-card,
.book-btn,
.search-submit-btn,
.clear-btn,
.time-slot-btn,
.confirm-btn {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================
   HOVER EFFECTS
   ============================================ */
.teacher-card:hover .teacher-header img {
    transform: scale(1.05);
    transition: transform 0.3s ease;
}

.subject-tags span:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 123, 93, 0.3);
}

/* ============================================
   FOCUS STATES FOR ACCESSIBILITY
   ============================================ */
button:focus,
input:focus,
select:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* ============================================
   EMPTY STATE STYLING
   ============================================ */
.no-results {
    animation: fadeIn 0.5s ease;
}

/* ============================================
   RESPONSIVE SEARCH BAR
   ============================================ */
@media (max-width: 640px) {
    .search-bar-container {
        flex-direction: column;
    }
    
    .search-input-wrapper {
        width: 100%;
        min-width: 100%;
    }
    
    .search-submit-btn {
        width: 100%;
        justify-content: center;
    }
}

/* ============================================
   IMPROVED MODAL RESPONSIVENESS
   ============================================ */
@media (max-width: 480px) {
    .modal-content {
        padding: 1.5rem 1rem;
        border-radius: var(--radius-md);
    }
    
    .close-btn {
        top: 0.5rem;
        right: 0.5rem;
        width: 35px;
        height: 35px;
        font-size: 1.3rem;
    }
    
    .time-slots {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.5rem;
    }
    
    .time-slot-btn {
        padding: 0.6rem 0.5rem;
        font-size: 0.85rem;
    }
}

/* ============================================
   DARK MODE SUPPORT (Optional)
   ============================================ */
@media (prefers-color-scheme: dark) {
    /* Uncomment to enable dark mode
    :root {
        --text-dark: #f9fafb;
        --text-light: #d1d5db;
        --bg-light: #1f2937;
        --border-color: #374151;
    }
    
    body {
        background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
        color: var(--text-dark);
    }
    
    .filter-box,
    .teacher-card,
    .modal-content {
        background: #1f2937;
        border-color: var(--border-color);
    }
    */
}

/* ============================================
   PRINT OPTIMIZATION
   ============================================ */
@media print {
    body {
        background: white;
    }
    
    .teacher-card {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ddd;
    }
    
    .teacher-footer .price {
        color: #000;
    }
}


/* ============================================
   PAGINATION - PROFESSIONAL DESIGN
   ============================================ */
.pagination-container {
    margin-top: 3rem;
    padding: 2rem 0;
    border-top: 2px solid var(--border-color);
}

.pagination-info {
    text-align: center;
    color: var(--text-light);
    font-size: 0.95rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.pagination-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: white;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.pagination-btn:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.pagination-btn i {
    font-size: 0.85rem;
}

.pagination-numbers {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.pagination-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: white;
    color: var(--text-dark);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.pagination-number:hover {
    background: var(--bg-light);
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
}

.pagination-number.active {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(0, 123, 93, 0.3);
    transform: translateY(-2px);
}

.pagination-dots {
    color: var(--text-light);
    font-weight: 600;
    padding: 0 0.5rem;
}

/* Responsive Pagination */
@media (max-width: 768px) {
    .pagination-container {
        margin-top: 2rem;
        padding: 1.5rem 0;
    }
    
    .pagination {
        gap: 0.35rem;
    }
    
    .pagination-btn {
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
    }
    
    .pagination-number {
        width: 40px;
        height: 40px;
        font-size: 0.85rem;
    }
    
    .pagination-info {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .pagination-btn span {
        display: none;
    }
    
    .pagination-btn {
        padding: 0.6rem;
        min-width: 40px;
    }
    
    .pagination-number {
        width: 35px;
        height: 35px;
        font-size: 0.8rem;
    }
}
