/* TalentTrack - Job Search Widget Styles */

/* ===== JOB SEARCH HERO ===== */
/* .job-search-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 60px 20px;
    text-align: center;
    color: white;
    margin-bottom: 40px;
} */

.job-search-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: white;
}

.job-search-subtitle {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Transparent background for job search hero */
.job-search-hero-transparent {
  background: transparent !important;
  box-shadow: none;
}

/* Responsive, modern search form layout */
.job-search-form {
  background: #fff;
  border-radius: 10px;
  padding: 1rem;
  display: flex;
  flex-direction: row;
  gap: 1rem;
  align-items: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.job-search-inputs {
  display: flex;
  flex: 1;
  gap: 1rem;
}

.job-search-input-group, .job-search-input {
  flex: 1;
}

/* Input wrapper for icons */
.job-search-input-wrapper {
  position: relative;
  flex: 1;
}

.job-search-input {
  background: #f5f5f5;
  border-radius: 6px;
  border: 1px solid #e0e0e0;
  padding: 0.5rem 1rem;
  font-size: 1rem;
  width: 100%;
  transition: all 0.3s ease;
}

/* Input with icon padding */
.job-search-input-wrapper:has(.job-search-input-icon) .job-search-input {
  padding-left: 2.5rem;
}

/* Fallback for browsers that don't support :has() */
.job-search-input-wrapper .job-search-input-icon + .job-search-input {
  padding-left: 2.5rem;
}

.job-search-input-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #666;
  font-size: 16px;
  pointer-events: none;
  z-index: 2;
}

/* Autocomplete dropdown styles */
.job-search-autocomplete-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: white;
  border: 1px solid #e0e0e0;
  border-top: none;
  border-radius: 0 0 6px 6px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  z-index: 1000;
  max-height: 200px;
  overflow-y: auto;
}

.job-search-autocomplete-item {
  padding: 12px 15px;
  cursor: pointer;
  border-bottom: 1px solid #f0f0f0;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 10px;
}

.job-search-autocomplete-item:last-child {
  border-bottom: none;
}

.job-search-autocomplete-item:hover,
.job-search-autocomplete-item.active {
  background-color: #f8f9fa;
  color: #333;
}

/* Suggestion items */
.job-search-suggestion {
  color: #666;
}

.job-search-suggestion i {
  color: #007cba;
  font-size: 14px;
  width: 16px;
  text-align: center;
}

.job-search-suggestion .item-label {
  font-weight: 500;
}

/* Job link items */
.job-search-job-link {
  color: #333;
}

.job-search-job-link i {
  color: #059669;
  font-size: 16px;
  width: 16px;
  text-align: center;
  flex-shrink: 0;
}

.job-search-job-link .item-content {
  flex: 1;
  min-width: 0;
}

.job-search-job-link .item-title {
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.job-search-job-link .item-location {
  font-size: 12px;
  color: #666;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Location items */
.job-search-location-item {
  color: #333;
}

.job-search-location-item i {
  color: #007cba;
  font-size: 16px;
  width: 16px;
  text-align: center;
  flex-shrink: 0;
}

.job-search-location-item .item-content {
  flex: 1;
  min-width: 0;
}

.job-search-location-item .item-title {
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.job-search-location-item .item-postal {
  font-size: 12px;
  color: #666;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Current location item */
.job-search-current-location {
  background-color: #f8f9fa;
  border-left: 3px solid #007cba;
}

.job-search-current-location i {
  color: #007cba;
}

.job-search-current-location:hover {
  background-color: #e3f2fd;
}

/* Geolocation states */
.job-search-input[value*="Getting your location"] {
  color: #007cba;
  font-style: italic;
}

.job-search-input[value*="Location detected"] {
  color: #059669;
  font-weight: 600;
}

.job-search-input[value*="Location access denied"],
.job-search-input[value*="Location information unavailable"],
.job-search-input[value*="Location request timed out"],
.job-search-input[value*="Unable to get your location"],
.job-search-input[value*="Geolocation not supported"] {
  color: #dc2626;
  font-style: italic;
}

/* Focus states */
.job-search-input:focus {
  outline: none;
  border-color: #007cba;
  box-shadow: 0 0 0 2px rgba(0, 124, 186, 0.1);
}

.job-search-input:focus + .job-search-input-icon {
  color: #007cba;
}

.job-search-button {
  background: #222;
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 0.75rem 1.5rem;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.2s;
}
.job-search-button:hover {
  background: #444;
}

/* ===== TOP JOBS SECTION ===== */
.top-jobs-section {
    margin-top: 40px;
    padding: 0 20px;
}

.top-jobs-title {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 30px;
    color: white;
    text-align: center;
}

.top-jobs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.top-job-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 25px;
    transition: all 0.3s ease;
}

.top-job-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

.top-job-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: white;
}

.top-job-company {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    margin-bottom: 8px;
}

.top-job-location {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin-bottom: 8px;
}

.top-job-salary {
    color: #4ade80;
    font-weight: 600;
    margin-bottom: 15px;
}

.top-job-link {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.top-job-link:hover {
    background: rgba(255, 255, 255, 0.3);
    color: white;
    transform: translateY(-1px);
}

/* ===== JOB SEARCH PANEL ===== */
.job-search-panel-widget {
    margin-bottom: 40px;
    display: flex;
    gap: 2rem;
}

/* Responsive flex direction for tablet and mobile */
@media (max-width: 1024px) {
    .job-search-panel-widget {
        flex-direction: column;
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .job-search-panel-widget {
        flex-direction: column;
        gap: 1rem;
    }
}

.job-filters-panel {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    margin-bottom: 30px;
    min-width: 420px;
    height: fit-content;
}

/* Remove min-width for tablet and mobile */
@media (max-width: 1024px) {
    .job-filters-panel {
        min-width: auto;
        width: 100%;
    }
}

.filters-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    align-items: end;
}

.filter-group {
    display: flex;
    flex-direction: column;
}

.filter-label {
    font-weight: 600;
    margin-bottom: 8px;
    color: #374151;
    font-size: 0.9rem;
}

/* Filter input wrapper for icons */
.filter-input-wrapper {
    position: relative;
    width: 100%;
}

.filter-input-wrapper .filter-input-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #666;
    font-size: 16px;
    pointer-events: none;
    z-index: 2;
    width: 20px;
    height: 20px;
}

/* Input with icon padding */
.filter-input-wrapper:has(.filter-input-icon) .filter-input {
    padding-left: 2.5rem;
}

/* Fallback for browsers that don't support :has() */
.filter-input-wrapper .filter-input-icon + .filter-input {
    padding-left: 2.5rem;
}

.filter-select {
    padding: 12px 15px;
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    font-size: 14px;
    background: white;
    transition: all 0.3s ease;
}

.filter-select:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.filter-search-group {
    display: flex;
    align-items: end;
}

.filter-search-button {
    padding: 12px 25px;
    background: #667eea;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    width: 100%;
}

.filter-search-button:hover {
    background: #5a6fd8;
    transform: translateY(-1px);
}

/* Reset Button Styles */
.filter-reset-button {
    background-color: #6c757d;
    color: white;
    border: none;
    border-radius: 6px;
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-left: 0.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
}

.filter-reset-button:hover {
    background-color: #5a6268;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(108, 117, 125, 0.3);
}

.filter-reset-button.reset-success {
    background-color: #28a745;
    animation: resetSuccess 0.3s ease-in-out;
}

@keyframes resetSuccess {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* Responsive adjustments for reset button */
@media (max-width: 768px) {
    .filter-reset-button {
        margin-left: 0;
        margin-top: 0.5rem;
        width: 100%;
    }
    
    .filter-search-group {
        flex-direction: column;
    }
}

/* ===== JOB RESULTS SECTION ===== */
.job-results-section {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    overflow: hidden;
    width: 100%;
}

.job-count {
    padding: 20px 30px;
    background: #f8f9fa;
    border-bottom: 1px solid #e1e5e9;
}

.count-text {
    font-weight: 600;
    color: #374151;
}

.job-results-container {
    padding: 30px;
}

.job-results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 25px;
    margin-bottom: 30px;
}

.job-card {
    background: white;
    border: 1px solid #e1e5e9;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.job-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.job-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    border-color: #667eea;
}

.job-card:hover::before {
    transform: scaleX(1);
}

.job-card .job-title {
    margin: 0 0 12px 0;
    font-size: 1.3rem;
    font-weight: 600;
    color: #1f2937;
    line-height: 1.3;
}

.job-card .job-company {
    color: #6b7280;
    font-weight: 500;
    margin-bottom: 8px;
    font-size: 1rem;
}

.job-card .job-location {
    color: #9ca3af;
    font-size: 0.9rem;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
}

.job-card .job-salary {
    color: #059669;
    font-weight: 600;
    margin-bottom: 12px;
    font-size: 0.95rem;
}

.job-card .job-employment-type {
    color: #667eea;
    font-weight: 500;
    margin-bottom: 15px;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.job-card .job-actions {
    margin-top: 20px;
}

.job-view-details {
    display: inline-block;
    padding: 10px 20px;
    background: #667eea;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.job-view-details:hover {
    background: #5a6fd8;
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

/* ===== JOB MAP WIDGET ===== */
.job-map-widget {
    margin-bottom: 40px;
}

.job-map-container {
    width: 100%;
    height: 400px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    position: relative;
}

.map-loading {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.9);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.map-popup {
    padding: 10px;
    max-width: 250px;
}

.map-popup h4 {
    margin: 0 0 8px 0;
    font-size: 1rem;
    font-weight: 600;
    color: #1f2937;
}

.map-popup p {
    margin: 4px 0;
    font-size: 0.85rem;
    color: #6b7280;
}

.map-popup-link {
    display: inline-block;
    margin-top: 8px;
    padding: 6px 12px;
    background: #667eea;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-size: 0.8rem;
    transition: background 0.3s ease;
}

.map-popup-link:hover {
    background: #5a6fd8;
    color: white;
}

/* ===== PAGINATION ===== */
.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    padding: 30px;
    background: #f8f9fa;
    border-top: 1px solid #e1e5e9;
}

.page-link {
    padding: 10px 15px;
    border: 1px solid #e1e5e9;
    background: white;
    color: #374151;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-weight: 500;
    min-width: 40px;
    text-align: center;
}

.page-link:hover {
    background: #f8f9fa;
    border-color: #667eea;
    color: #667eea;
    transform: translateY(-1px);
}

.page-link.current {
    background: #667eea;
    color: white;
    border-color: #667eea;
}

/* ===== LOADING SPINNER ===== */
.loading-spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #667eea;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ===== JOB DETAIL STYLES ===== */
.job-detail-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 20px;
}

.job-detail-container .job-title {
    font-size: 2.2rem;
    color: #1f2937;
    margin-bottom: 20px;
    font-weight: 700;
}

.job-detail-container .job-company,
.job-detail-container .job-location,
.job-detail-container .job-salary {
    margin-bottom: 15px;
    font-size: 1.1rem;
    color: #6b7280;
}

.job-detail-container .job-description {
    margin-top: 40px;
}

.job-detail-container .job-description-content {
    margin-top: 20px;
    line-height: 1.7;
    color: #374151;
}

/* ===== JOB APPLY BUTTON ===== */
.job-apply-button-container {
    text-align: center;
    margin: 40px 0;
}

.job-apply-button {
    display: inline-block;
    padding: 15px 40px;
    background: #059669;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(5, 150, 105, 0.3);
}

.job-apply-button:hover {
    background: #047857;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(5, 150, 105, 0.4);
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
    .job-search-hero {
        padding: 40px 15px;
    }
    
    .job-search-title {
        font-size: 2rem;
    }
    
    .job-search-subtitle {
        font-size: 1rem;
    }
    
    .job-search-form {
        padding: 20px;
    }
    
    .job-search-inputs {
        flex-direction: column;
    }
    
    .job-search-input {
        min-width: auto;
        width: 100%;
    }
    
    .job-search-button {
        width: 100%;
    }
    
    .top-jobs-grid {
        grid-template-columns: 1fr;
    }
    
    .filters-grid {
        grid-template-columns: 1fr;
    }
    
    .job-results-grid {
        grid-template-columns: 1fr;
    }
    
    .pagination {
        flex-wrap: wrap;
    }
    
    .job-detail-container .job-title {
        font-size: 1.8rem;
    }
}

/* ===== ERROR AND NO RESULTS ===== */
.error {
    color: #dc2626;
    text-align: center;
    padding: 40px;
    font-weight: 500;
}

.no-results {
    color: #6b7280;
    text-align: center;
    padding: 40px;
    font-style: italic;
}

.no-top-jobs {
    color: rgba(255, 255, 255, 0.7);
    text-align: center;
    padding: 40px;
    font-style: italic;
}

/* ===== ADMIN HELP SECTION ===== */
.talent-track-help {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 8px;
    margin-top: 30px;
}

.talent-track-help h2 {
    color: #1f2937;
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.talent-track-help h3 {
    color: #374151;
    margin: 25px 0 15px 0;
    font-size: 1.2rem;
}

.talent-track-help ul,
.talent-track-help ol {
    margin-left: 20px;
}

.talent-track-help li {
    margin-bottom: 8px;
    color: #6b7280;
    line-height: 1.5;
}

/* ===== UTILITY CLASSES ===== */
.text-center {
    text-align: center;
}

.mb-20 {
    margin-bottom: 20px;
}

.mt-20 {
    margin-top: 20px;
}

.hidden {
    display: none;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.job-card {
    animation: fadeIn 0.5s ease-out;
}

.job-card:nth-child(1) { animation-delay: 0.1s; }
.job-card:nth-child(2) { animation-delay: 0.2s; }
.job-card:nth-child(3) { animation-delay: 0.3s; }
.job-card:nth-child(4) { animation-delay: 0.4s; }
.job-card:nth-child(5) { animation-delay: 0.5s; }
.job-card:nth-child(6) { animation-delay: 0.6s; } 

/* Responsive styles */
@media (max-width: 768px) {
  .job-search-form {
    flex-direction: column;
    gap: 0.75rem;
  }
  .job-search-inputs {
    flex-direction: column;
    gap: 0.75rem;
    width: 100%;
  }
  .job-search-button {
    width: 100%;
  }
  .top-searches-chips {
    flex-wrap: wrap;
    gap: 0.5rem;
  }
  
  /* Mobile autocomplete adjustments */
  .job-search-autocomplete-dropdown {
    max-height: 150px;
  }
  
  .job-search-autocomplete-item {
    padding: 10px 12px;
    gap: 8px;
  }
  
  .job-search-job-link .item-title {
    font-size: 13px;
  }
  
  .job-search-job-link .item-location {
    font-size: 11px;
  }
  
  .job-search-location-item .item-title {
    font-size: 13px;
  }
  
  .job-search-location-item .item-postal {
    font-size: 11px;
  }
  
  /* Mobile icon adjustments */
  .job-search-input-wrapper:has(.job-search-input-icon) .job-search-input {
    padding-left: 2.2rem;
  }
  
  /* Fallback for browsers that don't support :has() */
  .job-search-input-wrapper .job-search-input-icon + .job-search-input {
    padding-left: 2.2rem;
  }
  
  .job-search-input-icon {
    left: 10px;
    font-size: 14px;
  }
}
@media (max-width: 480px) {
  .job-search-hero {
    padding: 1rem 0.5rem;
  }
  .chip, .top-job-card {
    font-size: 0.95rem;
    padding: 0.4rem 0.8rem;
  }
} 

/* Material Design Paginator Styles */
.mat-mdc-paginator-outer-container {
    display: block;
}

.mat-mdc-paginator-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-direction: row;
    min-height: 56px;
    padding: 0 8px;
    flex-wrap: wrap-reverse;
    width: 100%;
}

.mat-mdc-paginator-page-size {
    display: flex;
    align-items: center;
    margin-right: 8px;
}

.mat-mdc-paginator-page-size-label {
    margin: 0 4px;
    color: rgba(0, 0, 0, 0.87);
}

.mat-mdc-paginator-page-size-select {
    width: 56px;
    margin: 6px 4px 0 4px;
}

.mat-mdc-select {
    padding: 8px 12px;
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 4px;
    background-color: transparent;
    font-size: 14px;
    width: 100%;
    cursor: pointer;
}

.mat-mdc-paginator-range-actions {
    display: flex;
    align-items: center;
    min-height: 48px;
}

.mat-mdc-paginator-range-label {
    margin: 0 32px 0 24px;
    color: rgba(0, 0, 0, 0.87);
    font-size: 14px;
}

.mdc-icon-button {
    position: relative;
    width: 40px;
    height: 40px;
    padding: 8px;
    border: none;
    background: none;
    cursor: pointer;
    border-radius: 50%;
    transition: background-color 0.2s;
}

.mdc-icon-button:hover:not(.mat-mdc-button-disabled) {
    background-color: rgba(0, 0, 0, 0.04);
}

.mat-mdc-button-disabled {
    opacity: 0.38;
    cursor: default;
}

.mat-mdc-button-disabled a {
    pointer-events: none;
}

.mat-mdc-paginator-icon {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

/* Hide default link styles */
.page-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

/* Responsive adjustments */
@media screen and (max-width: 768px) {
    .mat-mdc-paginator-container {
        justify-content: center;
        padding: 8px;
    }
    
    .mat-mdc-paginator-range-label {
        margin: 0 16px;
    }
    
    .mat-mdc-paginator-page-size {
        margin-bottom: 8px;
    }
} 

/* Pagination Area Polish for Elementor Widget */
.mat-mdc-paginator-outer-container {
    width: 100%;
    padding: 0 0 12px 0;
}


.tt-paginator-dropdown {
    width: 220px;
    margin-bottom: 0.5rem;
}

.tt-paginator-dropdown select {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 1rem;
    color: #222;
    background: #fff;
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none;
    font-family: inherit;
}

.tt-paginator-dropdown select:focus,
.tt-paginator-dropdown select:hover {
    border-color: #888;
    box-shadow: 0 0 0 2px #e0e7ef;
}

.tt-paginator-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    width: fit-content;
}

.tt-paginator-range {
    color: #888;
    font-size: 0.875rem;
    margin-top: 0.25rem;
    min-width: 120px;
    text-align: center;
}

.tt-paginator-arrows {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.tt-paginator-arrow-btn {
    width: 36px;
    height: 36px;
    border: 1px solid #d1d5db;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s, box-shadow 0.2s;
    font-size: 1.25rem;
    color: #444;
    outline: none;
    position: relative;
}

.tt-paginator-arrow-btn:disabled,
.tt-paginator-arrow-btn[aria-disabled='true'] {
    opacity: 0.4;
    cursor: not-allowed;
    background: #f5f5f5;
}

.tt-paginator-arrow-btn:focus-visible {
    box-shadow: 0 0 0 2px #1976d2;
    border-color: #1976d2;
}

.tt-paginator-arrow-btn:hover:not(:disabled):not([aria-disabled='true']) {
    background: #f0f4fa;
    border-color: #b6c2d2;
}

.tt-paginator-arrow-icon {
    font-size: 1.25rem;
    line-height: 1;
    pointer-events: none;
    user-select: none;
}

@media screen and (max-width: 768px) {
    .mat-mdc-paginator-container {
        justify-content: center;
        padding: 8px;
    }
    .tt-paginator-row {
        flex-direction: column;
        gap: 0.5rem;
    }
    .tt-paginator-dropdown {
        width: 100%;
        max-width: 320px;
    }
} 