.report-card-container {
  max-width: 1200px;
  margin: 0 auto;
  border: 1px solid #ddd;
  padding: 20px;
  font-family: Arial, sans-serif;
  color: #333;
}

.report-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.report-card-logo {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

.report-card-logo-img {
  width: 200px;
  height: 80px;
  margin-right: 15px;
}

.report-card-logo-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.report-card-school-name {
  font-size: 24px;
  color: #1a3b6e;
  font-weight: bold;
}

.report-card-title {
  background-color: #1a3b6e;
  color: white;
  padding: 15px 30px;
  font-size: 24px;
  font-weight: bold;
  margin: 10px 0;
}

.report-card-hr {
  border: none;
  border-top: 1px solid #ccc;
  margin: 20px 0;
}

.report-card-student-info {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.report-card-info-group {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  margin-bottom: 10px;
}

.report-card-info-label {
  font-weight: bold;
  font-size: 18px;
}

.report-card-info-value {
  background-color: #e6e9ff;
  padding: 10px;
  font-size: 18px;
}

.report-card-grades-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
}

.report-card-grades-table th,
.report-card-grades-table td {
  padding: 15px;
  text-align: center;
  border: 1px solid #ddd;
}

.report-card-grades-table th {
  background-color: #1a3b6e;
  color: white;
  font-weight: bold;
}

.report-card-subject-column {
  text-align: left;
  background-color: #1a3b6e;
  color: white;
  font-weight: bold;
}

.report-card-attendance {
  background-color: #e6e9ff;
}

.report-card-mark {
  background-color: #e6e9ff;
  font-weight: bold;
}

.report-card-average-row td {
  background-color: #e6e9ff;
  font-weight: bold;
  font-size: 18px;
}

.report-card-grade-row td {
  background-color: #e6e9ff;
  height: 40px;
}

.report-card-bg-blue {
  background-color: #1c7bbf !important;
}

/* Tablet Responsive Styles */
@media screen and (max-width: 992px) {
  .report-card-container {
    padding: 15px;
  }

  .report-card-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .report-card-school-name {
    font-size: 20px;
    margin: 5px 0;
  }

  .report-card-title {
    font-size: 20px;
    padding: 12px 24px;
    align-self: stretch;
    text-align: center;
    width: 100%;
    box-sizing: border-box;
  }

  .report-card-info-label,
  .report-card-info-value {
    font-size: 16px;
  }

  .report-card-grades-table th,
  .report-card-grades-table td {
    padding: 10px;
    font-size: 15px;
  }
}

/* Mobile Responsive Styles */
@media screen and (max-width: 576px) {
  .report-card-container {
    padding: 10px;
  }

  .report-card-logo-img {
    width: 150px;
    height: 70px;
    margin-right: 15px;
  }

  .report-card-school-name {
    font-size: 18px;
  }

  .report-card-title {
    font-size: 18px;
    padding: 10px 15px;
  }

  .report-card-student-info {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .report-card-info-group {
    grid-template-columns: 1fr;
    margin-bottom: 15px;
  }

  .report-card-info-label {
    margin-bottom: 5px;
    font-size: 15px;
  }

  .report-card-info-value {
    font-size: 15px;
  }

  .report-card-grades-table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }

  .report-card-grades-table th,
  .report-card-grades-table td {
    padding: 8px;
    font-size: 14px;
  }

  .report-card-average-row td {
    font-size: 15px;
  }

  .report-card-header {
    flex-direction: column;
  }
}