/* TEMA Portal Standard Auth & Form Styles */

.login-title h1 {
  margin-top: 15px;
  font-size: 24px;
  font-weight: 700;
  font-family: var(--font-primary);
  color: #0f172a !important;
}

.container-md {
  max-width: 840px;
}

.container-auth-wide {
  max-width: 840px;
}

/* Auth Card Container */
.auth-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.05), 0 2px 6px rgba(0, 0, 0, 0.02);
  padding: 42px 40px;
  margin-top: 15px;
  margin-bottom: 35px;
  transition: all 0.2s ease;
}

.auth-card-lg {
  padding: 45px 42px;
}

@media (max-width: 768px) {
  .auth-card,
  .auth-card-lg {
    padding: 24px 18px;
    border-radius: 12px;
  }
}

.auth-header {
  text-align: center;
  margin-bottom: 28px;
}

.auth-header img {
  max-height: 80px;
  width: auto;
  margin-bottom: 12px;
}

.auth-header h1 {
  font-size: 23px;
  font-weight: 700;
  color: #0f172a;
  font-family: var(--font-primary);
  margin-bottom: 4px;
}

.auth-header p {
  font-size: 13.5px;
  color: #64748b;
}

/* Notice Box */
.auth-notice-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-left: 4px solid #3b82f6;
  border-radius: 8px;
  padding: 14px 18px;
  margin-bottom: 24px;
}

.auth-notice-box p {
  color: #334155;
  font-size: 13.5px;
  line-height: 1.5;
  margin: 0;
}

/* TEMA Form Labels */
.form-label {
  font-size: 13.5px;
  font-weight: 600;
  color: #1e293b !important;
  margin-bottom: 6px;
  display: block;
}

/* TEMA Form Control & Input Styling */
.auth-form-control,
.form-control,
.form-select {
  border: 1px solid #cbd5e1 !important;
  border-radius: 8px !important;
  padding: 10px 14px !important;
  font-size: 14px !important;
  color: #0f172a !important;
  background-color: #ffffff !important;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.auth-form-control::placeholder,
.form-control::placeholder {
  color: #94a3b8 !important;
  font-size: 13.5px;
}

.auth-form-control:focus,
.form-control:focus,
.form-select:focus,
.auth-input-group .form-control:focus,
.auth-input-group .form-select:focus {
  border-color: #4A8B2A !important;
  box-shadow: 0 0 0 3px rgba(74, 139, 42, 0.12) !important;
  background-color: #ffffff !important;
  outline: 0;
}

/* Input Groups */
.auth-input-group {
  position: relative;
  margin-bottom: 18px;
}

.auth-input-group .input-group-text {
  background-color: #f8fafc;
  border: 1px solid #cbd5e1;
  border-right: none;
  border-top-left-radius: 8px;
  border-bottom-left-radius: 8px;
  color: #64748b;
  font-size: 1.05rem;
  padding: 10px 14px;
}

.auth-input-group .form-control,
.auth-input-group .form-select {
  border-top-left-radius: 0 !important;
  border-bottom-left-radius: 0 !important;
}

/* Primary TEMA Action Button */
.auth-btn-primary,
.login-btn {
  background-color: #4A8B2A !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 8px;
  padding: 12px 28px;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.2px;
  transition: background-color 0.15s ease, box-shadow 0.15s ease;
  box-shadow: 0 2px 10px rgba(74, 139, 42, 0.2);
}

.auth-btn-primary:hover,
.login-btn:hover {
  background-color: #386f1e !important;
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(74, 139, 42, 0.28);
}

.auth-btn-primary:active,
.login-btn:active {
  transform: translateY(0);
}

/* Section Dividers & Titles in Register */
.auth-section-title {
  font-size: 15px;
  font-weight: 700;
  color: #0f172a;
  border-bottom: 1.5px solid #e2e8f0;
  padding-bottom: 8px;
  margin-top: 15px;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.auth-section-title i {
  color: #4A8B2A;
  font-size: 18px;
}

/* User Type Selection Cards */
.user-type-card {
  border-radius: 8px !important;
  transition: all 0.15s ease;
}

.user-type-card strong {
  color: #0f172a !important;
}

.user-type-card span {
  color: #64748b !important;
}

/* Checkbox & Radio Styling */
.form-check-input {
  border-color: #cbd5e1;
}

.form-check-input:checked {
  background-color: #4A8B2A !important;
  border-color: #4A8B2A !important;
}

.form-check-input:focus {
  border-color: #4A8B2A;
  box-shadow: 0 0 0 3px rgba(74, 139, 42, 0.12);
}

.auth-check-label {
  font-size: 13.5px;
  color: #334155;
  line-height: 1.4;
  cursor: pointer;
}

.form-check label a,
.auth-check-label a {
  color: #0d6efd !important;
  text-decoration: underline !important;
  font-weight: 500;
  transition: color 0.15s ease;
}

.form-check label a:hover,
.auth-check-label a:hover {
  color: #0a58ca !important;
  text-decoration: underline !important;
}

.auth-footer-links a {
  color: #4A8B2A;
  font-weight: 600;
  transition: color 0.15s ease;
}

.auth-footer-links a:hover {
  color: #386f1e;
  text-decoration: underline !important;
}

/* Custom Dropdown List */
.custom-dropdown-container {
  position: relative;
}

.custom-dropdown-list {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 1050;
  background: #fff;
  border: 1px solid #cbd5e1;
  border-top: none;
  max-height: 240px;
  overflow-y: auto;
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.dropdown-item-custom {
  padding: 9px 14px;
  cursor: pointer;
  font-size: 0.88rem;
  color: #334155;
  transition: all 0.15s ease;
  border-bottom: 1px solid #f1f5f9;
}

.dropdown-item-custom:last-child {
  border-bottom: none;
}

.dropdown-item-custom:hover {
  background-color: #f8fafc !important;
  color: #4A8B2A !important;
}

.dropdown-item-custom.active {
  background-color: #f1f5f9;
  color: #4A8B2A;
  font-weight: 600;
}

.custom-dropdown-list::-webkit-scrollbar {
  width: 6px;
}

.custom-dropdown-list::-webkit-scrollbar-track {
  background: #f1f1f1;
}

.custom-dropdown-list::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 8px;
}
/* ── Kayıt Başarı — Animasyonlar ─────────────────────────────────────────── */
@keyframes heartBeat {
  0%  { transform: scale(1); }
  14% { transform: scale(1.1); }
  28% { transform: scale(1); }
  42% { transform: scale(1.1); }
  70% { transform: scale(1); }
}

@keyframes pulseGlow {
  0%   { box-shadow: 0 0 0 0 rgba(46, 125, 50, 0.4); }
  70%  { box-shadow: 0 0 0 10px rgba(46, 125, 50, 0); }
  100% { box-shadow: 0 0 0 0 rgba(46, 125, 50, 0); }
}

/* ── Üyelik Seçimi Kartları (auth/register.php) ──────────────────────────── */
.user-type-select-card {
  transition: all 0.25s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.user-type-select-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08) !important;
  border-color: #4A8B2A !important;
}

.user-type-select-card:hover .icon-circle {
  transform: scale(1.06);
}

.icon-circle {
  transition: transform 0.25s ease;
}

/* ── Standard Reusable Auth Components ───────────────────────────────────── */
.auth-container-sm {
  max-width: 480px;
  margin: 0 auto;
}

.auth-container-md {
  max-width: 840px;
  margin: 0 auto;
}

.auth-logo-img {
  max-height: 80px;
  width: auto;
}

.auth-card-type {
  height: 100%;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 24px;
  text-align: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
  transition: all 0.25s cubic-bezier(0.165, 0.84, 0.44, 1);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.auth-card-type:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
  border-color: #4A8B2A;
}

.auth-icon-circle {
  width: 72px;
  height: 72px;
  background-color: #e8f5e9;
  color: #4A8B2A;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  transition: transform 0.25s ease;
}

.auth-card-type:hover .auth-icon-circle {
  transform: scale(1.06);
}

.btn-auth-outline {
  border: 1.5px solid #cbd5e1;
  color: #334155;
  font-weight: 700;
  border-radius: 8px;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  text-decoration: none;
  transition: all 0.2s ease;
}

.btn-auth-outline:hover {
  background-color: #f8fafc;
  border-color: #94a3b8;
  color: #0f172a;
}

.auth-step-circle {
  z-index: 2;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background-color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 600;
}

.auth-step-circle.active {
  border: 3px solid #2e7d32;
  color: #2e7d32;
  animation: pulseGlow 1.5s infinite;
}

.auth-step-circle.inactive {
  border: 3px solid #e0e0e0;
  color: #9e9e9e;
}

.auth-step-labels {
  display: flex;
  justify-content: space-between;
  padding: 0 8px;
  margin-bottom: 24px;
  margin-left: auto;
  margin-right: auto;
  max-width: 420px;
  font-size: 12px;
  color: #616161;
}

.auth-step-label.done {
  font-weight: 600;
  color: #2e7d32;
}

.auth-step-label.pending {
  font-weight: 500;
  color: #616161;
}

.auth-message-text {
  color: #37474f;
  font-size: 16px;
  line-height: 1.6;
  font-family: 'Inter', sans-serif;
}

.auth-alert-box {
  padding: 14px 18px;
  background-color: #f8fafc;
  border-radius: 8px;
  margin-top: 16px;
  text-align: left;
  font-size: 14px;
  border-left: 4px solid #0d6efd;
}

.auth-alert-box.success {
  border-left-color: #198754;
}

.btn-auth-dark {
  background-color: #0b2240 !important;
  border-color: #0b2240 !important;
  color: #ffffff !important;
  font-weight: 600;
  border-radius: 8px;
  padding: 10px 24px;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.btn-auth-dark:hover {
  background-color: #061528 !important;
  color: #ffffff !important;
}

.auth-support-text {
  font-size: 13px;
  color: #64748b;
  margin-top: 24px;
  margin-bottom: 0;
}

.auth-support-text a {
  color: #0d6efd;
  text-decoration: underline;
  font-weight: 500;
}

.auth-forgot-link {
  font-size: 0.83rem;
  color: #4A8B2A;
  font-weight: 600;
  text-decoration: none;
}

.auth-forgot-link:hover {
  color: #386f1e;
  text-decoration: underline;
}

.auth-back-link {
  color: #64748b;
  font-size: 13.5px;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.15s ease;
}

.auth-back-link:hover {
  color: #1e293b;
}

.btn-auth-primary,
.login-btn {
  background-color: #4A8B2A !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 8px;
  padding: 12px 24px;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.2px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  transition: background-color 0.15s ease, box-shadow 0.15s ease;
  box-shadow: 0 2px 10px rgba(74, 139, 42, 0.2);
}

.btn-auth-primary:hover,
.login-btn:hover {
  background-color: #386f1e !important;
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(74, 139, 42, 0.28);
}

.auth-link-forgot {
  font-size: 13px;
  color: #4A8B2A;
  font-weight: 600;
  text-decoration: none;
}

.auth-link-forgot:hover {
  color: #386f1e;
  text-decoration: underline;
}

.auth-card-text {
  font-size: 13.5px;
  line-height: 1.6;
  color: #64748b;
  margin-bottom: 16px;
  flex-grow: 1;
}

.receipt-page-section {
  min-height: 100vh;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  background-color: #f6f8fa;
  padding-top: 50px;
}

.receipt-card {
  background-color: #ffffff;
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
  padding: 36px 32px;
  text-align: center;
  border: 1px solid #eaeaea;
  margin-top: 40px;
  margin-bottom: 40px;
}
