/* ===== TC STUDENT SYSTEM PUBLIC ===== */

.tcss-login {
  width: 100%;
  font-family: Tahoma, Arial, sans-serif;
}

.tcss-login-head {
  margin-bottom: 18px;
  text-align: center;
}

.tcss-login-head h3 {
  margin: 0 0 8px;
  color: #07345c;
  font-size: 24px;
  font-weight: 800;
  line-height: 1.25;
}

.tcss-login-head p {
  margin: 0;
  color: #667085;
  font-size: 14px;
  line-height: 1.6;
}

.tcss-login-error {
  margin-bottom: 14px;
  padding: 11px 13px;
  border-radius: 12px;
  background: #fef2f2;
  color: #b91c1c;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.5;
  text-align: left;
}

.tcss-login-form {
  text-align: left;
}

.tcss-form-row {
  margin-bottom: 14px;
}

.tcss-form-row label {
  display: block;
  margin-bottom: 7px;
  color: #172033;
  font-size: 14px;
  font-weight: 700;
}

.tcss-form-row input {
  width: 100%;
  height: 46px;
  padding: 0 14px;
  border: 1px solid #dbe5f0;
  border-radius: 14px;
  outline: none;
  background: #f8fafc;
  color: #172033;
  font-size: 15px;
  transition: 0.2s ease;
}

.tcss-form-row input:focus {
  border-color: #0f4c81;
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(15, 76, 129, 0.1);
}

.tcss-remember {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 2px 0 16px;
  color: #667085;
  font-size: 14px;
  cursor: pointer;
}

.tcss-remember input {
  width: 16px;
  height: 16px;
}

.tcss-login-submit {
  width: 100%;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 14px;
  background: #0f4c81;
  color: #ffffff !important;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none !important;
  cursor: pointer;
  box-shadow: 0 12px 26px rgba(15, 76, 129, 0.22);
  transition: 0.22s ease;
}

.tcss-login-submit:hover {
  background: #07345c;
  transform: translateY(-1px);
}

.tcss-login-logged-in {
  text-align: center;
}

.tcss-login-actions {
  display: grid;
  gap: 10px;
}

.tcss-login-link {
  width: 100%;
}

.tcss-logout-link {
  display: inline-flex;
  justify-content: center;
  color: #0f4c81;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none !important;
}

.tcss-logout-link:hover {
  color: #07345c;
}

/* ===== TC STUDENT PASSWORD RESET ===== */

.tcss-login-notice {
  margin-bottom: 14px;
  padding: 11px 13px;
  border-radius: 12px;
  background: #ecfdf5;
  color: #047857;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.5;
  text-align: left;
  border: 1px solid #a7f3d0;
}

.tcss-forgot-password {
  margin-top: 16px;
  border-top: 1px solid #e5edf6;
  padding-top: 13px;
}

.tcss-forgot-password summary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 34px;
  color: #0f4c81;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  list-style: none;
  user-select: none;
}

.tcss-forgot-password summary::-webkit-details-marker {
  display: none;
}

.tcss-forgot-password summary::before {
  content: "?";
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 8px;
  border-radius: 999px;
  background: #e0f2fe;
  color: #075985;
  font-size: 13px;
  font-weight: 900;
}

.tcss-forgot-password-panel {
  margin-top: 12px;
  padding: 15px;
  border-radius: 16px;
  background: #f8fafc;
  border: 1px solid #dbe5f0;
  text-align: left;
}

.tcss-forgot-password-panel p {
  margin: 0 0 13px;
  color: #667085;
  font-size: 13px;
  line-height: 1.55;
}

.tcss-forgot-form .tcss-form-row {
  margin-bottom: 12px;
}

.tcss-forgot-submit {
  width: 100%;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 13px;
  background: #0f766e;
  color: #ffffff !important;
  font-size: 14px;
  font-weight: 850;
  line-height: 1.2;
  text-decoration: none !important;
  cursor: pointer;
  box-shadow: 0 10px 22px rgba(15, 118, 110, 0.20);
  transition: 0.22s ease;
}

.tcss-forgot-submit:hover {
  background: #115e59;
  transform: translateY(-1px);
}

.tcss-forgot-help {
  margin-top: 11px;
  padding: 10px 11px;
  border-radius: 12px;
  background: #fff7ed;
  color: #9a3412;
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1.45;
}

@media (max-width: 640px) {
  .tcss-forgot-password-panel {
    padding: 13px;
  }

  .tcss-forgot-password summary {
    font-size: 13px;
  }
}