/**
 * Partner Pages Stylings (Driver, Vendor, Fleet)
 * Drop Cars – Premium intercity taxi
 */

.partner-page {
  padding: var(--section-y-lg, 2.25rem) 0;
}

.partner-hero {
  max-width: 800px;
  margin-bottom: 2rem;
}

.partner-hero h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: 1rem;
}

.partner-hero p {
  font-size: 1.15rem;
  color: #64748b;
  line-height: 1.6;
}

.partner-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 2rem;
  align-items: start;
}

.partner-form-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 1.75rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
}

.partner-info-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
}

.download-app-card {
  background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 100%);
  color: #ffffff;
  border-radius: 20px;
  padding: 1.5rem;
  box-shadow: 0 20px 25px -5px rgba(30, 58, 138, 0.2);
}

.download-app-card h3 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
  color: #ffffff;
}

.download-app-card p {
  font-size: 0.95rem;
  opacity: 0.9;
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

.download-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.btn-playstore {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  background: #000000;
  color: #ffffff;
  padding: 0.8rem 1.5rem;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  transition: transform 0.2s ease;
  border: 1px solid rgba(255,255,255,0.1);
}

.btn-playstore:hover {
  transform: translateY(-2px);
  background: #111111;
}

.btn-apk-download {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  padding: 0.8rem 1.5rem;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.2s ease;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-apk-download:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.benefit-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.benefit-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.benefit-icon {
  width: 40px;
  height: 40px;
  background: #f1f5f9;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #2563eb;
}

.benefit-content {
  flex: 1;
  min-width: 0;
}

.benefit-content h4 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
  color: #1e293b;
}

.benefit-content p {
  font-size: 0.9rem;
  color: #64748b;
  margin: 0;
}


@media (max-width: 992px) {
  .partner-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .partner-info-sidebar {
    order: -1;
  }
}

@media (max-width: 640px) {
  .partner-form-card {
    padding: 1.5rem;
  }
  
  .partner-hero {
    margin-bottom: 2rem;
  }
}

/* ── Partner Registration Form Styles ── */
.partner-form-card {
  margin-top: 2rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-field label {
  font-size: 0.9rem;
  font-weight: 600;
  color: #1e293b;
}

.form-field input,
.form-field select,
.form-field textarea {
  padding: 0.75rem;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
  background: #ffffff;
  color: #0f172a;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: #3b82f6;
  outline: none;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.form-submit {
  margin-top: 1.5rem;
}

.btn-submit {
  width: 100%;
  background: #1e3a8a;
  color: #ffffff;
  padding: 1rem;
  border: none;
  border-radius: 10px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}

.btn-submit:hover {
  background: #1e40af;
}

.partner-response {
  margin-top: 1.5rem;
  padding: 1rem;
  border-radius: 8px;
  font-size: 0.95rem;
  display: none;
}

.partner-response--success {
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #d1fae5;
}

.partner-response--error {
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fee2e2;
}

@media (max-width: 640px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

