body {
  font-family: 'Inter', sans-serif;
  background: linear-gradient(120deg, #f8faff 0%, #e9e4f0 100%);
  margin: 0;
  padding-top: 64px;
  min-height: 100vh;
}

.navbar {
  background: linear-gradient(90deg, #fff 60%, #e9e4f0 100%);
  backdrop-filter: blur(16px);
  box-shadow: 0 6px 32px rgba(138,43,226,0.10);
  border-bottom: 1.5px solid #e3d8f7;
  transition: background 0.3s, box-shadow 0.3s;
  padding-top: 2px;
  padding-bottom: 2px;
}

.navbar-brand {
  font-weight: 700;
  color: #8a2be2;
  letter-spacing: 1px;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.navbar-nav .nav-link {
  font-weight: 500;
  color: #4b0082;
  border-radius: 10px;
  padding: 10px 20px;
  margin: 0 2px;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}

.navbar-nav .nav-link:hover, .navbar-nav .nav-link.active {
  color: #fff;
  background: linear-gradient(90deg, #8a2be2 60%, #4b0082 100%);
  box-shadow: 0 4px 16px rgba(138,43,226,0.13);
  text-shadow: 0 1px 4px rgba(75,0,130,0.08);
}

.sidebar {
  height: 100vh;
  position: fixed;
  top: 64px;
  left: 0;
  width: 220px;
  background: linear-gradient(180deg, #f8faff 60%, #e9e4f0 100%);
  backdrop-filter: blur(18px);
  border-right: 1.5px solid #e3d8f7;
  padding: 28px 0 0 0;
  z-index: 1000;
  box-shadow: 2px 0 16px rgba(138,43,226,0.04);
}

.sidebar a {
  display: flex;
  align-items: center;
  gap: 0.7em;
  padding: 13px 32px 13px 28px;
  color: #4b0082;
  text-decoration: none;
  font-weight: 500;
  font-size: 1.08rem;
  border-radius: 0 20px 20px 0;
  margin-bottom: 2px;
  transition: background 0.18s, color 0.18s, box-shadow 0.18s;
}

.sidebar a:hover, .sidebar a.active {
  background: linear-gradient(90deg, #e9e4f0 60%, #d1c4e9 100%);
  color: #8a2be2;
  box-shadow: 2px 0 8px rgba(138,43,226,0.07);
}

.content {
  margin-left: 220px;
  padding: 48px 36px 36px 36px;
  min-height: 100vh;
  background: none;
  transition: margin 0.3s, padding 0.3s;
}

.tool-container {
  background: linear-gradient(120deg, #fff 70%, #f3eaff 100%);
  backdrop-filter: blur(10px);
  border-radius: 24px;
  padding: 36px 32px 32px 32px;
  box-shadow: 0 8px 32px rgba(138,43,226,0.07);
  border: 1.5px solid #e3d8f7;
  margin-bottom: 32px;
  transition: box-shadow 0.2s;
}

.form-control {
  border-radius: 12px;
  border: 1.5px solid #d1c4e9;
  font-size: 1.13rem;
  padding: 20px 24px;
  background: #f8faff;
  box-shadow: 0 2px 8px rgba(138,43,226,0.03);
  transition: border 0.2s, box-shadow 0.2s;
}

.form-control:focus {
  border-color: #8a2be2;
  box-shadow: 0 0 0 0.25rem rgba(138, 43, 226, 0.25);
}

.btn-primary {
  background: linear-gradient(90deg, #8a2be2 60%, #4b0082 100%);
  border: none;
  border-radius: 12px;
  font-weight: 600;
  font-size: 1.08rem;
  padding: 14px 28px;
  box-shadow: 0 2px 12px rgba(138,43,226,0.08);
  transition: background 0.2s, box-shadow 0.2s;
}

.btn-primary:hover {
  background: linear-gradient(90deg, #4b0082 60%, #8a2be2 100%);
  box-shadow: 0 4px 18px rgba(138,43,226,0.13);
}

.btn-outline-primary {
  color: #8a2be2;
  border: 1.5px solid #8a2be2;
  border-radius: 12px;
  font-weight: 500;
  padding: 8px 20px;
  transition: all 0.2s;
}

.btn-outline-primary:hover {
  background: #8a2be2;
  color: white;
}

.alert {
  border: none;
  border-radius: 12px;
  font-weight: 500;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.feature-card {
  background: linear-gradient(120deg, #fff 70%, #f3eaff 100%);
  border-radius: 16px;
  padding: 24px;
  text-align: center;
  border: 1.5px solid #e3d8f7;
  transition: transform 0.2s, box-shadow 0.2s;
}

.feature-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(138,43,226,0.1);
}

.feature-icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
  color: #8a2be2;
}

.footer {
  text-align: center;
  padding: 22px 0 18px 0;
  margin-top: 60px;
  background: linear-gradient(90deg, #fff 60%, #e9e4f0 100%);
  backdrop-filter: blur(10px);
  font-size: 1.01rem;
  color: #4b0082;
  border-top: 1.5px solid #e3d8f7;
  box-shadow: 0 -2px 12px rgba(138,43,226,0.04);
}

@media (max-width: 991px) {
  .sidebar {
    display: none;
  }
  .content {
    margin-left: 0;
    padding: 20px 8px 24px 8px;
  }
}

.file-drop-zone {
  border: 2px dashed #d1c4e9;
  border-radius: 12px;
  padding: 40px 20px;
  text-align: center;
  background: #f8faff;
  transition: all 0.3s;
  cursor: pointer;
}

.file-drop-zone:hover, .file-drop-zone.dragover {
  border-color: #8a2be2;
  background: rgba(138, 43, 226, 0.05);
}

.processing-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  display: none;
}

.processing-content {
  background: white;
  padding: 30px;
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.spinner {
  width: 40px;
  height: 40px;
  border: 4px solid #f3f3f3;
  border-top: 4px solid #8a2be2;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto 16px;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
      .sidebar {
      position: fixed;
      top: 70px;
      left: 0;
      width: 240px;
      height: 100vh;
      background: #f8f9fa;
      border-right: 1px solid #e0e0e0;
      padding-top: 30px;
      z-index: 1000;
    }
    .sidebar ul {
      list-style: none;
      padding: 0;
      margin: 0;
    }
    .sidebar li {
      margin-bottom: 0px;
    }
    .sidebar a {
      display: block;
      padding: 8px 18px;
      color: #4b0082;
      text-decoration: none;
      font-weight: 500;
      font-size: 0.98em;
      border-radius: 0;
      transition: background 0.2s, color 0.2s, transform 0.2s;
    }
    .sidebar a:hover {
      background: none;
      color: #4b0082;
      transform: scale(1.06);
      box-shadow: none;
    }
    .content {
      margin-left: 260px;
      padding: 30px 20px 20px 20px;
    }
    @media (max-width: 900px) {
      .sidebar { position: static; width: 100%; height: auto; border-right: none; padding-top: 0; }
      .content { margin-left: 0; }