/* Import Outfit font from Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@100;200;300;400;500;600;700;800;900&display=swap');

/* Custom styles for Bayer Coordinator Dashboard */

/* Global font application */
* {
  font-family: 'Outfit', sans-serif;
}

body {
  font-family: 'Outfit', sans-serif;
}

/* Override Bootstrap and Dash default fonts */
.dash-table-container,
.dash-table-container * {
  font-family: 'Outfit', sans-serif !important;
}

.Select-control,
.Select-menu-outer,
.Select-option {
  font-family: 'Outfit', sans-serif !important;
}

.form-control,
.form-select,
.btn {
  font-family: 'Outfit', sans-serif !important;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Outfit', sans-serif !important;
}

.nav-tabs .nav-link {
  font-family: 'Outfit', sans-serif !important;
}

.alert {
  font-family: 'Outfit', sans-serif !important;
}

.card,
.card-body,
.card-title {
  font-family: 'Outfit', sans-serif !important;
}

/* Modern login page styles to match reference design - FULL WIDTH */
.full-screen-login {
  position: relative;
  min-height: 100vh;
  width: 100vw;
  background: #e5e5e5;
  overflow: hidden;
}

.main-login-card {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #ffffff;
  border-radius: 30px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  width: 80vw;
  height: 70vh;
  min-width: 900px;
  min-height: 600px;
  max-width: 1200px;
  max-height: 750px;
}

.wide-input {
  background-color: #f2f2f2 !important;
  border: none !important;
  border-radius: 35px !important;
  padding: 18px 25px !important;
  font-size: 16px !important;
  font-family: 'Outfit', sans-serif !important;
  transition: all 0.3s ease !important;
  box-shadow: none !important;
  width: 100% !important;
  height: 55px !important;
}

.wide-input:focus {
  background-color: #f2f2f2 !important;
  border: 2px solid #000000 !important;
  box-shadow: none !important;
  outline: none !important;
}

.wide-input::placeholder {
  color: #b5b5b5 !important;
  font-weight: 400 !important;
  font-size: 16px !important;
}

.wide-login-btn {
  background-color: #000000 !important;
  border: none !important;
  border-radius: 35px !important;
  padding: 18px 0 !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  letter-spacing: 1px !important;
  transition: all 0.3s ease !important;
  box-shadow: none !important;
  width: 100% !important;
  height: 55px !important;
  color: white !important;
  font-family: 'Outfit', sans-serif !important;
}

.wide-login-btn:hover {
  background-color: #333333 !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2) !important;
}

.wide-login-btn:active {
  transform: translateY(0) !important;
  box-shadow: none !important;
}

/* Responsive adjustments for smaller screens */
@media (max-width: 1024px) {
  .main-login-card {
    width: 90vw;
    height: 80vh;
    min-width: 600px;
  }
}

@media (max-width: 768px) {
  .main-login-card {
    width: 95vw;
    height: 85vh;
    min-width: 400px;
    border-radius: 15px;
  }

  .wide-input {
    font-size: 16px !important;
    height: 50px !important;
    padding: 15px 20px !important;
  }

  .wide-login-btn {
    font-size: 16px !important;
    height: 50px !important;
  }
}

/* Legacy login styles (keeping for backward compatibility) */
.login-container {
  background-color: #f8f9fa;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.login-header {
  text-align: center;
  margin-bottom: 30px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.login-card {
  background: #ffffff !important;
  border: 1px solid #e9ecef !important;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1) !important;
  transition: all 0.3s ease;
  width: 100% !important;
  max-width: 600px !important;
  margin: 0 auto !important;
}

.login-card:hover {
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15) !important;
}

.login-card .card-body {
  padding: 40px !important;
}

.login-card .form-label {
  color: #2c3e50;
  margin-bottom: 8px;
}

.login-card .form-control,
.login-card .Select__control {
  border-radius: 8px !important;
  border: 1px solid #e9ecef !important;
  transition: all 0.3s ease;
  font-size: 16px;
  padding: 14px 16px;
}

.login-card .form-control:focus,
.login-card .Select__control--is-focused {
  border-color: #007bff !important;
  box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25) !important;
}

.login-card .btn-primary {
  background-color: #007bff;
  border: 1px solid #007bff;
  border-radius: 8px;
  padding: 12px 0;
  font-weight: 600;
  transition: all 0.3s ease;
}

.login-card .btn-primary:hover {
  background-color: #0056b3;
  border-color: #0056b3;
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(0, 123, 255, 0.3);
}

/* Main container improvements */
.main-container {
  background-color: #f8f9fa;
  min-height: 100vh;
}

/* Custom loading spinner colors */
.dash-spinner {
  color: #e0e0e0 !important;
}

/* Improved table styling */
.dash-table-container {
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  overflow: hidden;
}

/* Enhanced button styling */
.btn-custom {
  transition: all 0.3s ease;
  border-radius: 8px;
}

.btn-custom:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

/* Tab styling improvements */
.nav-tabs .nav-link {
  border-radius: 8px 8px 0 0;
  transition: all 0.3s ease;
}

/* Custom alert styling to override bootstrap */
.alert-info {
  background-color: #e3f2fd !important;
  border-color: #bbdefb !important;
  color: #1565c0 !important;
}

/* Dropdown improvements */
.custom-dropdown .Select-control {
  border-radius: 8px !important;
  font-size: 14px !important;
}

/* Dash dropdown specific styling */
.custom-dropdown .dash-dropdown {
  border-radius: 8px !important;
}

.custom-dropdown .Select-placeholder {
  font-size: 14px !important;
}

/* Button improvements */
.custom-button {
  border-radius: 8px !important;
  margin-top: 6px !important;
  transition: all 0.3s ease !important;
}

.custom-button:hover {
  transform: translateY(-1px) !important;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15) !important;
}

/* Alert styling */
.custom-alert-info {
  border-radius: 12px !important;
  background-color: #e3f2fd !important;
  border-color: #bbdefb !important;
  color: #1565c0 !important;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1) !important;
}

/* Dashboard specific styles */
.dashboard-header {
  background-color: #ffffff;
  color: #2c3e50;
  padding: 25px;
  border-radius: 12px;
  margin-bottom: 25px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  border: 1px solid #e9ecef;
}

/* Filter container enhancements */
.filter-container {
  background-color: #ffffff !important;
  padding: 25px !important;
  border-radius: 12px !important;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1) !important;
  margin-bottom: 25px !important;
  border: 1px solid #e9ecef !important;
  transition: box-shadow 0.3s ease;
}

.filter-container:hover {
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15) !important;
}

/* Chart container styling */
.chart-container {
  background: white;
  border-radius: 12px;
  padding: 15px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease;
}

.chart-container:hover {
  transform: translateY(-2px);
}

/* Metric box improvements */
.metric-box {
  background-color: #f2f2f2 !important;
  padding: 10px !important;
  flex: 1 !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  border-radius: 8px !important;
  margin: 5px !important;
  transition: all 0.3s ease;
}

.metric-box:hover {
  transform: scale(1.02);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

/* Specific metric colors */
.client-metric {
  color: #1F3DFF !important;
}

.prospect-metric {
  color: #ff4817 !important;
}

.sowed-metric {
  color: #30BE0F !important;
}

.harvested-metric {
  color: #E0C131 !important;
}

/* Chart and table row spacing */
.chart-row {
  margin-top: 20px !important;
}

.dashboard-metrics-row {
  height: 70vh !important;
}

/* Table container specific styling */
.table-container {
  overflow-y: auto !important;
  max-height: 400px !important;
}

/* Override for modern chart table containers */
.modern-chart-container.table-container {
  max-height: none !important;
}

/* Ensure table content fills the container properly */
.modern-chart-container.table-container .dash-table-container {
  height: 100% !important;
  display: flex !important;
  flex-direction: column !important;
}

.modern-chart-container.table-container .dash-table-container .dash-spreadsheet-container {
  flex: 1 !important;
  height: 100% !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .metric-box {
    margin-bottom: 10px;
  }

  .chart-container {
    height: auto !important;
    padding: 10px;
  }

  .dashboard-header {
    padding: 15px;
    text-align: center;
  }
}

@media (max-width: 576px) {
  .filter-container {
    padding: 15px !important;
  }

  .nav-tabs .nav-link {
    font-size: 14px;
    padding: 8px 12px;
  }
}

/* ====== MODERN REFERENCE DESIGN STYLES ====== */

/* Main body and container overrides */
body {
  background-color: #f8f9fa !important;
  margin: 0;
  padding: 0;
}

/* Top navigation bar - black header */
.modern-header {
  background-color: #000000 !important;
  color: #ffffff !important;
  padding: 15px 30px !important;
  margin: 0 !important;
  border-radius: 0 !important;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1) !important;
}

.modern-header h1 {
  color: #ffffff !important;
  font-size: 1.8rem !important;
  font-weight: 600 !important;
  margin: 0 !important;
}

.modern-header .btn {
  background-color: transparent !important;
  border: 1px solid #ffffff !important;
  color: #ffffff !important;
  border-radius: 6px !important;
  padding: 8px 16px !important;
  font-size: 14px !important;
}

.modern-header .btn:hover {
  background-color: #ffffff !important;
  color: #000000 !important;
}

/* Modern filter section */
.modern-filters {
  background-color: #ffffff !important;
  border-radius: 16px !important;
  padding: 25px 30px !important;
  margin: 20px 0 30px 0 !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08) !important;
  border: none !important;
}

.modern-filters .form-label {
  font-weight: 600 !important;
  color: #2d3748 !important;
  font-size: 14px !important;
  margin-bottom: 8px !important;
}

.modern-filters .Select__control,
.modern-filters .modern-dropdown .Select__control {
  border: 2px solid #e2e8f0 !important;
  border-radius: 12px !important;
  padding: 8px 12px !important;
  font-size: 16px !important;
  box-shadow: none !important;
  transition: all 0.2s ease !important;
}

.modern-filters .Select__control:hover,
.modern-filters .modern-dropdown .Select__control:hover {
  border-color: #1F3DFF !important;
}

.modern-filters .Select__control--is-focused,
.modern-filters .modern-dropdown .Select__control--is-focused {
  border-color: #1F3DFF !important;
  box-shadow: 0 0 0 3px rgba(31, 61, 255, 0.1) !important;
}

.modern-filters .btn {
  background-color: #000000 !important;
  border: none !important;
  border-radius: 12px !important;
  padding: 12px 24px !important;
  font-weight: 600 !important;
  font-size: 14px !important;
  letter-spacing: 0.5px !important;
  transition: all 0.2s ease !important;
}

.modern-filters .btn:hover {
  background-color: #333333 !important;
  transform: translateY(-1px) !important;
}

/* Modern metrics cards */
.modern-metric-card {
  background-color: #ffffff !important;
  border-radius: 20px !important;
  padding: 30px 25px !important;
  margin-bottom: 20px !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08) !important;
  border: none !important;
  transition: all 0.3s ease !important;
  position: relative !important;
  overflow: hidden !important;
}

.modern-metric-card .metric-icon {
  font-size: 40px !important;
  color: #1F3DFF !important;
  margin-bottom: 15px !important;
  display: block !important;
}

.modern-metric-card .metric-value {
  font-size: 2.5rem !important;
  font-weight: 700 !important;
  color: #1F3DFF !important;
  margin: 0 !important;
  line-height: 1 !important;
}

.modern-metric-card .metric-label {
  font-size: 16px !important;
  font-weight: 600 !important;
  color: #2d3748 !important;
  margin-top: 8px !important;
  margin-bottom: 0 !important;
}

.modern-metric-card .metric-subtitle {
  font-size: 14px !important;
  color: #718096 !important;
  margin: 0 !important;
}

/* Secondary metrics with orange accent */
.modern-metric-card.secondary .metric-icon {
  color: #ff4817 !important;
}

.modern-metric-card.secondary .metric-value {
  color: #ff4817 !important;
}

/* Modern chart containers */
.modern-chart-container {
  background-color: #ffffff !important;
  border-radius: 20px !important;
  padding: 25px !important;
  margin-bottom: 0 !important;
  /* Remove bottom margin to control spacing via rows */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08) !important;
  border: none !important;
  transition: all 0.3s ease !important;
  height: 500px !important;
  /* Fixed height for both Q1 and Q2 container cards */
  display: flex !important;
  flex-direction: column !important;
}

/* Specific height for table container */
.modern-chart-container.table-container {
  height: 550px !important;
}

/* Fixed height chart container for Q3 and Q4 */
.modern-chart-container.fixed-height-small {
  height: 350px !important;
}

/* Modern filter container - same styling as chart containers but without fixed height */
.modern-filter-container {
  background-color: #ffffff !important;
  border-radius: 20px !important;
  padding: 25px !important;
  margin-bottom: 0 !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08) !important;
  border: none !important;
  transition: all 0.3s ease !important;
  display: block !important;
}

.modern-chart-container h3 {
  font-size: 1.4rem !important;
  font-weight: 600 !important;
  color: #2d3748 !important;
  margin-bottom: 20px !important;
  padding-bottom: 0 !important;
  flex-shrink: 0 !important;
  /* Prevent title from shrinking */
}

/* Special override for Q4 summary chart titles */
.modern-chart-container.fixed-height-small h3 {
  margin-bottom: 0px !important;
  /* Remove margin for Q4 titles to match reference spacing */
}

/* Override for vertical spacing between dashboard components */
.modern-chart-container.mb-4 {
  margin-bottom: 1.5rem !important;
  /* Force Bootstrap mb-4 spacing for stacked components */
}

/* Make chart/map content fill available space within the fixed container */
.modern-chart-container>div:last-child {
  flex: 1 !important;
  display: flex !important;
  flex-direction: column !important;
  overflow: hidden !important;
  /* Ensure content stays within container */
  min-height: 0 !important;
  /* Allow flex child to shrink */
}

/* Ensure plotly charts fit within the container and adjust to available space */
.modern-chart-container .js-plotly-plot {
  flex: 1 !important;
  width: 100% !important;
  min-height: 0 !important;
  /* Allow chart to shrink to fit container */
}

/* Ensure map containers fit within the container */
.modern-chart-container .leaflet-container {
  flex: 1 !important;
  width: 100% !important;
  min-height: 0 !important;
  /* Allow map to shrink to fit container */
}

/* Modern dashboard subtitle */
.modern-dashboard-subtitle {
  background: linear-gradient(135deg, #1F3DFF 0%, #ff4817 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
  font-size: 2rem !important;
  font-weight: 700 !important;
  text-align: center !important;
  margin: 20px 0 30px 0 !important;
}

/* Modern alert styling */
.modern-alert {
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%) !important;
  border: 2px solid #1F3DFF !important;
  border-radius: 16px !important;
  padding: 20px 25px !important;
  color: #1F3DFF !important;
  font-weight: 600 !important;
  text-align: center !important;
  font-size: 16px !important;
}

.modern-alert i {
  font-size: 20px !important;
  margin-right: 10px !important;
}

/* Loading spinner customization */
.dash-spinner {
  border-color: #e0e0e0 !important;
}

/* Modern table styling */
.modern-table-container {
  background-color: #ffffff !important;
  border-radius: 16px !important;
  overflow: hidden !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08) !important;
}

.dash-table-container .dash-spreadsheet-container .dash-spreadsheet-inner table {
  border-radius: 16px !important;
}

.dash-table-container .dash-spreadsheet-container .dash-spreadsheet-inner .row {
  border-radius: 0 !important;
}

/* Utility classes for the modern design */
.modern-container {
  max-width: 1400px !important;
  margin: 0 auto !important;
  padding: 0 20px !important;
}

.modern-section {
  margin-bottom: 30px !important;
}

/* Override any conflicting styles */
.container-fluid {
  background-color: #F1F2F4 !important;
  min-height: 100vh !important;
  padding: 0 !important;
}

/* Responsive design for metrics */
@media (max-width: 992px) {
  .modern-metric-card {
    margin-bottom: 15px !important;
  }

  .modern-metric-card .metric-value {
    font-size: 2rem !important;
  }
}

@media (max-width: 576px) {
  .modern-header {
    padding: 15px 20px !important;
  }

  .modern-header h1 {
    font-size: 1.5rem !important;
  }

  .modern-filters {
    padding: 20px !important;
  }

  .modern-metric-card {
    padding: 20px 15px !important;
    margin-bottom: 15px !important;
  }

  .modern-metric-card .metric-value {
    font-size: 1.8rem !important;
  }

  .modern-chart-container {
    padding: 20px !important;
    margin-bottom: 15px !important;
  }
}

/* ====== DATE PICKER STYLING FOR FILTER ALIGNMENT ====== */

/* Remove borders from all date picker wrapper elements */
.modern-filter-container .SingleDatePicker,
.modern-filter-container .DateInput,
.modern-filter-container .DateRangePickerInput,
.modern-filter-container div[class*="DatePicker"] {
  border: none !important;
  box-shadow: none !important;
  background: transparent !important;
}

/* Custom date picker input styling to match button height */
.modern-filter-container .DateInput_input {
  background-color: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  height: 40px !important;
  padding: 8px 16px !important;
  font-size: 14px !important;
  font-family: 'Outfit', sans-serif !important;
  color: #333 !important;
  box-shadow: none !important;
}

.modern-filter-container .DateInput_input:focus {
  background-color: #f5f5f5 !important;
  border: none !important;
  box-shadow: none !important;
  outline: none !important;
}

.modern-filter-container .DateInput {
  width: 100% !important;
  border: none !important;
  box-shadow: none !important;
}

.modern-filter-container .SingleDatePickerInput {
  width: 100% !important;
  border: none !important;
  box-shadow: none !important;
  background-color: #f5f5f5 !important;
  border-radius: 20px !important;
  height: 40px !important;
  display: flex !important;
  align-items: center !important;
}

/* Force override any conflicting styles */
.modern-filter-container .SingleDatePickerInput {
  background: #f5f5f5 !important;
}

/* Also target the direct parent div */
.modern-filter-container>.row>.col-4>div {
  background-color: #f5f5f5 !important;
  border-radius: 20px !important;
  height: 40px !important;
  display: flex !important;
  align-items: center !important;
}

.modern-filter-container .DateInput_input::placeholder {
  color: #999 !important;
  font-weight: 400 !important;
}

/* Additional fallback - target all date picker containers */
.modern-filter-container [id*="sow-date"] {
  background-color: #f5f5f5 !important;
  border-radius: 20px !important;
  height: 40px !important;
}

/* Target the date picker by ID directly */
#sow-date-from,
#sow-date-to {
  background-color: #f5f5f5 !important;
  border-radius: 20px !important;
}

/* ====== BUTTON HOVER EFFECTS ====== */

/* BUSCAR button hover - gray background with black border and white text */
#apply-date-filters:hover {
  background-color: #A4A5A9 !important;
  color: #ffffff !important;
  border: 1px solid #000000 !important;
}

/* LIMPIAR FILTROS button hover - black background with white text */
#clear-date-filters:hover {
  background-color: #000000 !important;
  color: #ffffff !important;
  border: 1px solid #000000 !important;
}

/* Volver button hover - black background with white text */
#back-ranking-btn:hover {
  background-color: #000000 !important;
  color: #ffffff !important;
  border: 1px solid #000000 !important;
}

/* Remove any additional borders from date picker containers */
.modern-filter-container .SingleDatePicker,
.modern-filter-container .SingleDatePickerInput__display-text,
.modern-filter-container .DateInput_fang {
  border: none !important;
  box-shadow: none !important;
}

/* Specifically target any remaining wrapper divs */
.modern-filter-container>.row>.col-3>div {
  border: none !important;
  box-shadow: none !important;
}

/* ====== SEMI-CIRCULAR GAUGE STYLES FOR Q4 ====== */

/* Container for semi-circular gauges */
.gauge-container {
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  height: 200px !important;
  margin: 20px 0 !important;
}

/* Base semi-circle styling */
.gauge-base {
  width: 180px !important;
  height: 90px !important;
  border-radius: 180px 180px 0 0 !important;
  border: 14px solid #f0f0f0 !important;
  border-bottom: none !important;
  position: relative !important;
  margin: 0 auto !important;
}

/* Progress arc overlay */
.gauge-progress {
  width: 180px !important;
  height: 90px !important;
  border-radius: 180px 180px 0 0 !important;
  border-bottom: none !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  transition: all 0.8s ease-in-out !important;
}

/* Client gauge specific styling */
.gauge-progress.client {
  border: 14px solid #1F3DFF !important;
  border-bottom: none !important;
}

/* Prospect gauge specific styling */
.gauge-progress.prospect {
  border: 14px solid #ff4817 !important;
  border-bottom: none !important;
}

/* Center content positioning */
.gauge-center {
  position: absolute !important;
  top: 45px !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  text-align: center !important;
  z-index: 10 !important;
}

/* Large number styling */
.gauge-number {
  font-size: 52px !important;
  font-weight: 700 !important;
  margin: 0 !important;
  line-height: 1 !important;
  font-family: 'Outfit', sans-serif !important;
}

.gauge-number.client {
  color: #1F3DFF !important;
}

.gauge-number.prospect {
  color: #ff4817 !important;
}

/* Small percentage styling */
.gauge-percentage {
  font-size: 18px !important;
  color: #666 !important;
  margin: 8px 0 0 0 !important;
  line-height: 1 !important;
  font-weight: 500 !important;
  font-family: 'Outfit', sans-serif !important;
}

/* Gauge titles */
.gauge-title {
  font-size: 20px !important;
  font-weight: 600 !important;
  margin-bottom: 8px !important;
  text-align: center !important;
  font-family: 'Outfit', sans-serif !important;
}

.gauge-title.client {
  color: #1F3DFF !important;
}

.gauge-title.prospect {
  color: #ff4817 !important;
}

/* Gauge subtitle */
.gauge-subtitle {
  color: #666 !important;
  font-size: 14px !important;
  margin-bottom: 25px !important;
  text-align: center !important;
  font-family: 'Outfit', sans-serif !important;
}

/* Responsive adjustments for gauges */
@media (max-width: 768px) {

  .gauge-base,
  .gauge-progress {
    width: 140px !important;
    height: 70px !important;
    border-radius: 140px 140px 0 0 !important;
    border-width: 10px !important;
  }

  .gauge-center {
    top: 35px !important;
  }

  .gauge-number {
    font-size: 40px !important;
  }

  .gauge-percentage {
    font-size: 16px !important;
  }

  .gauge-title {
    font-size: 18px !important;
  }
}

@media (max-width: 576px) {

  .gauge-base,
  .gauge-progress {
    width: 120px !important;
    height: 60px !important;
    border-radius: 120px 120px 0 0 !important;
    border-width: 8px !important;
  }

  .gauge-center {
    top: 30px !important;
  }

  .gauge-number {
    font-size: 32px !important;
  }

  .gauge-percentage {
    font-size: 14px !important;
  }

  .gauge-title {
    font-size: 16px !important;
  }
}