
/* GLOBAL FIX FOR MOBILE OVERFLOW */
* { box-sizing: border-box; }
html, body { overflow-x: hidden; max-width:100%; }


body {
  margin:0;
  padding:0;
  background:#f5f7fa;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.wrapper {
  width:100%;
  min-height:100vh;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:20px;
}

.card {
  background:#fff;
  padding:40px;
  width:100%;
  max-width:420px;
  border-radius:16px;
  box-shadow:0 8px 28px rgba(0,0,0,0.08);
  text-align:center;
  transition:0.3s;
}

.profile-logo {
  display:block;
  margin:0 auto 12px;
}

/* MOBILE OPTIMIZATION */
@media(max-width:480px){
  .card {
    padding:28px !important;
    max-width:360px;
    border-radius:14px;
  }
  .title {
    font-size:18px !important;
  }
  .subtitle {
    font-size:13px !important;
  }
  .input {
    padding:10px 12px !important;
    font-size:14px !important;
  }
  .btn {
    padding:11px !important;
    font-size:14px !important;
  }
}

.title {
  margin:0;
  font-size:20px;
  font-weight:500;
  color:#212121;
}

.subtitle {
  margin-top:10px;
  color:#6b7280;
  font-size:14px;
}

.input {
  width:100%;
  margin-top:22px;
  padding:12px 14px;
  border:1px solid #d1d5db;
  border-radius:8px;
  font-size:14px;
  outline:none;
  transition:0.2s;
}

.input:focus {
  border-color:#212121;
  box-shadow:0 0 0 2px rgba(0,0,0,0.12);
}

.btn {
  width:100%;
  margin-top:18px;
  background:#212121;
  color:white;
  padding:12px;
  border:none;
  border-radius:8px;
  font-size:15px;
  font-weight:600;
  cursor:pointer;
  transition:0.2s;
}

.btn:hover {
  background:#1f2937;
}

.info {
  margin-top:18px;
  font-size:12px;
  color:#9ca3af;
}


/* Profil ekranı bölümleri */
.profile-section {
  margin-top:24px;
}

.profile-section-title {
  font-size:18px;
  margin:0 0 8px;
  color:#212121;
}

.profile-table {
  width:100%;
  border-collapse:collapse;
  font-size:14px;
}

.profile-table th,
.profile-table td {
  padding:6px 8px;
  border-bottom:1px solid #e5e7eb;
  text-align:left;
}

.profile-table th {
  width:40%;
  color:#6b7280;
  font-weight:500;
}

.profile-table tr:last-child th,
.profile-table tr:last-child td {
  border-bottom:none;
}


/* Ödeme planı tablo stilleri (profil) */
.profile-schedule-wrapper {
  margin-top: 8px;
  padding-bottom: 4px;
  overflow-x: auto;
}

.profile-schedule-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 10px;
}

.profile-schedule-table thead {
  background: #f3f4f6;
}

.profile-schedule-table th,
.profile-schedule-table td {
  padding: 4px 6px;
  border-bottom: 1px solid #e5e7eb;
  white-space: nowrap;
}

.profile-schedule-table th {
  font-weight: 600;
  color: #4b5563;
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.profile-schedule-table tbody tr:nth-child(even) {
  background: #f9fafb;
}

.profile-schedule-table tbody tr:nth-child(odd) {
  background: #ffffff;
}

.profile-schedule-table th:nth-child(1),
.profile-schedule-table td:nth-child(1) {
  text-align: left;
}

.profile-schedule-table th:nth-child(2),
.profile-schedule-table th:nth-child(3),
.profile-schedule-table th:nth-child(4),
.profile-schedule-table td:nth-child(2),
.profile-schedule-table td:nth-child(3),
.profile-schedule-table td:nth-child(4) {
  text-align: right;
}

.profile-schedule-table th:nth-child(5),
.profile-schedule-table td:nth-child(5) {
  text-align: center;
}

@media (max-width: 640px) {
  .profile-schedule-table {
    font-size: 9px;
  }

  .profile-schedule-table th,
  .profile-schedule-table td {
    padding: 3px 4px;
  }
}

  .profile-schedule-table th,
  .profile-schedule-table td {
    padding: 3px 4px;
  }
}
