/* Study Plan Page Styles - Calendar Style */

/* Form container styles */
.form-container {
  text-align: right;
}

.custom-select {
  position: relative;
  display: inline-block;
  width: 100%;
  margin-bottom: 0.625rem;
  max-width: 100%;
}

.form-container h4 {
  color: var(--color-primary-dark);
  text-align: right;
  font-size: 2.0625rem;
  font-weight: bold;
  margin-bottom: 1.25rem;
}

.calendar-one {
  padding-top: 5rem;
  overflow-x: hidden;
}

.calendar-one-inner {
  background-color: whitesmoke;
  padding: 1.25rem;
  border-radius: 0.5rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  position: relative;
}

.form-group label {
  display: block;
  font-size: 1.25rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: var(--color-primary-dark);
  text-align: right;
}

[dir="ltr"] .form-group label {
  text-align: left;
}

.form-group select {
  color: var(--color-primary-dark);
  margin-bottom: 0.625rem;
  width: 100%;
  max-width: 100%;
  height: 3.125rem;
  padding: 0.5rem;
  border-radius: 0.25rem;
  border: 4px solid var(--color-border);
  font-size: 1.125rem;
  background-color: #fff;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  padding-right: 2.1875rem;
  text-align: right;
}

[dir="ltr"] .form-group select {
  text-align: left;
  padding-left: 2.1875rem;
  padding-right: 0.5rem;
}

.form-group select:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
  outline: none;
}

.form-group select:disabled {
  background-color: var(--color-bg-soft);
  cursor: not-allowed;
  opacity: 0.6;
}

.custom-select::after {
  content: "\f078";
  font-family: "Font Awesome 5 Free";
  position: absolute;
  top: 50%;
  left: 1.875rem;
  transform: translateY(-50%);
  font-weight: 900;
  color: black;
  margin-top: -0.3125rem;
  pointer-events: none;
}

[dir="ltr"] .custom-select::after {
  left: auto;
  right: 1.875rem;
}

.btn-primary {
  margin-top: 1rem;
  background-color: var(--color-primary);
  color: white;
  border: none;
  padding: 0.625rem 1rem;
  font-size: 1.25rem;
  font-weight: 500;
  cursor: pointer;
  width: 12.5rem;
  border-radius: 0.25rem;
  text-align: center;
}

.btn-primary:hover {
  background-color: var(--color-primary);
}

hr {
  margin-top: 1.25rem;
  border-top: 2px solid var(--color-secondary);
  opacity: 1;
}

body .justify-content-center {
  justify-content: center !important;
}

/* Responsive styles */
@media (max-width: 991px) {
  .row.align-items-center > div {
    margin-bottom: 0.9375rem;
  }

  .btn-primary {
    width: 100%;
  }
}
