/* OctoThink France — Clean Theme */
html, body, main {
  margin: 0;
  padding: 0;
}

body {
  min-height: 100vh;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: #111;
}

.theme-bg {
  background: linear-gradient(150deg, #4f46e5 -30%, #f8fafc 50%, #4f46e5 150%) !important;
  min-height: 100vh;
}

/* Logo */
.logo-container {
  max-width: 140px;
  margin: 15px auto;
}

.logo-img {
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  transition: transform 0.3s ease;
}

.logo-img:hover {
  transform: scale(1.05);
}

/* Service description */
.cptpl_service {
  font-size: 15px;
  font-weight: 500;
  margin-bottom: 12px;
  color: #374151;
}

/* Card */
.modern-card {
  position: relative;
  padding: 24px 32px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
  width: 100%;
  margin: auto;
  border: 1px solid rgba(0, 0, 0, 0.06);
}

/* Form */
.text-lg {
  font-size: 18px;
  font-weight: 600;
  color: #111;
}

.input-group {
  border-radius: 2rem;
}

.input-group span {
  background: linear-gradient(135deg, #4f46e5 0%, #6366f1 100%);
  display: inline-block;
  min-width: 72px;
  line-height: 52px;
  height: 52px;
  font-weight: 600;
  color: #fff;
  font-size: 16px;
  text-align: center;
  border-radius: 50px 0 0 50px;
}

.form-control {
  border: 1px solid #d1d5db;
  border-radius: 0 30px 30px 0;
  padding: 10px 20px;
  font-size: 17px;
  height: 52px;
  color: #111;
  transition: all 0.2s ease;
}

.form-control:focus {
  border-color: #6366f1;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
  outline: none;
}

.form-control::placeholder {
  color: #9ca3af;
}

/* Button */
.theme-btn {
  background: linear-gradient(135deg, #4f46e5 0%, #6366f1 50%, #4f46e5 100%);
  background-size: 200% auto;
  color: #fff !important;
  text-decoration: none;
  font-size: 18px;
  font-weight: 700;
  padding: 12px 20px;
  border: none;
  border-radius: 30px;
  box-shadow: 0 4px 15px rgba(79, 70, 229, 0.35);
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.theme-btn:hover {
  background-position: right center;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(79, 70, 229, 0.45);
  color: #fff !important;
}

.theme-btn:active {
  transform: translateY(0);
}

.pulse {
  animation: pulse 2s infinite ease-in-out;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.02); }
}

/* WiFi link */
.wifi-link {
  color: #6366f1;
  font-size: 13px;
  text-decoration: none;
  transition: color 0.2s;
}

.wifi-link:hover {
  color: #4f46e5;
  text-decoration: underline;
}

/* Legal */
.legal-text p {
  font-size: 11px;
  color: #6b7280;
  margin-bottom: 4px;
  line-height: 1.5;
}

.legal-text a {
  color: #6366f1;
  text-decoration: underline;
}

/* Alert */
.alert-danger {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
  border-radius: 12px;
  font-size: 14px;
}

/* Spinner */
.spinner {
  width: 24px;
  height: 24px;
  border: 3px solid #e5e7eb;
  border-top: 3px solid #4f46e5;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  display: inline-block;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Responsive */
@media (max-width: 767px) {
  .theme-bg {
    background: linear-gradient(150deg, #4338ca -10%, #f8fafc 50%, #4338ca 130%) !important;
  }

  .modern-card {
    padding: 20px;
  }

  .logo-container {
    max-width: 100px;
    margin: 10px auto;
  }

  .cptpl_service {
    font-size: 14px;
  }

  .theme-btn {
    font-size: 16px;
    padding: 10px 16px;
  }

  input[type="tel"] {
    font-size: 16px !important; /* prevent iOS zoom */
  }
}
