.rs-form {
  max-width: 420px;
  margin: 60px auto;
  padding: 40px 35px;
  background: var(--e-global-color-626339f);
  border-radius: 16px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  gap: 18px;
  font-family: var(--e-global-typography-primary-font-family), Sans-serif;
}

.rs-form.rs-profile {
  max-width: 600px;
}

.rs-form input {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  font-size: 15px;
  transition: all 0.25s ease;
  outline: none;
  background: #f9fafb;
}

.rs-form input:focus {
  border-color: var(--e-global-color-7f0aaa4);
  background: var(--e-global-color-626339f);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.rs-form input:disabled {
  background: #eef2f7;
  border-color: #e2e8f0;
  color: #94a3b8;
  cursor: not-allowed;
  opacity: 0.85;
}

.rs-form input:disabled::placeholder {
  color: #94a3b8;
}

.rs-form input:disabled:focus {
  box-shadow: none;
  border-color: #e2e8f0;
  background: #eef2f7;
}

/* ================= TEXTAREA ================= */

.rs-form textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  font-size: 15px;
  transition: all 0.25s ease;
  outline: none;
  background: #f9fafb;
  font-family: inherit;
  resize: vertical;
  min-height: 120px;
  line-height: 1.5;
}

/* Focus */
.rs-form textarea:focus {
  border-color: var(--e-global-color-7f0aaa4);
  background: var(--e-global-color-626339f);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

/* Disabled */
.rs-form textarea:disabled {
  background: #eef2f7;
  border-color: #e2e8f0;
  color: #94a3b8;
  cursor: not-allowed;
  opacity: 0.85;
}

.rs-form textarea:disabled:focus {
  box-shadow: none;
  border-color: #e2e8f0;
  background: #eef2f7;
}

/* Placeholder */
.rs-form textarea::placeholder {
  color: #94a3b8;
}

/* Remember me wrapper */
.rs-remember {
  display: flex;
  align-items: center;
}

/* Checkbox container */
.rs-checkbox {
  display: flex;
  align-items: center;
  cursor: pointer;
  gap: 10px;
  font-size: 14px;
  color: #475569;
  user-select: none;
}

/* Hide default checkbox */
.rs-checkbox input {
  display: none;
}

/* Custom toggle background */
.rs-checkmark {
  position: relative;
  width: 42px;
  height: 22px;
  background: #cbd5e1;
  border-radius: 50px;
  transition: background 0.3s ease;
}

/* Toggle circle */
.rs-checkmark::after {
  content: "";
  position: absolute;
  width: 18px;
  height: 18px;
  top: 2px;
  left: 2px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.3s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

/* Active state */
.rs-checkbox input:checked + .rs-checkmark {
  background: var(--e-global-color-7f0aaa4);
}

.rs-checkbox input:checked + .rs-checkmark::after {
  transform: translateX(20px);
}

/* Hover effect */
.rs-checkbox:hover .rs-checkmark {
  background: #94a3b8;
}

.rs-checkbox input:checked:hover + .rs-checkmark {
  background: var(--e-global-color-50dab86);
}

/* Text */
.rs-label-text {
  font-weight: 500;
}

.rs-form button {
  position: relative;
  padding: 14px;
  border: none;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  background: var(--e-global-color-7f0aaa4);
  color: var(--e-global-color-626339f);
  transition: all 0.25s ease;
}

.rs-form button:hover:not(:disabled) {
  background-color: var(--e-global-color-50dab86);
}

.rs-form button:disabled {
  background: #cbd5e1;
  cursor: not-allowed;
}

.rs-form .rs_lost_pass {
  text-align: right;
  font-size: 14px;
  text-decoration: none;
  color: #64748b;
  transition: color 0.2s ease;
}

.rs-form .rs_lost_pass:hover {
  color: var(--e-global-color-50dab86);
}

.rs-form input[type="date"],
.rs-form input[type="tel"] {
  background: #f9fafb;
}

.rs-training-dates label {
  margin-bottom: 10px;
  text-align: center;
  width: 100%;
}

.rs-training-dates-wrapper {
  display: flex;
  flex-direction: row;
  gap: 10px;
  justify-content: space-between;
  align-items: center;
}

.rs-date-group {
  width: 100%;
}

.rs-existing-file a {
  color: var(--e-global-color-7f0aaa4);
}

/* Mobile responsive */
@media (max-width: 480px) {
  .rs-form {
    margin: 30px 15px;
    padding: 30px 20px;
  }
}

.rs-loader {
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top: 2px solid #fff;
  border-radius: 50%;
  animation: rsSpin 0.7s linear infinite;
  display: none;
}

.rs-form button.is-loading .rs-loader {
  display: inline-block;
}

.rs-form button.is-loading .btn-text {
  display: none;
}

@keyframes rsSpin {
  to {
    transform: rotate(360deg);
  }
}

.rs-workshop-mamager input {
  width: 100%;
  padding: 8px 16px;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  font-size: 15px;
  transition: all 0.25s ease;
  outline: none;
  background: #f9fafb;
}

.rs-workshop-mamager input:focus {
  border-color: var(--e-global-color-7f0aaa4);
  background: var(--e-global-color-626339f);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  font-size: 15px;
  transition: all 0.25s ease;
  outline: none;
  background: #f9fafb;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  cursor: pointer;
}

select:focus {
  border-color: var(--e-global-color-7f0aaa4);
  background: var(--e-global-color-626339f);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.rs-workshop-mamager select {
  width: 100%;
  padding: 8px 16px;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  font-size: 15px;
  transition: all 0.25s ease;
  outline: none;
  background: #f9fafb;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  cursor: pointer;
}

.rs-workshop-mamager select:focus {
  border-color: var(--e-global-color-7f0aaa4);
  background: var(--e-global-color-626339f);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

/* ================= STATUS BORDER ================= */
.rs-workshop-mamager .rs-status.pending {
  border-color: #d68910;
}

.rs-workshop-mamager .rs-status.confirmed {
  border-color: #1a8f5a;
}

.rs-workshop-mamager .rs-status.markconfirmed {
  border-color: #bdbdbd !important;
}

.rs-workshop-mamager .rs-status.denied {
  border-color: #c0392b;
}

/* ================= STATUS FOCUS GLOW ================= */
.rs-workshop-mamager .rs-status.pending:focus {
  border-color: #d68910;
  box-shadow: 0 0 0 3px rgba(214, 137, 16, 0.18);
}

.rs-workshop-mamager .rs-status.confirmed:focus {
  border-color: #1a8f5a;
  box-shadow: 0 0 0 3px rgba(26, 143, 90, 0.18);
}

.rs-workshop-mamager .rs-status.denied:focus {
  border-color: #c0392b;
  box-shadow: 0 0 0 3px rgba(192, 57, 43, 0.18);
}

@media (max-width: 768px) {
  .rs-training-dates-wrapper {
    flex-direction: column;
    gap: 10px;
  }
}

.rs-password-field {
  position: relative;
}

.rs-password-field .rs-pass-toggle {
  position: absolute;
  right: 10px;
  top: 30%;
}
