@charset "utf-8";
/* CSS Document */
 
a {
	color: #AB0520;
}
a:hover {
	  color: #0C234B;
}
.report p {
	font-size: 1.1em;
}
.report h3 {
	text-align: center;
}
/* Navigation Styles */
    .dashboard-nav {
      display: flex;
      justify-content: center;
      gap: 10px;
      margin: 20px 0;
      flex-wrap: wrap;
    }
    
    .nav-btn {
      padding: 12px 24px;
      background-color: #AB0520;
      color: white;
      border: 2px solid #AB0520;
      border-radius: 4px;
      cursor: pointer;
      font-size: 16px;
      font-weight: 500;
      transition: all 0.3s ease;
    }
    
    .nav-btn:hover {
      background-color: #8B0015;
      border-color: #8B0015;
    }
    
    .nav-btn.active {
      background-color: white;
      color: #AB0520;
      border-color: #AB0520;
    }
    
    /* Content Sections */
    .content-section {
      display: none;
      margin: 20px 0;
    }
    
    .content-section.active {
      display: block;
    }
    
    /* Responsive iframe container */
    .iframe-container {
      position: relative;
      width: 100%;
      max-width: 1400px;
      margin: 0 auto;
      padding: 0 15px;
      box-sizing: border-box;
    }
    
    .dashboard-iframe {
      width: 100%;
      min-height: 600px;
      height: 85vh;
      max-height: 1200px;
      border: 1px solid #ddd;
      border-radius: 4px;
      display: block;
    }
    
    /* Responsive breakpoints */
    @media (max-width: 1200px) {
      .dashboard-iframe {
        height: 80vh;
      }
    }
    
    @media (max-width: 768px) {
      .nav-btn {
        padding: 10px 16px;
        font-size: 14px;
      }
      
      .dashboard-iframe {
        height: 70vh;
        min-height: 500px;
      }
    }
    
    @media (max-width: 480px) {
      .dashboard-iframe {
        height: 65vh;
        min-height: 400px;
      }
    }
h3.dash {
	color: #8B0015;
	text-align:  center;
	font-weight: 800;
	margin: 5px 0 15px 0;
}
h2.two-col {
	clear: both;
	width: 100%;
}
.chart-section {
            background-color: white;
            padding: 20px;
            border-radius: 8px;
            box-shadow: 0 2px 8px rgba(0,0,0,0.1);
            margin: 15px 0 20px 0;
        }
.chart-section h2{
	margin: 0 0 2px 0;
	font-size: 1.3em;
	text-align: center;
}
.doughnut {
	min-height: 500px;
}
        .chart-container {
            position: relative;
        }
        .chart-container.vertical {
            height: 500px;
        }
        .chart-container.horizontal {
            height: 700px;
        }
        .loading {
            text-align: center;
            padding: 40px;
            color: #666;
        }
        .error {
            text-align: center;
            padding: 40px;
            color: #d32f2f;
        }
/* Simple styling for the filter control */
    .filter-controls {
      background-color: #f8f9fa;
      padding: 15px;
      border-radius: 8px;
      margin-bottom: 20px;
      border: 1px solid #dee2e6;
      text-align: center;
		display: flex;
		justify-content: center;
    }
    .filter-controls label {
      font-weight: bold;
      margin-right: 10px;
		margin-top: 5px;
      color: #333;
    }
    .filter-controls select {
      padding: 8px 12px;
      border: 1px solid #ccc;
      border-radius: 4px;
      font-size: 16px;
      color: #333;
      width: 160px;
    }

 /* Scorecard Styles */
    .scorecard-row {
      display: flex;
      flex-wrap: wrap;
      gap: 20px;
      margin-bottom: 10px;
		margin-top: 5px;
      justify-content: space-between;
    }

    .scorecard {
      background: white;
      border: 1px solid #ddd;
      border-radius: 8px;
      padding: 10px;
      flex: 1;
      min-width: 150px;
      text-align: center;
      box-shadow: 0 2px 4px rgba(0,0,0,0.05);
      border-left: 5px solid #AB0520; /* UA Red accent */
    }
    .scorecard h4 {
      margin: 0;
      color: #666;
      font-size: 0.9rem;
      text-transform: uppercase;
      letter-spacing: 1px;
    }
    .scorecard .value {
      font-size: 2.5rem;
      font-weight: bold;
      color: #0c234b; /* UA Blue */
      margin: 0;
    }
.vineyard-size-chart {
  float: right;
  width: 45%;
  margin: 0 20px 20px 25px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  padding: 15px;
}

.vineyard-size-chart h4 {
  text-align: center;
  margin-top: 0;
	margin-bottom: 5px;
	text-transform: none;
  color: #0C234B;
}

.chart-wrapper {
  position: relative;
  min-height: 300px;
  width: 100%;
}

/* 📱 Mobile behavior */
@media (max-width: 768px) {
  .vineyard-size-chart {
    float: none;
    width: 100%;
    margin: 20px 0;
  }
}
.chart-section.narrow {
  width: 100%;
  max-width: 600px;
  margin: 20px auto 0; /* centers the box */
}
/* Report Table Styles */
.report-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
    font-size: 0.95rem;
    color: #333;
}

.report-table th {
    background-color: #0C234B; /* UA Blue */
    color: #ffffff;
    padding: 10px;
    font-weight: bold;
    border-bottom: 3px solid #AB0520; /* UA Red */
}

.report-table td {
    padding: 10px;
    border-bottom: 1px solid #ddd;
}

.report-table tr:nth-child(even) {
    background-color: #f8f9fa; /* Light grey for readability */
}

.report-table tr:hover {
    background-color: #f1f1f1;
}