.thank-you-container {
  background-color: #fff;
  /* border: 1px solid #d4d4d4;
  border-radius: 10px; */
  transition: box-shadow 0.3s;
  padding: 20px;
  margin-bottom: 20px;
}

/* .thank-you-container:hover {
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  transition: box-shadow 0.3s;
} */

.thank-you-container h3 {
  margin-top: 0px;
  font-size: 24px;
  color: #353535;
}

.thank-you-container table {
  width: 100%;
  border-collapse: collapse;
}

.thank-you-container table th,
.thank-you-container table td {
  border: 1px solid #d4d4d4;
  padding: 10px;
  text-align: left;
  color: #353535;
}

.thank-you-container table p {
  padding-left: 10px;
}

.thank-you-container table th {
  background-color: #f9f9f9;
  font-weight: bold;
  width: 50%;
}

/* ================= Resources Container ================= */

/* .thank-you-attachments {
  margin: 10px 0;
  padding: 10px 15px;
  background: #f9f9f9;
  border-radius: 5px;
  border: 1px solid #d4d4d4;
  border-radius: 2px;
  margin-bottom: 10px;
}

.thank-you-attachments h3 {
  margin-bottom: 0;
} */

.thank-you-attachments {
  margin: 20px 0;
}

.thank-you-attachments h3 {
  font-size: 24px;
  margin-bottom: 10px;
  color: #333;
}

.thank-you-attachments .resources-text {
  font-size: 16px;
  margin-bottom: 20px;
  /* color: #666; */
}

/* Grid layout for attachments */
.attachment-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr); /* 5 columns on desktop */
  gap: 20px;
}

@media (max-width: 1024px) {
  .attachment-grid {
      grid-template-columns: repeat(3, 1fr); /* 3 columns on tablets */
  }
}

@media (max-width: 768px) {
  .attachment-grid {
      grid-template-columns: repeat(2, 1fr); /* 2 columns on mobile */
  }
}

/* Individual attachment item */
.attachment-item {
  text-align: center;
  /* border: 1px solid #ddd;
  border-radius: 8px; */
  padding: 10px;
  background-color: #fff;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.attachment-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Preview image */
.attachment-preview img {
  width: 120px;
  height: 120px;
  object-fit: contain;
  margin-bottom: 10px;
}

/* Title below the image */
.attachment-title {
  font-size: 14px;
  font-weight: bold;
  color: #333;
  /* text-overflow: ellipsis; */
  /* white-space: nowrap; */
  overflow: hidden;
  display: block;
}

.attachment-group {
  margin-top: 10px;
  padding: 10px;
}

.attachment-item {
  margin: 5px 0;
  width: 200px;
}

.attachment-link {
  /* display: flex; */
  align-items: center;
  text-decoration: none;
  color: #0073aa;
  /* padding: 5px; */
  transition: background-color 0.2s;
  border-radius: 10px;
}

.attachment-link:hover {
  background-color: #f0f0f0;
  transition: background-color 0.2s;
}

.attachment-link .dashicons {
  margin-right: 5px;
}

/* .resources-text {
  font-size: 14px;
  font-weight: bold;
} */

.ty-text {
  font-size: 16px;
  /* color: #7a7a7a; */
}

.email-success {
  color: #4caf50;
  font-weight: bold;
  font-size: 12px;
}

.email-error {
  color: #f44336;
  font-weight: bold;
  font-size: 12px;
}

.go-back {
  text-decoration: none;
  display: block;
  margin-top: 10px;
}

.description {
  margin-bottom: 0px;
  font-size: 13px;
  color: #b9b9b9;
  padding-left: 0px;
}

/* ================= Single ESG Submission Page ================= */

.ty-responses table {
  width: 100%;
  border-collapse: collapse;
}

.ty-responses table th,
.ty-responses table td {
  border: 1px solid #d4d4d4;
  padding: 5px;
  text-align: left;
}

.ty-responses table th {
  background-color: #f9f9f9;
  font-weight: bold;
}

.ty-responses table .subquestion {
  padding-left: 20px;
  font-style: italic;
}

.ty-responses a {
  color: #0073aa;
  text-decoration: none;
}

.ty-responses p {
  margin-bottom: 0px;
}

.ty-responses .question-text {
  font-weight: bold;
  text-align: left;
  color: #353535;
}

.ty-responses td ul {
  margin: 0;
  padding: 0;
  list-style-type: none;
}

.ty-responses td ul li p {
  padding: 5px;
  padding-left: 10px;
}

.ty-responses .header-row :nth-child(2),
.ty-responses .header-row :nth-child(3) {
  width: 25%;
}

.ty-responses .header-row th {
  color: #7a7a7a;
}

.accordion {
  background-color: #eee;
  color: #444;
  cursor: pointer;
  padding: 18px;
  width: 100%;
  border: none;
  text-align: left;
  outline: none;
  font-size: 15px;
  transition: 0.4s;
}

.active, .accordion:hover {
  background-color: #ccc; 
}

.panel {
  padding: 0 18px;
  display: none;
  background-color: white;
  padding-bottom: 10px;
  /* overflow: hidden; */
}

.result-page-display-note ul {
  list-style-type: disc;
  margin-left: 20px;
}

.result-page-display-note li {
  list-style-type: disc;
  margin-bottom: 5px;
}