.class-mgmt-title {
  font-size: 28px;
  margin-bottom: 24px;
  color: #003366;
}

.student-tab-wrapper {
  background-color: #0072c9;
  border-radius: 12px;
  padding: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.student-tab {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background-color: white;
  padding: 14px 18px;
  border-bottom: 1px solid #d0dce9;
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.3s ease;
}

.student-tab:hover {
  transform: scale(0.95);
  background-color: #f0faff;
}

.student-tab-text {
  font-weight: 600;
  font-size: 16px;
}

.student-tab-subtext {
  font-size: 13px;
  color: gray;
  margin-top: 2px;
}

/* Offcanvas */
.pretest-offcanvas {
  /* width: 50vw !important; */
  background-color: #f9f9f9;
}

.offcanvas-classmanagement-title {
  background-color: rgb(35, 68, 105);
  color: white;
  font-size: 18px;
}

.pretest-body {
  padding: 20px;
}

.section-title {
  font-size: 18px;
  font-weight: 600;
  color: white;
  background-color: rgb(86,151,213);
  margin: 0 !important;
  /* border-radius: 5px; */
  padding: 20px;
}

.goal-setting-title {
    font-size: 14px;
    font-weight: 600;
    color: white;
    background-color: rgb(205, 50, 58);
    margin: 0 !important;
    padding: 10px;
}

.box {
  background: white;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  /* margin-bottom: 28px; */
  border: 1px solid #d8d8d8;
  width: 100%;
}

.box .section-title {
  border-radius: 10px 10px 0 0 !important;
}

.box-section {
  display: flex;
  justify-content: space-around;
  padding: 30px;
}

.graph-section {
  width: 1000px;
  height: 400px;
  margin: auto;
}

.graph-section-offcanvas {
  width: 700px;
  height: 400px;
  margin: auto;
}


.pretest-box {
  background: white;
  /* border-radius: 10px; */
  /* padding: 20px 0; */
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  margin-bottom: 28px;
  border: 1px solid #d8d8d8;
  width: 100%;
  margin-bottom: 1.5rem;
}

.styled-table {
  font-size: 14px;
}

/* Pretest View Button */
.pretest-view-btn {
  background-color: #6db1ed !important;
  border-color: #a8c5df !important;
  color: white;
}

/* Question Cards */
.pretest-question-card {
  margin-bottom: 20px;
  border-left: 5px solid #ccc;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  border-radius: 8px;
}

.options-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 10px;
}

.option-card {
  padding: 10px 12px;
  border: 1px solid #ddd;
  border-radius: 6px;
  background: #f1f1f1;
}

.correct-option {
  border-color: #28a745;
  background-color: #e6f9ec;
  font-weight: 600;
}

.wrong-option {
  border-color: #dc3545;
  background-color: #faeaea;
  font-weight: 600;
}

.canvas-flex {
  display: flex;
  gap: 1rem;
  height: 100%;
}
.canvas-overview {
  flex: 1;
  overflow-y: auto;
}
.canvas-questions {
  flex: 1;
  border-left: 1px solid #ddd;
  padding-left: 1rem;
  overflow-y: auto;
}

.doughnut-container {
  width: 120px;
}

.pretest-box .section-title {
  margin-bottom: 1rem;
}

.pretest-box .text-center {
  flex: 1;
}

.accordion-button {
  background-color: rgb(252, 252, 252) !important; 
  color: #555 !important;
  font-weight: 600;
  padding: 25px;
}

.accordion-button:not(.collapsed) {
  background-color: rgb(86,151,213) !important; 
  color: white !important;
}

.accordion-item {
  border-bottom: 1px solid #555 ;
}

.search-bar-wrapper {
  position: relative;
  width: 90%;
  margin: 30px auto;       
  z-index: 2;
}

.student-search-bar {
  width: 100%;
  padding: 15px 25px;
  font-size: 16px;
  border: 2px solid #ccc;
  border-radius: 6px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  outline: none;
}

.student-search-bar:focus {
  border-color: #0072c9;
  box-shadow: 0 0 4px rgba(0, 114, 201, 0.5);
}

.search-suggestions {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  width: 100%;
  max-height: 200px;
  overflow-y: auto;
  background: #ffffff;
  border: 1px solid #ddd;
  border-top: none;
  border-radius: 0 0 6px 6px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  z-index: 10;
}

.suggestion-item {
  padding: 10px 20px;
  cursor: pointer;
  font-size: 15px;
  color: #333;
  transition: background 0.2s;
}

.suggestion-item:hover {
  background-color: #f0f8ff;
}

.period-accordion-container {
  width: 90%;
  margin: 0 auto;
  padding-top: 40px;
  border-top: 2px Solid white;
}

.rdt_TableHeadRow .rdt_TableCol {
  font-weight: 600;
  font-size: 16px;
  /* color: white; */
  background-color: rgb(206, 220, 233);
  border-bottom: 2px Solid rgb(86,151,213);
}

.rdt_TableBody .rdt_TableCell {
  font-weight: 400;
  font-size: 16px;
  padding-top: 15px !important;
  padding-bottom: 15px !important;
}

.table td,
.styled-table td {
  font-weight: 400 !important;
}

.rdt_TableBody .rdt_TableCell {
  font-weight: 400 !important;
}

.rdt_TableBody {
  /* max-height: 600px; */
}

.text-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.doughnut-container {
  width: 120px;
  height: 120px;      
  margin: 0 auto;    
}

.doughnut-container canvas {
  width: 100%  !important;
  height: 100% !important;
}

.header-title {
  font-size: 20px;
  font-weight: 600;
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.close-button {
  background: none;
  border: none;
  color: white;
  padding: 0;
  margin-left: 12px;
}

.table-profile-image {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 8px;
}

.profile-section {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}
.profile-info {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}
.profile-photo {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #cccccc;
}
.profile-details {
  display: flex;
  flex-direction: column;
}
.profile-name-full {
  font-size: 18px;
  font-weight: 600;
  color: #333333;
}
.profile-email {
  font-size: 14px;
  color: #555555;
}
.parent-info .profile-name-full {
  color: #006400;
}

/* Interests boxes (same as student profile) */
.profile-interests {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 20px;
}

.editable-table-container {
  position: relative;
}
.editable-table-container .table-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(112, 196, 255, 0.25);
  z-index: 1;
}
.editable-table-container input {
  background: #fff;
  border: 1px solid #ccc;
  z-index: 2;
}

@keyframes subtleBounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px); /* very slight lift */
  }
}

.goal-date-input {
  width: 85px;
  transition: width 0.2s ease;
  animation: subtleBounce 1s infinite ease-in-out;
}

.goal-date-input:hover {
  width: 120px;
}

.emoji-toggle-bar {
  display: flex;
  gap: 1rem;
  justify-content: center;
  padding: 8px 0;
  background: linear-gradient(90deg, #6ebb8b, #377537);
}

.emoji-toggle-button {
  border: 2px solid transparent;
  border-radius: 12px;
  padding: 8px;
  background: #f4f4f4;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  transition: all 0.2s ease-in-out;
}

.emoji-toggle-button:hover {
  transform: scale(1.05);
}

.emoji-toggle-button.active-emoji {
  border: 4px solid #1f77b4;
  background-color: #e8f2fc;
}

.emoji-icon {
  width: 30px;
  height: 30px;
}

.emoji-locked-wrapper {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: #f4f4f4;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.emoji-locked-button {
  width: 100%;
  height: 100%;
  padding: 8px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  cursor: default;
}

.emoji-locked-button:hover {
  transform: scale(1.03);
}

.locked-emoji {
  width: 30px;
  height: 30px;
  filter: brightness(0.4) blur(1.5px);
  transition: filter 0.3s ease;
  pointer-events: none;
}

.emoji-locked-button:hover .locked-emoji {
  filter: brightness(0.6) blur(1px);
}

.emoji-lock-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  backdrop-filter: blur(4px);
  background: rgba(0, 0, 0, 0.2);
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.emoji-locked-button:hover .emoji-lock-overlay {
  opacity: 0.2;
}

.lock-icon {
  font-size: 14px;
  margin-bottom: 2px;
  opacity: 0.9;
  transition: opacity 0.3s ease;
}

.lock-badge {
  font-size: 11px;
  font-weight: bold;
  background: rgba(255, 255, 255, 0.25);
  padding: 2px 6px;
  border-radius: 10px;
  opacity: 0.9;
  transition: opacity 0.3s ease;
  text-transform: uppercase;
}
