/* ============================================
   COMMON / RESET STYLES
   ============================================ */

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scrollbar-width: none;
  -ms-overflow-style: none;
}

html::-webkit-scrollbar {
  display: none;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background-color: #f0f2f5;
  color: #1c1e21;
  min-height: 100vh;
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  padding: 3rem 1.5rem 2.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(251,185,0,0.15) 0%, transparent 70%);
  border-radius: 50%;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 600px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(251,185,0,0.15);
  color: #fbb900;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 1rem;
  border: 1px solid rgba(251,185,0,0.2);
}

.hero h1 {
  color: #ffffff;
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 0.5rem;
  letter-spacing: -0.5px;
}

.hero p {
  color: #a3a3b5;
  font-size: 15px;
  line-height: 1.6;
}

/* ============================================
   MAIN CONTENT
   ============================================ */

.main-content {
  max-width: 1200px;
  margin: -1.5rem auto 3rem;
  padding: 0 1rem;
  position: relative;
  z-index: 2;
}

/* ============================================
   CARD
   ============================================ */

.card {
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  padding: 2rem;
  margin-bottom: 1.5rem;
  border: 1px solid #e9ecef;
}

.card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 1.5rem;
}

.card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, #fbb900 0%, #f59e0b 100%);
  border-radius: 12px;
  color: #1a1a2e;
  flex-shrink: 0;
}

.card-title {
  font-size: 17px;
  font-weight: 700;
  color: #1a1a2e;
}

.card-subtitle {
  font-size: 13px;
  color: #8e8ea0;
  margin-top: 2px;
}

/* ============================================
   UPLOAD ZONE
   ============================================ */

.upload-zone {
  border: 2px dashed #d1d5db;
  border-radius: 12px;
  padding: 2.5rem 2rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
  background: #fafbfc;
  position: relative;
}

.upload-zone:hover {
  border-color: #fbb900;
  background: #fffdf5;
}

.upload-zone.dragover {
  border-color: #fbb900;
  background: #fff9e6;
  transform: scale(1.01);
}

.upload-zone.has-file {
  border-color: #10b981;
  background: #ecfdf5;
}

.upload-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 1rem;
  background: #f3f4f6;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #9ca3af;
  transition: all 0.2s;
}

.upload-zone:hover .upload-icon {
  background: #fff9e6;
  color: #fbb900;
}

.upload-zone.has-file .upload-icon {
  background: #d1fae5;
  color: #10b981;
}

.upload-text {
  font-size: 15px;
  color: #374151;
  margin-bottom: 0.5rem;
}

.upload-text strong {
  color: #fbb900;
}

.upload-hint {
  font-size: 13px;
  color: #9ca3af;
}

.upload-zone input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

/* ============================================
   FILE INFO
   ============================================ */

.file-info {
  display: none;
  align-items: center;
  gap: 12px;
  padding: 1rem;
  background: #ecfdf5;
  border-radius: 10px;
  margin-top: 1rem;
}

.file-info.show {
  display: flex;
}

.file-info-icon {
  width: 40px;
  height: 40px;
  background: #10b981;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  flex-shrink: 0;
}

.file-info-details {
  flex: 1;
  min-width: 0;
}

.file-info-name {
  font-size: 14px;
  font-weight: 600;
  color: #065f46;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.file-info-size {
  font-size: 12px;
  color: #6b7280;
}

.file-info-remove {
  background: none;
  border: none;
  color: #9ca3af;
  cursor: pointer;
  padding: 4px;
  border-radius: 6px;
  transition: all 0.15s;
}

.file-info-remove:hover {
  background: #fee2e2;
  color: #dc2626;
}

/* ============================================
   SUBMIT BUTTON
   ============================================ */

.btn-submit {
  width: 100%;
  padding: 14px 24px;
  background: linear-gradient(135deg, #fbb900 0%, #f59e0b 100%);
  color: #1a1a2e;
  border: none;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 1.5rem;
}

.btn-submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(251,185,0,0.3);
}

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

.btn-submit:disabled {
  background: #e5e7eb;
  color: #9ca3af;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* ============================================
   LOADING OVERLAY
   ============================================ */

.loading-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(26,26,46,0.7);
  z-index: 100;
  justify-content: center;
  align-items: center;
  backdrop-filter: blur(4px);
}

.loading-overlay.show {
  display: flex;
}

.loading-box {
  background: white;
  border-radius: 16px;
  padding: 2.5rem;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.loading-spinner {
  width: 48px;
  height: 48px;
  border: 4px solid #f3f4f6;
  border-top: 4px solid #fbb900;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin: 0 auto 1rem;
}

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

.loading-text {
  font-size: 15px;
  font-weight: 600;
  color: #1a1a2e;
  margin-bottom: 0.25rem;
}

.loading-subtext {
  font-size: 13px;
  color: #9ca3af;
}

/* ============================================
   STEPS CARD
   ============================================ */

.steps-card {
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  padding: 1.5rem 2rem;
  border: 1px solid #e9ecef;
}

.steps-title {
  font-size: 14px;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.steps-title svg {
  color: #fbb900;
}

.steps-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.step-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: #6b7280;
}

.step-number {
  width: 24px;
  height: 24px;
  background: #f3f4f6;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  color: #fbb900;
  flex-shrink: 0;
}

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

@media (max-width: 640px) {
  .hero h1 { font-size: 22px; }
  .card { padding: 1.5rem; }
  .upload-zone { padding: 1.5rem 1rem; }
  .date-grid { grid-template-columns: 1fr; }
}
