/* ===============================================
   APPLY PAGE - PREMIUM FORM STYLING
   Matching Contact Page Layout Pattern
   =============================================== */

/* ===============================================
   MAIN LAYOUT - Match Contact Page
   =============================================== */

.page-apply .apply-form-container {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: var(--space-xl);
  align-items: start;
  max-width: var(--container-max);
  margin: 0 auto;
}

/* ===============================================
   APPLY INTRO SIDEBAR - Like Contact Card
   =============================================== */

.page-apply .apply-intro {
  position: sticky;
  top: calc(var(--nav-height) + var(--space-md));
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 50%, var(--blue-accent) 100%);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(10, 38, 71, 0.3);
  color: white;
}

.page-apply .apply-intro h2 {
  font-size: var(--text-2xl);
  font-weight: 800;
  color: white;
  margin-bottom: var(--space-sm);
  padding: var(--space-xl) var(--space-xl) 0;
  font-family: var(--font-display);
}

.page-apply .apply-intro > p {
  padding: 0 var(--space-xl);
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.7;
  margin-bottom: var(--space-md);
}

.page-apply .apply-intro .apply-note {
  padding: 0 var(--space-xl);
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: var(--space-lg);
}

.page-apply .apply-intro .apply-disclaimer {
  padding: var(--space-lg) var(--space-xl);
  font-size: 11px;
  color: rgba(255, 255, 255, 0.6);
  background: rgba(0, 0, 0, 0.2);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin: 0;
  line-height: 1.6;
}

.page-apply .apply-intro .apply-disclaimer strong {
  color: var(--gold);
}

/* Mini Steps in Sidebar */
.apply-steps-mini {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  padding: 0 var(--space-xl) var(--space-md);
}

.step-mini {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.9);
}

.step-mini .step-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background: var(--gold);
  color: var(--navy);
  font-size: 12px;
  font-weight: 700;
  border-radius: 50%;
  flex-shrink: 0;
}

/* ===============================================
   APPLY FORM CARD - Like Contact Form Card
   =============================================== */

.page-apply .apply-form {
  background: white;
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  border: 1px solid #e5e7eb;
}

/* ===============================================
   WIZARD STEP CONTENT
   =============================================== */

.wizard-step {
  display: none;
  animation: fadeIn 0.3s ease;
}

.wizard-step.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.wizard-step h3 {
  font-size: 24px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
  font-family: var(--font-display);
  letter-spacing: -0.01em;
}

.wizard-step .step-description {
  color: #6b7280;
  margin-bottom: 24px;
  font-size: 14px;
  line-height: 1.5;
}

/* ===============================================
   FORM ROWS & GROUPS - Match Contact Page
   =============================================== */

.wizard-step .form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 20px;
}

.wizard-step .form-group {
  display: flex;
  flex-direction: column;
}

.wizard-step .form-group.full-width {
  grid-column: 1 / -1;
  margin-bottom: 8px;
}

/* Labels - Premium Styling */
.wizard-step .form-group > label,
.wizard-step > label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: 0.01em;
}

/* Standalone labels (not in form-group) */
.wizard-step > label {
  margin-top: var(--space-lg);
}

.wizard-step > label:first-of-type {
  margin-top: 0;
}

/* Inputs - Premium Styling */
.wizard-step input[type="text"],
.wizard-step input[type="email"],
.wizard-step input[type="tel"],
.wizard-step input[type="number"],
.wizard-step input[type="password"],
.wizard-step input[type="date"],
.wizard-step select,
.wizard-step textarea {
  display: block;
  width: 100%;
  padding: 16px 18px;
  height: 56px;
  border: 2px solid #e5e7eb;
  border-radius: 10px;
  font-size: 15px;
  font-family: var(--font-body);
  background: #fafafa;
  color: var(--text-body);
  transition: all 0.2s ease;
  margin-top: 6px;
}

.wizard-step textarea {
  height: auto;
  min-height: 120px;
  resize: vertical;
  line-height: 1.6;
}

.wizard-step input:hover,
.wizard-step select:hover,
.wizard-step textarea:hover {
  border-color: #d1d5db;
  background: white;
}

.wizard-step input:focus,
.wizard-step select:focus,
.wizard-step textarea:focus {
  outline: none;
  border-color: var(--navy);
  background: white;
  box-shadow: 0 0 0 4px rgba(0, 43, 73, 0.08);
}

.wizard-step input::placeholder,
.wizard-step textarea::placeholder {
  color: #9ca3af;
}

.wizard-step select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 44px;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

/* Error states */
.wizard-step input.field-error,
.wizard-step select.field-error {
  border-color: #dc2626;
  background: #fef2f2;
}

/* ===============================================
   DAILY PULLS CONDITIONAL SECTION
   =============================================== */

.daily-pulls-details {
  margin-top: var(--space-md);
  padding: var(--space-lg);
  background: var(--blue-light);
  border-radius: var(--radius);
  border-left: 4px solid var(--blue-accent);
}

.daily-pulls-details label {
  margin-top: var(--space-md);
}

.daily-pulls-details label:first-child {
  margin-top: 0;
}

/* ===============================================
   WIZARD NAVIGATION - Matching Button System
   =============================================== */

.wizard-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid #e5e7eb;
  gap: 16px;
}

.wizard-nav .btn {
  min-width: 160px;
  height: 52px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 10px;
  transition: all 0.2s ease;
}

.wizard-nav .wizard-back {
  background: white;
  color: var(--navy);
  border: 2px solid #e5e7eb;
  margin-right: auto;
}

.wizard-nav .wizard-back:hover {
  border-color: var(--navy);
  background: #f9fafb;
}

.wizard-nav .wizard-next,
.wizard-nav .wizard-finish {
  background: var(--navy);
  color: white;
  border: none;
  margin-left: auto;
}

.wizard-nav .wizard-next:hover,
.wizard-nav .wizard-finish:hover {
  background: var(--navy-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(10, 38, 71, 0.3);
}

/* ===============================================
   TERMS AGREEMENT SECTION - Premium Styling
   =============================================== */

.terms-agreement-section {
  margin-top: var(--space-lg);
  padding: var(--space-lg);
  background: var(--bg-section-alt);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}

.terms-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-md);
}

.terms-title {
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--navy);
}

.scroll-indicator {
  font-size: 18px;
  color: var(--blue-accent);
  animation: bounce 1.5s infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(4px); }
}

.terms-consent {
  margin-top: var(--space-lg);
}

.terms-checkbox {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  padding: var(--space-md);
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.2s ease;
  margin-bottom: var(--space-sm);
}

.terms-checkbox:last-of-type {
  margin-bottom: 0;
}

.terms-checkbox:hover {
  border-color: var(--blue-accent);
}

.terms-checkbox.disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.terms-checkbox input[type="checkbox"] {
  width: 20px;
  height: 20px;
  accent-color: var(--blue-accent);
  flex-shrink: 0;
  margin: 0;
}

.terms-checkbox span {
  font-size: var(--text-sm);
  line-height: 1.5;
  color: var(--text-body);
}

.terms-checkbox span a {
  color: var(--blue-accent);
  text-decoration: underline;
}

/* E-Signature Section */
.esign-section {
  margin-top: var(--space-lg);
  padding-top: var(--space-lg);
  border-top: 1px solid var(--border);
}

.esign-row {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: var(--space-md);
}

.esign-field label {
  display: block;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text-heading);
  margin-bottom: var(--space-xs);
}

.esign-field input {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: var(--text-base);
  background: white;
}

.esign-field input:focus {
  outline: none;
  border-color: var(--blue-accent);
  box-shadow: 0 0 0 4px rgba(44, 116, 179, 0.1);
}

.esign-field input[readonly] {
  background: var(--bg-section-alt);
  color: var(--text-muted);
}

/* Terms Links */
.terms-links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  margin-top: var(--space-lg);
  padding-top: var(--space-md);
  border-top: 1px solid var(--border);
}

.terms-links a {
  font-size: var(--text-sm);
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.terms-links a:hover {
  color: var(--blue-accent);
}

/* ===============================================
   PREVIEW CARDS - Assessment Results
   =============================================== */

.preview-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}

.preview-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  transition: all 0.3s ease;
  min-height: 120px;
}

.preview-card:hover {
  border-color: var(--blue-accent);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  transform: translateY(-2px);
}

.preview-card-highlight {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  border-color: transparent;
  color: white;
}

.preview-card-highlight .preview-card-note {
  color: rgba(255, 255, 255, 0.7);
}

.preview-card-icon {
  font-size: 28px;
  flex-shrink: 0;
}

.preview-card-content h4 {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: var(--space-xs);
}

.preview-card-highlight .preview-card-content h4 {
  color: rgba(255, 255, 255, 0.8);
}

.preview-card-value {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.2;
}

.preview-card-highlight .preview-card-value {
  color: white;
}

.preview-card-note {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: var(--space-xs);
  line-height: 1.5;
}

/* Recommendation Box */
.preview-recommendation {
  margin-top: var(--space-lg);
}

.recommendation-box {
  display: flex;
  gap: var(--space-md);
  padding: var(--space-lg);
  border-radius: var(--radius-lg);
  background: var(--bg-section-alt);
  border: 1px solid var(--border);
}

.recommendation-icon {
  font-size: 32px;
  flex-shrink: 0;
}

.recommendation-content h4 {
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: var(--space-xs);
}

.recommendation-content p {
  font-size: var(--text-sm);
  color: var(--text-body);
  margin: 0;
  line-height: 1.6;
}

/* ===============================================
   SUCCESS PAGE
   =============================================== */

.apply-success {
  text-align: center;
  padding: var(--space-2xl) var(--space-lg);
  max-width: 700px;
  margin: 0 auto;
}

.success-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue-accent) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-lg);
  font-size: 36px;
  color: white;
}

.apply-success h2 {
  font-family: var(--font-display);
  font-size: clamp(24px, 4vw, 32px);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: var(--space-sm);
}

.apply-success .success-subtitle {
  font-size: var(--text-lg);
  color: var(--text-body);
  margin-bottom: var(--space-lg);
}

.success-actions {
  display: flex;
  gap: var(--space-md);
  justify-content: center;
  margin-top: var(--space-xl);
}

/* ===============================================
   FILE UPLOAD STYLING
   =============================================== */

.upload-notice {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-md);
  background: var(--blue-light);
  border-radius: var(--radius);
  margin-bottom: var(--space-lg);
  font-size: var(--text-sm);
  color: var(--navy);
}

.upload-notice svg {
  flex-shrink: 0;
  stroke: var(--blue-accent);
}

.file-upload-wrapper {
  position: relative;
  margin-top: var(--space-xs);
}

.file-upload-wrapper input[type="file"] {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
  z-index: 2;
}

.file-upload-display {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: var(--space-xl) var(--space-lg);
  border: 2px dashed var(--border);
  border-radius: var(--radius-lg);
  background: var(--bg-section-alt);
  transition: all 0.2s ease;
  text-align: center;
}

.file-upload-wrapper:hover .file-upload-display,
.file-upload-wrapper input[type="file"]:focus + .file-upload-display {
  border-color: var(--blue-accent);
  background: var(--blue-light);
}

.file-upload-display svg {
  stroke: var(--text-muted);
}

.file-upload-text {
  font-size: var(--text-sm);
  color: var(--text-muted);
}

.file-upload-display .file-names {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--navy);
  word-break: break-all;
}

.file-upload-display.has-files {
  border-color: var(--blue-accent);
  background: var(--blue-light);
}

.file-upload-display.has-files svg {
  stroke: var(--blue-accent);
}

.field-hint {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: var(--space-xs);
}

.document-security-note {
  display: flex;
  gap: var(--space-md);
  padding: var(--space-lg);
  background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 100%);
  border-radius: var(--radius-lg);
  border: 1px solid #bbf7d0;
  margin-top: var(--space-lg);
}

.document-security-note svg {
  flex-shrink: 0;
  margin-top: 2px;
}

.document-security-note strong {
  display: block;
  color: var(--navy);
  margin-bottom: var(--space-xs);
  font-size: var(--text-sm);
}

.document-security-note p {
  font-size: 12px;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.5;
}

/* ===============================================
   SPINNER
   =============================================== */

.spinner {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: white;
  animation: spin 0.8s linear infinite;
  margin-right: var(--space-xs);
}

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

/* ===============================================
   MOBILE RESPONSIVE
   =============================================== */

@media (max-width: 1024px) {
  .page-apply .apply-form-container {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }
  
  .page-apply .apply-intro {
    position: static;
    order: -1;
  }
  
  .page-apply .apply-intro h2 {
    padding-top: var(--space-lg);
  }
}

@media (max-width: 768px) {
  .page-apply .apply-form {
    padding: 20px;
    border-radius: 16px;
  }
  
  .wizard-step h3 {
    font-size: 1.35rem !important;
    margin-bottom: 4px !important;
  }
  
  .wizard-step .step-description {
    font-size: 0.9rem !important;
    margin-bottom: 20px !important;
  }
  
  .wizard-step .form-row {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-bottom: 12px;
  }
  
  .wizard-step .form-group > label {
    font-size: 0.85rem !important;
  }
  
  .wizard-step input,
  .wizard-step select,
  .wizard-step textarea {
    height: 48px !important;
    padding: 12px 14px !important;
    font-size: 0.95rem !important;
    border-radius: 8px !important;
  }
  
  .wizard-step textarea {
    height: auto !important;
    min-height: 100px !important;
  }
  
  .section-header {
    margin: 24px 0 16px !important;
    padding-bottom: 12px !important;
    gap: 10px !important;
  }
  
  .section-header .section-icon {
    width: 32px !important;
    height: 32px !important;
    border-radius: 8px !important;
  }
  
  .section-header .section-icon svg {
    width: 16px !important;
    height: 16px !important;
  }
  
  .section-header h4 {
    font-size: 0.95rem !important;
  }
  
  .esign-row {
    grid-template-columns: 1fr;
  }
  
  .preview-cards {
    grid-template-columns: 1fr;
  }
  
  .wizard-nav {
    flex-direction: column;
    margin-top: 24px !important;
    padding-top: 20px !important;
    gap: 10px !important;
  }
  
  .wizard-nav .btn {
    width: 100%;
    height: 48px !important;
    font-size: 0.95rem !important;
  }
  
  .wizard-nav .wizard-back,
  .wizard-nav .wizard-next,
  .wizard-nav .wizard-finish {
    margin: 0;
  }
  
  .success-actions {
    flex-direction: column;
  }
  
  .step-progress {
    margin-bottom: 20px !important;
  }
}

@media (max-width: 480px) {
  .page-apply .apply-form {
    padding: 16px;
  }
  
  .page-apply .apply-intro h2 {
    font-size: 1.15rem !important;
    padding: 16px 16px 0 !important;
  }
  
  .page-apply .apply-intro > p,
  .page-apply .apply-intro .apply-note {
    padding: 0 16px !important;
    font-size: 0.9rem !important;
  }
  
  .page-apply .apply-intro .apply-disclaimer {
    padding: 12px 16px !important;
    font-size: 0.7rem !important;
  }
  
  .terms-agreement-section {
    padding: 16px;
  }
  
  .terms-links {
    flex-direction: column;
    gap: 8px;
  }
  
  .wizard-step h3 {
    font-size: 1.2rem !important;
  }
}

/* ===============================================
   SECTION HEADERS - Clean Step Organization
   =============================================== */

.section-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 40px 0 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid #e5e7eb;
}

.section-header:first-child {
  margin-top: 0;
}

.section-header .section-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  box-shadow: 0 4px 12px rgba(10, 38, 71, 0.25);
}

.section-header .section-icon svg {
  stroke: white;
  width: 20px;
  height: 20px;
}

.section-header h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
  margin: 0;
  letter-spacing: -0.01em;
}

/* ===============================================
   FORM GROUP ENHANCEMENTS
   =============================================== */

.form-group-inline {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.form-group-inline label {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  cursor: pointer;
  font-size: var(--text-sm);
}

.form-group-inline input[type="radio"],
.form-group-inline input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--blue-accent);
}

/* Three column layout for smaller fields */
.form-row-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  margin-bottom: var(--space-md);
}

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

/* Account creation section */
.account-creation-box {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  border-radius: 16px;
  padding: 28px;
  margin-bottom: 32px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.account-creation-box h4 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 700;
  color: white;
  margin-bottom: 6px;
}

.account-creation-box > p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 24px;
  line-height: 1.5;
}

.account-creation-box .form-group label {
  color: rgba(255, 255, 255, 0.95);
  font-size: 13px;
}

.account-creation-box input {
  background: white;
  border-color: transparent;
}

.account-creation-box input:focus {
  border-color: var(--blue-accent);
  box-shadow: 0 0 0 4px rgba(44, 116, 179, 0.2);
}

/* Conditional sections styling */
.conditional-section {
  margin-top: var(--space-md);
  padding: var(--space-lg);
  background: var(--bg-section-alt);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

/* Progress indicator styling - Clean bar */
.step-progress {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: var(--space-xl);
  padding: 0;
}

.step-dot {
  flex: 1;
  height: 4px;
  border-radius: 2px;
  background: var(--border);
  transition: all 0.3s ease;
  border: none;
  font-size: 0;
  color: transparent;
  overflow: hidden;
}

.step-dot.active {
  background: var(--blue-accent);
  transform: none;
  box-shadow: none;
}

.step-dot.completed {
  background: var(--gold);
}

/* Owner section repeatable */
.owner-section {
  background: white;
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  margin-bottom: var(--space-lg);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.owner-section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-md);
}

.owner-section-header h5 {
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--navy);
  margin: 0;
}

.btn-remove-owner {
  background: none;
  border: none;
  color: #dc2626;
  font-size: var(--text-sm);
  cursor: pointer;
  padding: var(--space-xs) var(--space-sm);
}

.btn-remove-owner:hover {
  text-decoration: underline;
}

.btn-add-owner {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  background: var(--blue-light);
  color: var(--blue-accent);
  border: 1px dashed var(--blue-accent);
  border-radius: var(--radius);
  padding: var(--space-md);
  width: 100%;
  justify-content: center;
  cursor: pointer;
  font-size: var(--text-sm);
  font-weight: 600;
  transition: all 0.2s ease;
}

.btn-add-owner:hover {
  background: var(--blue-accent);
  color: white;
  border-style: solid;
}

/* ===============================================
   PLAID/STRIPE CONNECT CARDS
   =============================================== */

.connect-section {
  margin-bottom: 0;
}

.connect-card {
  background: white;
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  transition: all 0.2s ease;
}

.connect-card:hover {
  border-color: var(--blue-accent);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.connect-card-content {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.connect-card-icon {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  background: var(--bg-section-alt);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
}

.connect-card-info {
  flex: 1;
}

.connect-card-info strong {
  display: block;
  font-size: var(--text-base);
  color: var(--navy);
  margin-bottom: 4px;
}

.connect-card-info p {
  font-size: var(--text-sm);
  color: var(--text-muted);
  margin: 0;
  line-height: 1.5;
}

.connect-btn {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  font-size: var(--text-sm);
  font-weight: 600;
  border-radius: var(--radius);
  white-space: nowrap;
}

.connect-status {
  margin-top: var(--space-md);
  padding: var(--space-md);
  background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 100%);
  border-radius: var(--radius);
  border: 1px solid #bbf7d0;
  display: none;
}

.connect-status.connected {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  color: #166534;
  font-size: var(--text-sm);
  font-weight: 600;
}

.upload-section {
  margin-top: var(--space-xl);
}

@media (max-width: 768px) {
  .connect-card-content {
    flex-direction: column;
    text-align: center;
  }
  
  .connect-btn {
    width: 100%;
    justify-content: center;
  }
}