/* Join Partner Page Styles */
.join-partner-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  font-family: "Nunito", sans-serif;
}

.join-partner-header {
  text-align: center;
  margin-bottom: 40px;
  padding: 60px 40px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 20px;
  color: white;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

.join-partner-header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 100" fill="rgba(255,255,255,0.1)"><polygon points="1000,100 1000,0 0,100"/></svg>');
  background-size: cover;
}

.join-partner-header h1 {
  font-size: 2.5rem;
  margin-bottom: 15px;
  position: relative;
  z-index: 2;
  font-weight: 800;
}

.join-partner-header p {
  font-size: 1.2rem;
  opacity: 0.9;
  position: relative;
  z-index: 2;
  font-weight: 500;
}

.partner-types-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  margin-bottom: 40px;
}

.partner-type-card {
  background: white;
  border-radius: 15px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  border: 2px solid transparent;
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.partner-type-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #667eea, #764ba2);
}

.partner-type-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
  border-color: #667eea;
}

.partner-type-card.selected {
  border-color: #667eea;
  background: linear-gradient(135deg, #f8f9ff 0%, #f0f2ff 100%);
  transform: translateY(-3px);
}

.partner-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #667eea, #764ba2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: white;
  font-size: 2rem;
  box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

.partner-type-card h3 {
  margin-bottom: 10px;
  color: #2d3748;
  font-size: 1.4rem;
  font-weight: 700;
}

.partner-type-card p {
  color: #718096;
  line-height: 1.5;
  font-size: 0.95rem;
}

.partner-form-section {
  background: white;
  border-radius: 15px;
  padding: 40px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  margin-bottom: 30px;
}

.partner-form-section h2 {
  margin-bottom: 30px;
  color: #2d3748;
  font-size: 1.8rem;
  text-align: center;
  font-weight: 700;
}

.partner-form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: #2d3748;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border: 2px solid #e2e8f0;
  border-radius: 8px;
  font-family: "Nunito", sans-serif;
  font-size: 14px;
  transition: all 0.3s ease;
  background: white;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #667eea;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.form-section-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin: 30px 0 15px;
  padding-bottom: 10px;
  border-bottom: 2px solid #e2e8f0;
  color: #2d3748;
}

.required-field::after {
  content: " *";
  color: #e53e3e;
}

.geolocation-section {
  background: #f7fafc;
  padding: 25px;
  border-radius: 10px;
  margin: 20px 0;
  border: 1px solid #e2e8f0;
}

.location-status {
  font-size: 0.9rem;
  margin-left: 10px;
  color: #718096;
}

.map-container {
  height: 300px;
  border-radius: 10px;
  overflow: hidden;
  margin: 15px 0;
  border: 2px solid #e2e8f0;
  background: #f8f9fa;
}

.address-map {
  width: 100%;
  height: 100%;
}

.map-actions {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}

.btn {
  padding: 10px 20px;
  border-radius: 8px;
  border: none;
  font-family: "Nunito", sans-serif;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-outline {
  border: 2px solid #667eea;
  color: #667eea;
  background: transparent;
}

.btn-outline:hover {
  background: #667eea;
  color: white;
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.9rem;
}

.upload-section {
  border: 2px dashed #cbd5e0;
  border-radius: 10px;
  padding: 40px;
  text-align: center;
  margin: 20px 0;
  transition: all 0.3s ease;
  cursor: pointer;
  background: #fafbfc;
}

.upload-section:hover {
  border-color: #667eea;
  background: #f7fafc;
}

.upload-icon {
  font-size: 3rem;
  color: #a0aec0;
  margin-bottom: 15px;
}

.file-input {
  display: none;
}

.file-preview {
  margin-top: 15px;
}

.file-preview img {
  max-width: 200px;
  max-height: 200px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.file-info {
  text-align: center;
  padding: 15px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: white;
}

.file-info i {
  margin-bottom: 10px;
}

.submit-section {
  text-align: center;
  margin-top: 40px;
  padding-top: 30px;
  border-top: 2px solid #e2e8f0;
}

.btn-submit-partner {
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: white;
  padding: 16px 45px;
  font-size: 1.1rem;
  font-weight: 700;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

.btn-submit-partner:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.btn-submit-partner:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.form-note {
  margin-top: 15px;
  color: #718096;
  font-size: 0.9rem;
}

.char-count {
  display: block;
  margin-top: 5px;
  color: #718096;
  font-size: 0.8rem;
}

/* Navigation Styles */
.profile-nav {
  background: white;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
  padding: 15px 0;
  margin-bottom: 30px;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: #667eea;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 15px;
}

.welcome-text {
  color: #4a5568;
  font-weight: 600;
}

/* Responsive Design */
@media (max-width: 768px) {
  .join-partner-header {
    padding: 40px 20px;
    margin-bottom: 30px;
  }

  .join-partner-header h1 {
    font-size: 2rem;
  }

  .partner-types-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .partner-form-section {
    padding: 25px 20px;
  }

  .partner-form-grid {
    grid-template-columns: 1fr;
  }

  .nav-container {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }

  .nav-actions {
    flex-direction: column;
    gap: 10px;
  }

  .upload-section {
    padding: 30px 20px;
  }

  .geolocation-section {
    padding: 20px 15px;
  }
}

/* Loading States */
.loading {
  opacity: 0.6;
  pointer-events: none;
}

/* Success States */
.success-message {
  background: #c6f6d5;
  color: #22543d;
  padding: 15px;
  border-radius: 8px;
  margin: 10px 0;
  border-left: 4px solid #38a169;
}

/* Error States */
.error-message {
  background: #fed7d7;
  color: #742a2a;
  padding: 15px;
  border-radius: 8px;
  margin: 10px 0;
  border-left: 4px solid #e53e3e;
}
