* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  background: #0a1628;
  min-height: 100vh;
  color: #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.container {
  width: 100%;
  max-width: 520px;
  background: #112240;
  border-radius: 16px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.6);
  overflow: hidden;
  border: 1px solid #1e3a5f;
}

header {
  background: #001a4d;
  padding: 24px 28px;
  border-bottom: 1px solid #1e3a5f;
}

.logo-area {
  display: flex;
  align-items: center;
  gap: 16px;
}

.logo {
  width: 56px;
  height: 56px;
  border-radius: 10px;
  object-fit: contain;
  background: #001a4d;
}

header h1 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 2px;
}

header p {
  font-size: 0.85rem;
  color: #94a3b8;
}

main {
  padding: 32px;
}

.upload-area {
  border: 2px dashed #1e40af;
  border-radius: 12px;
  padding: 40px 20px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
  background: #0a1628;
}

.upload-area:hover,
.upload-area.dragover {
  border-color: #3b82f6;
  background: #0f172a;
}

.icon {
  width: 48px;
  height: 48px;
  color: #3b82f6;
  margin-bottom: 16px;
}

.upload-text {
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 6px;
  color: #e2e8f0;
}

.upload-hint {
  font-size: 0.85rem;
  color: #64748b;
}

.file-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #0a1628;
  border: 1px solid #1e3a5f;
  border-radius: 8px;
  padding: 12px 16px;
  margin-top: 16px;
  font-size: 0.95rem;
}

.btn-remove {
  background: none;
  border: none;
  color: #94a3b8;
  font-size: 1.1rem;
  cursor: pointer;
  padding: 0 4px;
}

.btn-remove:hover {
  color: #f87171;
}

.btn-converter {
  width: 100%;
  margin-top: 24px;
  padding: 14px;
  background: #1e40af;
  color: white;
  border: none;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-converter:hover:not(:disabled) {
  background: #1d4ed8;
  transform: translateY(-1px);
}

.btn-converter:disabled {
  background: #1e293b;
  color: #64748b;
  cursor: not-allowed;
}

.status {
  margin-top: 20px;
  padding: 14px 16px;
  border-radius: 8px;
  font-size: 0.95rem;
  text-align: center;
}

.status.success {
  background: #064e3b;
  color: #6ee7b7;
  border: 1px solid #059669;
}

.status.error {
  background: #7f1d1d;
  color: #fca5a5;
  border: 1px solid #dc2626;
}

.status.loading {
  background: #1e3a5f;
  color: #93c5fd;
  border: 1px solid #3b82f6;
}

footer {
  text-align: center;
  padding: 16px;
  font-size: 0.8rem;
  color: #64748b;
  border-top: 1px solid #1e3a5f;
}