/* Dear QnA Enhancer - Blue White Theme (assets/style.css) */
.dqe-container {
  display: flex;
  justify-content: center;
  background: #f5f8fb;
  padding: 40px 20px;
  font-family: "Inter", "Segoe UI", Roboto, Arial, sans-serif;
  box-sizing: border-box;
}

.dqe-wrapper {
  display: flex;
  gap: 28px;
  width: 100%;
  max-width: 1200px;
}

/* Sidebar */
.dqe-sidebar {
  flex: 0 0 30%;
  background: #ffffff;
  border-radius: 14px;
  padding: 22px;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.06);
  position: sticky;
  top: 90px;
  height: fit-content;
}

.dqe-sidebar h2 {
  font-size: 20px;
  color: #0f172a;
  margin-bottom: 8px;
}

.dqe-intro {
  color: #475569;
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 14px;
}

.dqe-tips {
  padding-left: 0;
  list-style: none;
  margin-bottom: 18px;
}

.dqe-tips li {
  margin: 8px 0;
  color: #334155;
  font-size: 14px;
}

/* Links */
.dqe-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 14px;
}

.dqe-btn {
  display: inline-block;
  text-decoration: none;
  background: #eef2ff;
  color: #0f172a;
  padding: 10px 12px;
  border-radius: 10px;
  text-align: center;
  font-weight: 600;
}

.dqe-btn.dqe-primary {
  background: #0ea5e9;
  color: #ffffff;
}

.dqe-btn:hover {
  opacity: 0.95;
}

/* Main Card */
.dqe-main {
  flex: 0 0 70%;
}

.dqe-card {
  background: #ffffff;
  border-radius: 14px;
  padding: 26px;
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.04);
}

/* Style AnsPress form elements to match theme */
.anspress .ap-form label,
.anspress label {
  font-weight: 700;
  color: #0f172a;
}

.anspress input[type="text"],
.anspress input[type="email"],
.anspress textarea,
.anspress select,
.anspress .ap-form input[type="text"],
.anspress .ap-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #e6eef6;
  border-radius: 10px;
  background: #ffffff;
  font-size: 15px;
  color: #0f172a;
  box-sizing: border-box;
  margin-bottom: 14px;
}

.anspress input:focus,
.anspress textarea:focus,
.anspress select:focus {
  border-color: #38bdf8;
  outline: none;
  box-shadow: 0 0 0 6px rgba(56,189,248,0.08);
}

/* Buttons */
.anspress .ap-btn,
.anspress input[type="submit"],
.dqe-btn-primary,
button.ap-btn {
  background: #0288d1 !important;
  color: #ffffff !important;
  border: none !important;
  padding: 10px 18px !important;
  border-radius: 10px !important;
  font-weight: 700 !important;
  cursor: pointer;
}

.anspress .ap-btn:hover,
.anspress input[type="submit"]:hover {
  background: #036fb3 !important;
}

/* File input */
.anspress .ap-form input[type="file"] {
  border: 1px dashed #dbeafe;
  padding: 10px;
  border-radius: 8px;
  width: 100%;
  margin-bottom: 14px;
}

/* Responsive */
@media (max-width: 900px) {
  .dqe-wrapper {
    flex-direction: column;
  }
  .dqe-sidebar {
    position: static;
    width: 100%;
  }
  .dqe-main {
    width: 100%;
  }
}
