.premium-logo {
  font-size: clamp(0.8rem, 1.2vw, 1.1rem);
  line-height: 1.3;
}
.premium-card {
  width: 100%;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  transition: box-shadow 0.4s ease;
  position: relative;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.92);
}
.premium-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 8px;
  background: linear-gradient(90deg, #0a3b7a, #1a5bbf, #4a8be8, #6ba3ff);
  background-size: 300% 100%;
  animation: shimmer 6s ease-in-out infinite;
  border-radius: 32px 32px 0 0;
}
@keyframes shimmer {
  0% {
    background-position: 0% 0%;
  }
  50% {
    background-position: 100% 0%;
  }
  100% {
    background-position: 0% 0%;
  }
}

.header-premium .brand h1 {
  font-size: 1.7rem;
  font-weight: 800;
  color: #0a2a4a;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

/* باکس جستجو */
.search-advanced {
  background: linear-gradient(145deg, #f7faff, #f0f6fe);
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow:
    inset 0 2px 6px rgba(0, 0, 0, 0.01),
    0 4px 12px rgba(0, 20, 40, 0.04);
}

/* استایل اینپوت‌ها */
.input-premium {
  transition: all 0.2s;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}
.input-premium:focus {
  border-color: #2a7de1;
  box-shadow: 0 0 0 4px rgba(42, 125, 225, 0.12);
  outline: none;
  background: #ffffff;
}
.input-premium::placeholder {
  color: #a3b9d4;
  font-weight: 300;
}

/* دکمه‌ها */
.btn-premium-primary {
  background: linear-gradient(145deg, #1a5bbf, #2870db);
  border: none;
  color: #fff;
  box-shadow: 0 8px 20px -6px rgba(26, 91, 191, 0.4);
  transition: all 0.25s;
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.btn-premium-primary:hover {
  transform: translateY(-2px);
  background: linear-gradient(145deg, #134a9f, #1f62ca);
  box-shadow: 0 12px 28px -8px rgba(26, 91, 191, 0.5);
  color: #fff;
}
.btn-premium-primary:active {
  transform: scale(0.96);
}

.btn-premium-outline {
  background: transparent;
  border: 1.5px solid #cbd9ed;
  color: #1f3f69;
  transition: all 0.2s;
  text-decoration: none;
}
.btn-premium-outline:hover {
  background: #eaf2fd;
  border-color: #2a7de1;
  color: #0b2b4a;
  box-shadow: 0 4px 14px -4px rgba(0, 0, 0, 0.06);
}

/* ===== پنل نتیجه ===== */
.result-panel-premium {
  display: flex;
  flex-direction: column;
  gap: 20px;
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  min-height: 140px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.02);
}

/* حالت placeholder */
.state-placeholder {
  text-align: center;
  color: #8aa2c4;
  width: 100%;
}
.state-placeholder i {
  font-size: 2.8rem;
  color: #c8d8ec;
  display: block;
  margin-bottom: 0.2rem;
}

/* حالت PDF */
.pdf-result-card {
  width: 100%;
  background: #ffffff;
  border-right: 8px solid #1a5bbf;
  box-shadow: 0 6px 20px -8px rgba(0, 20, 40, 0.1);
  transition: all 0.2s;
}
.pdf-result-card:hover {
  box-shadow: 0 8px 28px -10px rgba(0, 20, 40, 0.15);
}
.pdf-result-card .pdf-icon-box {
  background: #f2f7ff;
  font-size: 2.6rem;
  color: #b33f34;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.3);
}
.pdf-result-card .pdf-details .doc-title {
  font-weight: 700;
  color: #0a2a4a;
  font-size: 1.1rem;
  margin-bottom: 0.15rem;
}
.pdf-result-card .pdf-details .doc-meta {
  font-size: 0.8rem;
  color: #4d6f96;
}

/* حالت خطا */
.state-notfound {
  width: 100%;
  text-align: center;
  padding: 0.5rem 0;
}
.state-notfound .nf-icon {
  font-size: 3rem;
  color: #c8d6e8;
  display: block;
  margin-bottom: 0.1rem;
}
.state-notfound .nf-message {
  background: #f3f7fe;
  display: inline-block;
  font-weight: 600;
  color: #1f3f6a;
  border: 1px solid #e2ebf9;
  font-size: 1rem;
}
.state-notfound .nf-message i {
  color: #d14a4a;
  margin-left: 0.5rem;
}
.state-notfound .nf-sub {
  color: #708bb0;
  font-size: 0.8rem;
  margin-top: 0.3rem;
}

/* ===== ریسپانسیو ===== */
@media (max-width: 640px) {
  .header-premium .brand h1 {
    font-size: 1.2rem;
  }
}
