/* :root {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.5;
}

body {
  background-color: #ffffff;
  color: #262626;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
} */

/* Header */
.headers {
    text-align: center;
    background: linear-gradient(180deg, #6630C6 0%, #330F95 100%);
    padding: 31px;
    border-radius: 15px;
    margin-bottom: 10px;
}

.header-logo {
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.2);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.header-logo svg {
  width: 20px;
  height: 20px;
  fill: white;
}

.header-title {
  font-size: 45px !important;
  font-weight: 700;
  color: white !important;
  letter-spacing: -0.01em;
}

.header-subtitle {
  font-size: 0.8rem;
  color:white !important;
  font-weight: 400;
}

/* Main content */
.main {
  flex: 1;
  padding: 0px 24px 60px !important;
  max-width: 860px;
  margin: 0 auto;
  width: 100%;
	
	
}

.page-title {
  font-size: 45px !important;
  font-weight: 700;
  color: white !important;
  line-height: 1.2 !important;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.page-subtitle {
  font-size: 1rem !important;
  color: white !important;
 
}

/* Converter card */
.converter-card {
  background: #fff !important;
  border: 1px solid #e5e5e5 !important;
  border-radius: 20px !important;
  padding: 32px !important;
  box-shadow: 0 4px 24px rgba(0,0,0,0.06) !important;
}

/* Drop zone */
.dropzone {
  border: 2px dashed #f9a8d4 !important;
  border-radius: 14px !important;
  background: #f2f4fd !important;
  padding: 48px 24px !important;
  text-align: center;
  cursor: pointer !important;
  transition: all 0.2s ease;
  position: relative;
}

.dropzone:hover,
.dropzone.drag-over {
  border-color: #ec4899 !important;
  background: #dde3ff !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 4px 16px rgba(236, 72, 153, 0.15) !important;
}

.dropzone-icon {
  width: 64px !important;
  height: 64px !important;
  background: linear-gradient(135deg, #fce7f3, #fbcfe8) !important;
  border-radius: 50% !important;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.dropzone-icon svg {
  width: 28px;
  height: 28px;
  stroke: #db2777;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.dropzone-title {
  font-size: 1.05rem;
  font-weight: 600;
  color: #404040 !important;
  margin-bottom: 6px;
}

.dropzone-desc {
  font-size: 0.875rem;
  color: #737373 !important;
  margin-bottom: 20px;
}

.dropzone-desc span {
  color: #db2777 !important;
  font-weight: 500;
}

.choose-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
 background: linear-gradient(180deg, #6630C6 0%, #330F95 100%) !important;
  color: white !important;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 10px 24px;
  border-radius: 10px !important;
  border: none !important;
  cursor: pointer !important;
  font-family: inherit;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(236, 72, 153, 0.35) !important;
}

.choose-btn:hover {
  transform: translateY(-1px) !important;
  box-shadow: 0 4px 16px rgba(236, 72, 153, 0.45);
}

.choose-btn:active {
  transform: translateY(0);
}

.choose-btn svg {
  width: 16px;
  height: 16px;
  stroke: white !important;
  fill: none !important;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.file-input {
  display: none;
}

/* File limit note */
.file-limit-note {
  margin-top: 10px;
  font-size: 0.78rem;
  color: green;
}

/* File list */
.file-list {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
	padding:10px ;
}

.file-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #f5f5f5 !important;
  border: 1px solid #e5e5e5 !important;
  border-radius: 12px !important;
  padding: 12px 16px !important;
  transition: all 0.2s ease;
  animation: slideIn 0.25s ease;
}

@keyframes slideIn {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}

.file-item.converting {
  border-color: #f9a8d4 !important;
  background: #fdf2f8 !important;
}

.file-item.done {
  border-color: #86efac !important;
  background: #dcfce7 !important;
}

.file-item.error {
  border-color: #fca5a5 !important;
  background: red;
}

.file-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #fce7f3, #fbcfe8) !important;
  border-radius: 10px !important;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.file-item.done .file-icon {
  background: linear-gradient(135deg, #bbf7d0, #86efac) !important;
}

.file-item.error .file-icon {
  background: linear-gradient(135deg, #fecaca, #fca5a5);
}

.file-icon svg {
  width: 20px;
  height: 20px;
  stroke: #db2777;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.file-item.done .file-icon svg { stroke: #16a34a; }
.file-item.error .file-icon svg { stroke: #dc2626; }

.file-info {
  flex: 1;
  min-width: 0;
}

.file-name {
  font-size: 0.9rem;
  font-weight: 600;
  color: #404040;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.file-meta {
  font-size: 0.775rem;
  color: #737373;
  margin-top: 2px;
}

.file-status {
  font-size: 0.775rem;
  font-weight: 500;
  margin-top: 4px;
}

.file-status.converting { color: #db2777; }
.file-status.done { color: #16a34a; }
.file-status.error { color: #dc2626; }

/* Progress bar */
.progress-bar-wrap {
  height: 4px;
  background: #e5e5e5 !important;
  border-radius: 99px !important;
  margin-top: 6px;
  overflow: hidden;
}

.file-item.converting .progress-bar-wrap { background: #fbcfe8; }

.progress-bar {
  height: 100%;
  background: linear-gradient(90deg, #f472b6, #db2777) !important;
  border-radius: 99px;
  width: 0%;
  transition: width 0.4s ease;
}

.file-item.done .progress-bar {
  width: 100%;
  background: linear-gradient(90deg, #4ade80, #16a34a);
}

/* Remove button */
.remove-btn {
  width: 32px;
  height: 32px;
  border-radius: 8px !important;
  border: 1px solid #e5e5e5 !important;
  background: white !important;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.15s ease;
  color: #cdcbcb !important;
}

.remove-btn:hover {
  background: #fee2e2 !important;
  border-color: #fca5a5 !important;
  color: #dc2626 !important;
}

.remove-btn svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  pointer-events: none;
}

/* Download btn on file item */
.download-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: transparent !important;
  border: 1px solid #4ade80 !important;
  color: #16a34a !important;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 6px;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.15s ease;
  text-decoration: none;
  flex-shrink: 0;
}

.download-btn:hover {
  background: var(--success-100);
}

.download-btn svg {
  width: 13px;
  height: 13px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Action area */
.action-area {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
	padding:10px ;
}

.add-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: #a7a2a203  !important;
    border: 1.5px dashed #f472b6 !important;
    color: #989393!important;
    font-size: 0.875rem !important;
    font-weight: 600;
    padding: 10px 20px !important;
    border-radius: 10px !important;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.2s ease;
}

.add-more-btn:hover {
  background: #fdf2f8 !important;
  border-color: #db2777 !important;
}

.add-more-btn svg {
  width: 16px;
  height: 16px;
  stroke: currentColor !important;
  fill: none !important;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.add-more-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.convert-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #ec4899, #be185d) !important;
  color: white;
  font-size: 1rem;
  font-weight: 700;
  padding: 12px 32px !important;
  border-radius: 12px !important;
  border: none !important;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.2s ease;
  box-shadow: 0 4px 16px rgba(219, 39, 119, 0.35);
  margin-left: auto;
}

.convert-btn:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(219, 39, 119, 0.45);
}

.convert-btn:active:not(:disabled) {
  transform: translateY(0);
}

.convert-btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.convert-btn svg {
  width: 18px;
  height: 18px;
  stroke: white;
  fill: none;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Features section */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 40px;
}

.feature-card {
  background: #fdf2f8 !important;
  border: 1px solid #fce7f3 !important;
  border-radius: 14px !important;
  padding: 20px;
  text-align: center;
}

.feature-icon {
  width: 48px;
  height: 48px;
  background:linear-gradient(135deg, #d4cffb, #a8b3f9)  !important;
  border-radius: 12px !important;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
}

.feature-icon svg {
  width: 22px;
  height: 22px;
  stroke: #3418be;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feature-title {
  font-size: 0.875rem;
  font-weight: 600;
  color: #404040 !important;
  margin-bottom: 4px;
}

.feature-desc {
  font-size: 0.78rem;
  color: #737373;
  line-height: 1.4;
}

/* Footer */
.footer {
  background: #f5f5f5;
  border-top: 1px solid #e5e5e5;
  text-align: center;
  padding: 18px;
  font-size: 0.8rem;
  color: #a3a3a3;
}

.footer span {
  color: #ec4899;
  font-weight: 600;
}

/* Toast */
.toast-wrap {
  position: fixed;
  bottom: 24px;
  right: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  z-index: 1000;
}

.toast {
  background: #262626 !important;
  color: white !important;
  padding: 12px 18px !important;
  border-radius: 10px !important;
  font-size: 0.875rem;
  font-weight: 500;
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
  animation: toastIn 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.toast.success { background: #16a34a; }
.toast.error   { background: #dc2626; }

@keyframes toastIn {
  from { opacity: 0; transform: translateX(20px); }
  to   { opacity: 1; transform: translateX(0); }
}

/* Spinner */
@keyframes spin {
  to { transform: rotate(360deg); }
}

.spinner {
  width: 14px;
  height: 14px;
  border: 2px solid rgba(255,255,255,0.35) !important;
  border-top-color: white !important;
  border-radius: 50% !important;
  animation: spin 0.7s linear infinite;
  flex-shrink: 0;
}

/* Responsive */
@media (max-width: 600px) {
  .main { padding:0px !important }
  .page-title { font-size: 33px !important; }
  .converter-card { padding: 4px !important; }
  .dropzone { padding: 32px 16px; }
  .features { grid-template-columns: 1fr; }
  .convert-btn { width: 100%; justify-content: center; margin-left: 0; }
  .action-area { flex-direction: column; }
  .add-more-btn { width: 100%; justify-content: center; }
}

@media (max-width: 400px) {
  .file-name { font-size: 0.82rem; }
}
