/* Your custom css code goes here */

.error {
  text-align: center;
  color: #ffffff;
}

.text-white {
  color: #ffffff;
}

.container_2 {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  padding: 20px;
}

.form {
  width: 100%;
  margin: 10px 20px;
  padding: 20px;
  box-sizing: border-box;
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  max-width: 400px;
}

.form input {
  width: 100%;
  padding: 10px;
  box-sizing: border-box;
  margin-bottom: 10px;
  border-radius: 4px;
  border: 1px solid #ccc;
}

.form button {
  margin-bottom: 10px;
}

.input-group {
  margin-bottom: 10px;
}

.input-group input,
.input-group textarea {
  width: 100%;
  padding: 5px;
  font-size: 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  outline: none;
  transition: border-color 0.3s ease;
  margin: 0 auto;
  display: block;
}

.input-group input:focus,
.input-group textarea:focus {
  border-color: #4caf50;
}

.input-group input::placeholder,
.input-group textarea::placeholder {
  color: #aaa;
}

#myImage {
  width: 300px;
  height: 400px;
}

#myImage_3 {
  width: 400px;
  height: 300px;
  margin-bottom: 10px;
}

#myImage_2 {
  height: 350px;
}

#teacher_image {
  height: 120px;
}

.logout {
  margin-top: 50%;
  color: #49d292;
  border: 1px #49d292;
  background-color: #ffffff;
}

.bcolor {
  background-color: #6a41ed;
}

.course_d {
  padding: 10px;
  width: 90%;
  background-color: #ffffff;
  z-index: 1;
  transform: translateY(-4px);
  justify-self: center;
  justify-items: center;
  border: 1px solid #ccc;
  border-radius: 5px;
  height: 450px;
  margin-bottom: 15px;
}

.course_m {
  padding: 10px;
  width: 90%;
  background-color: #ffffff;
  z-index: 1;
  transform: translateY(-4px);
  justify-self: center;
  justify-items: center;
  border: 1px solid #ccc;
  border-radius: 5px;
  /* height: 450px; */
  margin-bottom: 15px;
}

.service {
  padding: 10px;
  width: 90%;
  background-color: #ffffff;
  z-index: 1;
  transform: translateY(-4px);
  justify-self: center;
  justify-items: center;
  border: 1px solid #ccc;
  border-radius: 5px;
  height: 300px;
  margin-bottom: 15px;
}

.course_d span,
.course_d h5 {
  justify-self: left;
  font-size: large;
}

.try {
  height: 320px;
  background-color: white;
  opacity: 1;
}

.try_2 {
  height: 300px;
}

.try_1 {
  height: 300px;
  background-color: white;
  opacity: 1;
}

#teacher {
  height: 300px;
}

body {
  background-color: #f4f7f6; /* Lighter background for the whole page */
}

.probootstrap-section-colored {
  /* You might already have styles for this, adjust as needed */
  background-color: #5cb85c; /* Example green color, adjust to your theme */
  padding-top: 30px;
  padding-bottom: 30px;
}

.profile-card .card-title {
  margin-bottom: 5px;
  font-weight: 600;
}

.profile-card .text-muted {
  font-size: 0.9em;
}

.details-list {
  margin-top: 25px;
  margin-bottom: 25px;
  padding-left: 0; /* Remove default padding */
  list-style: none; /* Remove bullets */
}

.progress {
  height: 10px;
  margin-bottom: 5px;
  background-color: #e9ecef;
}
.score-display {
  font-weight: bold;
}
.score-display.good {
  color: #28a745;
} /* Green */
.score-display.ok {
  color: #ffc107;
} /* Yellow */
.score-display.bad {
  color: #dc3545;
} /* Red */
.no-score {
  color: #6c757d;
  font-style: italic;
  font-size: 0.9em;
}
.subject-details-links a {
  margin-top: 5px;
}
.profile-card {
  background: #fff;
  border-radius: 5px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}
.profile-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: #eee;
  margin: 0 auto 15px auto;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: #aaa;
}
.details-list li {
  margin-bottom: 8px;
  display: flex;
  align-items: center;
}
.details-list li i {
  width: 25px;
  text-align: center;
  color: #007bff;
  margin-right: 5px;
}
.course-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%; /* Make cards in a row have the same base height */
  display: flex;
  flex-direction: column; /* Stack elements vertically */
  background-color: #ffffff;
  border: none;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
  overflow: hidden; /* Prevent content overflow on rounded corners */
}

.course-card:hover {
  transform: translateY(-5px); /* Lift card slightly on hover */
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12); /* Increase shadow on hover */
}

.course-card .card-img-placeholder {
  height: 180px; /* Fixed height for course images/placeholders */
  background-color: #e9ecef;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #adb5bd;
}
.course-card .card-img-placeholder i {
  font-size: 3rem;
}

.course-card img.card-img-top {
  height: 180px;
  object-fit: cover; /* Cover the area, might crop */
  width: 100%;
}

.course-card .card-body {
  flex-grow: 1; /* Allow card body to take up remaining space */
  display: flex;
  flex-direction: column;
  padding: 1.25rem; /* Standard Bootstrap padding */
}

.course-card .card-title {
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
  font-weight: 600;
}

.course-card .card-subtitle {
  font-size: 0.85rem;
  margin-bottom: 1rem;
}

.course-card .card-text {
  flex-grow: 1; /* Allow description to fill space before footer */
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 1rem;
  line-height: 1.5;
}

.course-card .card-footer {
  background-color: transparent;
  border-top: 1px solid #eee; /* Subtle separator */
  padding: 0.75rem 1.25rem;
  margin-top: auto; /* Push footer to the bottom */
}

.alert-info {
  background-color: #e2f3ff; /* Lighter info blue */
  border-color: #b8e2ff;
  color: #0c5464;
}
.alert-info .alert-heading {
  color: inherit;
}
.alert-info hr {
  border-top-color: #b8e2ff;
}
.alert-info .btn-primary {
  background-color: #007bff;
  border-color: #007bff;
}
.alert-info .btn-primary:hover {
  background-color: #0056b3;
  border-color: #0056b3;
}
.assignment-item {
  border: 1px solid #eee;
  padding: 20px;
  margin-bottom: 20px; /* Use mb20 or mb30 from your CSS */
  border-radius: 4px;
  background-color: #fff;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05); /* Subtle shadow */
}
.assignment-item h3 {
  margin-top: 0;
  margin-bottom: 10px; /* Use mb10 */
  font-size: 22px; /* Adjust as needed */
}
.assignment-meta {
  font-size: 14px;
  color: #8b8e94; /* Use body color from your CSS */
  margin-bottom: 15px; /* Use mb10 or mb20 */
}
.assignment-meta strong {
  color: #181920; /* Use heading color */
}

.form-control.is-invalid {
  border-color: #dc3545;
}
.invalid-feedback {
  color: #dc3545;
  font-size: 85%;
  margin-top: 5px;
  display: block;
}
.password-input-wrapper {
  position: relative; /* Container for absolute positioning */
}
/* Add padding to the right of the input field to make space for the button */
#password {
  padding-right: 40px;
  border-top-right-radius: 0.25rem !important;
  border-bottom-right-radius: 0.25rem !important;
}
#confirm_password {
  padding-right: 40px;
  border-top-right-radius: 0.25rem !important;
  border-bottom-right-radius: 0.25rem !important;
}
/* Style the toggle button */
#togglePassword,
#toggleConfirmPassword {
  position: absolute;
  top: 50%;
  right: 0px; /* Position inside the right edge */
  transform: translateY(-50%); /* Center vertically */
  border: none;
  background: transparent;
  padding: 0.5rem 0.75rem; /* Adjust padding for click area */
  cursor: pointer;
  color: #6c757d; /* Muted color for the icon */
  line-height: 1; /* Prevent extra space */
  z-index: 3; /* Ensure it's above the input */
}
#togglePassword:focus,
#toggleConfirmPassword:focus {
  outline: none; /* Remove default focus outline */
  box-shadow: none;
}
.mb-2 {
  margin-bottom: 1rem !important; /* Adjust margin for better spacing */
}
#togglePassword:hover i,
#toggleConfirmPassword:hover i {
  color: #343a40; /* Darken icon on hover */
}
.login-card {
  width: 100%;
  max-width: 450px;
}
.error-message {
  color: #dc3545;
  background-color: #f8d7da;
  border: 1px solid #f5c6cb;
  padding: 0.75rem 1.25rem;
  border-radius: 0.25rem;
  margin-bottom: 1rem;
  font-size: 0.9em;
}
.course-header-bg {
  /* Example gradient - same as before */
  background: linear-gradient(45deg, #007bff, #6c757d);
  background-size: cover;
  background-position: center;
  color: white;
  padding: 4rem 0; /* More padding */
}
.course-price {
  font-size: 2rem;
  font-weight: bold;
  color: #007bff; /* Direct color or use Bootstrap variable if setup */
}
.action-card {
  position: -webkit-sticky; /* Safari */
  position: sticky; /* Make the action card sticky */
  top: 20px; /* Adjust spacing from top */
}
.subject-list-item {
  border: 1px solid #eee;
  margin-bottom: 10px;
  padding: 15px;
  border-radius: 5px;
  transition: box-shadow 0.2s ease-in-out;
}
.subject-list-item:hover {
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
.student-card {
  border: 1px solid #e6e5e5; /* From .probootstrap-teacher */
  padding: 20px;
  margin-bottom: 30px; /* mb30 */
  background-color: #fff;
  border-radius: 4px;
}
/* Keep styles for inside the form */
.subject-scores {
  margin-top: 15px;
  padding-top: 15px;
  border-top: 1px solid #eee;
}
.score-input-group {
  display: flex;
  align-items: center;
  margin-bottom: 10px; /* mb10 */
}
.score-input-group label {
  flex-basis: 60%;
  margin-bottom: 0;
  padding-right: 10px;
  font-size: 0.9em;
}
.score-input-group label small {
  color: #8b8e94;
  font-size: 0.9em;
}
.score-input-group input {
  flex-basis: 40%;
  height: 35px;
  padding: 5px 10px;
}
.add-student-section {
  background-color: #f8f9fa;
  padding: 20px;
  border-radius: 5px;
  border: 1px solid #eee;
  margin-bottom: 40px; /* mb40 */
}
/* Style for the collapsed form area */
.collapse-form-area {
  margin-top: 20px; /* Add space above the form when opened */
  padding-top: 20px;
  border-top: 1px dashed #ccc; /* Visual separator */
}
