/* ── Mobile sub-header ── */
.ctk-mobile-header {
  display: flex;
  align-items: center;
  background: #fff;
  padding: 13px 20px;
  border-bottom: 1px solid #eee;
  position: sticky;
  top: 0;
  z-index: 99;
}

/* ── Main wrapper ── */
.ctk-main-wrapper {
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  background: #fff;
  padding-bottom: 90px;
}

@media (min-width: 768px) {
  .ctk-main-wrapper {
    max-width: 750px;
    margin: 3rem auto;
    background: #fff;
    border-radius: 24px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.06);
    padding: 50px;
    border: 1px solid #eee;
  }
}

/* ── Stepper ── */
.ctk-stepper {
  display: flex;
  justify-content: space-between;
  padding: 20px 16px;
  background: #fff;
  border-bottom: 1px solid #eee;
  position: relative;
}

@media (min-width: 768px) {
  .ctk-stepper {
    border-bottom: none;
    margin-bottom: 36px;
    padding: 0;
  }
}

.ctk-step {
  text-align: center;
  flex: 1;
  position: relative;
}

/* Connector line */
.ctk-step-line {
  position: absolute;
  top: 15px;
  left: 50%;
  width: 100%;
  height: 2px;
  background: #eee;
  z-index: 1;
}

.ctk-step:last-child .ctk-step-line { display: none; }
.ctk-step.active .ctk-step-line { background: #ff5200; }
.ctk-step-line.done { background: #ff5200; }

.ctk-step-icon {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #eee;
  color: #999;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 6px;
  font-size: 0.8rem;
  font-weight: 700;
  z-index: 2;
  position: relative;
  transition: 0.3s;
}

.ctk-step.active .ctk-step-icon {
  background: #ff5200;
  color: white;
  box-shadow: 0 0 0 4px #fff5f0;
}

.ctk-step-label {
  font-size: 0.65rem;
  color: #999;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 6px;
}

.ctk-step.active .ctk-step-label {
  color: #ff5200;
  font-weight: 700;
}

/* ── Form container ── */
.ctk-form-container {
  padding: 20px;
}

@media (min-width: 768px) {
  .ctk-form-container { padding: 0; }
}

/* ── Form card ── */
.ctk-form-card {
  background: white;
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

@media (min-width: 768px) {
  .ctk-form-card {
    box-shadow: none;
    padding: 0;
    border: none;
  }
}

/* ── Label & Input ── */
.ctk-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: #444;
  margin-bottom: 8px;
  display: block;
}

.ctk-input {
  border: 1.5px solid #eee;
  border-radius: 12px;
  padding: 12px 15px;
  font-size: 0.95rem;
  background: #fdfdfd;
  width: 100%;
  font-family: inherit;
  transition: 0.2s;
  resize: vertical;
}

.ctk-input:focus {
  border-color: #ff5200;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(255, 82, 0, 0.1);
  outline: none;
}

.ctk-input:disabled { background: #f5f5f5; color: #aaa; }

/* ── Logo Upload ── */
.ctk-upload-box {
  width: 120px;
  height: 120px;
  border: 2px dashed #ddd;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  background: #fafafa;
  color: #999;
  margin: 0 auto;
  transition: 0.2s;
}

.ctk-upload-box:hover {
  border-color: #ff5200;
  color: #ff5200;
  background: #fffaf7;
}

.ctk-upload-content { position: relative; z-index: 1; text-align: center; }

.ctk-preview-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0; left: 0;
}

/* ── Bank icon ── */
.ctk-bank-icon-wrap {
  width: 70px;
  height: 70px;
  background: #f5f5f5;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

/* ── Terms checkbox ── */
.ctk-terms-box {
  background: #f9f9f9;
  border: 1px solid #eee;
  border-radius: 12px;
  padding: 14px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

/* ── Buttons mobile fixed ── */
.ctk-btn-mobile {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: white;
  padding: 14px 20px;
  border-top: 1px solid #eee;
  display: flex;
  gap: 10px;
  z-index: 100;
}

/* ── Buttons desktop ── */
.ctk-btn-desktop {
  display: flex;
  justify-content: flex-end;
  gap: 15px;
  padding-top: 30px;
  margin-top: 10px;
  border-top: 1px solid #f0f0f0;
}

.ctk-btn-next {
  background: #ff5200;
  color: white;
  border: none;
  padding: 12px 25px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.95rem;
  flex: 1;
  cursor: pointer;
  transition: 0.2s;
  box-shadow: 0 4px 12px rgba(255, 82, 0, 0.2);
}

.ctk-btn-next:hover { background: #e64a00; transform: translateY(-1px); }

.ctk-btn-back {
  background: #f5f5f5;
  color: #666;
  border: 1px solid #ddd;
  padding: 12px 20px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: 0.2s;
}

.ctk-btn-back:hover { background: #eee; }

@media (min-width: 768px) {
  .ctk-btn-next { flex: none; width: 180px; }
  .ctk-btn-back { flex: none; width: 140px; }
}

/* ── Success page ── */
.tks-page {
  background: #f5f5f5;
  min-height: 100vh;
}

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

.tks-card {
  background: white;
  width: 100%;
  max-width: 500px;
  padding: 50px 32px;
  border-radius: 24px;
  text-align: center;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
  animation: tks-fadeUp 0.8s ease-out both;
}

@media (min-width: 992px) {
  .tks-card {
    padding: 60px;
    border: 1px solid #eee;
  }
}

@keyframes tks-fadeUp {
  from { opacity: 0; transform: translateY(40px); }
  to   { opacity: 1; transform: translateY(0); }
}

.tks-brand {
  font-weight: 800;
  color: #ff5200;
  font-size: 1.2rem;
  margin-bottom: 28px;
  letter-spacing: 1px;
}

.tks-icon-circle {
  width: 130px;
  height: 130px;
  background: #f0fff4;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  border: 2px solid #e6ffed;
}

.tks-icon-circle i {
  font-size: 70px;
  color: #28a745;
}

.tks-title {
  font-weight: 800;
  font-size: 1.8rem;
  color: #333;
  margin-bottom: 12px;
}

.tks-text {
  font-size: 1rem;
  color: #666;
  line-height: 1.6;
  margin-bottom: 36px;
}

.tks-actions {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.tks-btn-dashboard {
  background: #ff5200;
  color: white;
  border: none;
  padding: 16px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 1rem;
  box-shadow: 0 8px 20px rgba(255, 82, 0, 0.25);
  cursor: pointer;
  transition: 0.3s;
  width: 100%;
}

.tks-btn-dashboard:hover {
  background: #e64a00;
  transform: translateY(-2px);
  box-shadow: 0 12px 25px rgba(255, 82, 0, 0.35);
}

.tks-btn-outline {
  background: none;
  border: none;
  color: #888;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: 0.2s;
}

.tks-btn-outline:hover { color: #ff5200; }
