/* CSS FOR SECOND ATTEMPT AT FRONTEND */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: #f5f5f5;
    padding: 20px;
}

.header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 30px;
}

.title {
    font-size: 28px;
    font-weight: bold;
    color: #000;
}

.controls {
    display: flex;
    gap: 12px;
    flex: 1;
    margin: 0 40px;
}

.dropdown {
    padding: 10px 15px;
    border: 2px solid #333;
    border-radius: 6px;
    background-color: #fff;
    font-size: 14px;
    cursor: pointer;
    min-width: 130px;
}

.github-button {
    width: 40px;
    height: 40px;
    border: none;
    background-color: transparent;
    cursor: pointer;
    font-size: 24px;
}

.container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto auto;
    gap: 20px;
    max-width: 1400px;
}

.card:nth-child(1) {
    grid-row: 1 / 3;
}

.card {
    background-color: #fff;
    border: 2px solid #ccc;
    border-radius: 8px;
    padding: 20px;
    min-height: 400px;
    display: flex;
    flex-direction: column;
}

.card-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #000;
}

.card-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #f9f9f9;
    border-radius: 6px;
    margin-bottom: 15px;
    min-height: 250px;
}

.card-footer {
    padding-top: 10px;
    border-top: 1px solid #eee;
    font-size: 13px;
    color: #666;
}

.grid-2x2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 8px;
    width: 100%;
    height: 200px;
}

.grid-item {
    background-color: #ddd;
    border-radius: 4px;
}

.pie-chart {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: conic-gradient(
	blue 0deg 90deg,
	cyan 90deg 180deg,
	lime 180deg 270deg,
	yellow 270deg 360deg
    );
}

.radial-chart {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.radial-chart svg {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
}

.radar-shape {
    width: 160px;
    height: 160px;
    background-color: #ddd;
    border-radius: 40%;
    clip-path: polygon(30% 0%, 70% 0%, 100% 30%, 100% 70%, 70% 100%, 30% 100%, 0% 70%, 0% 30%);
}
/* END OF CSS FOR SECOND ATTEMPT */



/* THIS IS CSS FOR tHE ORIGINAL TEST AND CAN PROBABLY BE REMOVED */
/* Fixed size panels for 3x2 grid */
.container .row .col {
  width: 300px;
  height: 600p;
  margin: 10px;
  border: 1px solid #ddd;
  padding: 15px;
  overflow: auto;
  box-sizing: border-box;
}

/* Adjust row to accommodate fixed widths and margins */
.container .row {
  display: flex;
  flex-wrap: wrap;
  margin: 0;
}

/* Ensure container can fit the grid */
.container {
  max-width: none;
}

/* SVG containers - scale SVG to fit */
.svg-container {
  width: 100%;
  height: auto;
  display: flex;
  justify-content: center;
  align-items: center;
}

.svg-container svg {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
}
/* END OF TESTING CSS */
