.scraping-dashboard {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
  }
  
  h1 {
    color: #333;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 10px;
    margin-bottom: 20px;
  }
  
  h3 {
    margin-top: 25px;
    margin-bottom: 15px;
    color: #444;
  }
  
  /* Info panel */
  .info-panel {
    background-color: #e7f5ff;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  }
  
  .info-panel p {
    margin: 8px 0;
  }
  
  /* Alert styles */
  .alert {
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    position: relative;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  }
  
  .alert-danger {
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
  }
  
  .close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    font-size: 20px;
    color: #721c24;
    cursor: pointer;
  }
  
  /* Mapping status */
  .mapping-status {
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  }
  
  .mapping-ok {
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
  }
  
  .mapping-error {
    background-color: #fff3cd;
    border: 1px solid #ffeeba;
    color: #856404;
  }
  
  /* Scraping control */
  .scraping-control {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  }
  
  .control-panel {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
  }
  
  .input-group {
    display: flex;
    align-items: center;
    gap: 10px;
  }
  
  .input-group label {
    font-weight: 500;
  }
  
  .input-group input {
    padding: 8px 12px;
    border: 1px solid #ced4da;
    border-radius: 4px;
    width: 80px;
    font-size: 16px;
  }
  
  .btn-scrape {
    background-color: #0d6efd;
    color: white;
    border: none;
    border-radius: 4px;
    padding: 10px 18px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.2s;
    display: flex;
    align-items: center;
    gap: 8px;
  }
  
  .btn-scrape:hover {
    background-color: #0b5ed7;
  }
  
  .btn-scrape:disabled {
    background-color: #6c757d;
    cursor: not-allowed;
  }
  
  /* Scraping result */
  .scraping-result {
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  }
  
  .result-success {
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
  }
  
  .result-error {
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
  }
  
  .failed-dates-list {
    max-height: 120px;
    overflow-y: auto;
    padding-right: 10px;
  }
  
  /* Data status */
  .data-status {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  }
  
  .loading-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 200px;
  }
  
  .spinner {
    width: 30px;
    height: 30px;
    border: 3px solid rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    border-top-color: #0d6efd;
    animation: spin 1s ease-in-out infinite;
    margin-bottom: 10px;
  }
  
  @keyframes spin {
    to { transform: rotate(360deg); }
  }
  
  .status-container {
    display: flex;
    flex-direction: column;
  }
  
  .status-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(45px, 1fr));
    gap: 5px;
    margin-bottom: 15px;
  }
  
  .status-item {
    width: 100%;
    aspect-ratio: 1/1;
    border-radius: 4px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.2s;
  }
  
  .status-item:hover {
    transform: scale(1.1);
    z-index: 1;
  }
  
  .status-date {
    font-weight: bold;
    font-size: 14px;
  }
  
  .status-count {
    font-size: 12px;
  }
  
  .status-complete {
    background-color: #28a745;
    color: white;
  }
  
  .status-partial {
    background-color: #ffc107;
    color: #212529;
  }
  
  .status-empty {
    background-color: #e9ecef;
    color: #6c757d;
  }
  
  .status-legend {
    display: flex;
    gap: 20px;
    margin-top: 10px;
  }
  
  .legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
  }
  
  .legend-color {
    width: 16px;
    height: 16px;
    border-radius: 4px;
  }
  
  /* Responsive */
  @media (max-width: 768px) {
    .control-panel {
      flex-direction: column;
      align-items: flex-start;
    }
    
    .status-grid {
      grid-template-columns: repeat(auto-fill, minmax(35px, 1fr));
    }
    
    .status-date {
      font-size: 12px;
    }
    
    .status-count {
      font-size: 10px;
    }
  }