/* =============================================================================
   APPLICANT PORTAL PAGE STYLES
   Black Elm Coffee Admin Dashboard
   ============================================================================= */

/* Layout Standards */
.main-content {
  padding-top: 1rem;
  margin-left: 250px;
  padding-left: 2rem;
  padding-right: 2rem;
}

.dashboard-header {
  margin-bottom: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.page-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* Applicant Portal Specific */
.portal-welcome {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2rem;
  margin-bottom: 2rem;
  text-align: center;
}

.welcome-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 1rem;
}

.welcome-description {
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.application-form {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2rem;
}

.form-section {
  margin-bottom: 2rem;
}

.section-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
}

/* Application Status */
.status-tracker {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 2rem;
}

.status-steps {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

.status-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  position: relative;
}

.step-number {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--border);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.step-number.active {
  background: var(--primary);
  color: white;
}

.step-number.completed {
  background: #10b981;
  color: white;
}

.step-label {
  font-size: 0.875rem;
  color: var(--text);
  text-align: center;
  font-weight: 500;
}

.step-connector {
  position: absolute;
  top: 20px;
  left: 50%;
  right: -50%;
  height: 2px;
  background: var(--border);
  z-index: -1;
}

.step-connector.completed {
  background: #10b981;
}

/* File Upload */
.file-upload-area {
  border: 2px dashed var(--border);
  border-radius: 8px;
  padding: 2rem;
  text-align: center;
  transition: all 0.2s ease;
  cursor: pointer;
}

.file-upload-area:hover {
  border-color: var(--primary);
  background: rgba(59, 130, 246, 0.05);
}

.file-upload-area.dragover {
  border-color: var(--primary);
  background: rgba(59, 130, 246, 0.1);
}

.upload-icon {
  font-size: 3rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.upload-text {
  color: var(--text);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.upload-subtext {
  color: var(--text-muted);
  font-size: 0.875rem;
}

.uploaded-files {
  margin-top: 1rem;
}

.uploaded-file {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem;
  background: var(--background);
  border: 1px solid var(--border);
  border-radius: 6px;
  margin-bottom: 0.5rem;
}

.file-info {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.file-icon {
  color: var(--primary);
}

.file-name {
  color: var(--text);
  font-weight: 500;
}

.file-size {
  color: var(--text-muted);
  font-size: 0.875rem;
}

.file-remove {
  background: none;
  border: none;
  color: #ef4444;
  cursor: pointer;
  padding: 0.25rem;
}

/* Application Preview */
.application-preview {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem;
  margin-top: 2rem;
}

.preview-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 1rem;
}

.preview-section {
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}

.preview-section:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.preview-label {
  font-weight: 600;
  color: var(--text-muted);
  font-size: 0.875rem;
  margin-bottom: 0.25rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.preview-value {
  color: var(--text);
  margin-bottom: 0.75rem;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .main-content {
    margin-left: 0;
    padding-left: 1rem;
    padding-right: 1rem;
  }
  
  .dashboard-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
  
  .form-grid {
    grid-template-columns: 1fr;
  }
  
  .status-steps {
    flex-direction: column;
    gap: 1rem;
  }
  
  .step-connector {
    display: none;
  }
  
  .portal-welcome,
  .application-form {
    padding: 1.5rem;
  }
} 