/* ========================================================
   Public Portal Styles - Union Parishad Trade License Verification
   ======================================================== */

@import url('https://fonts.googleapis.com/css2?family=Hind+Siliguri:wght@400;500;600;700&family=Noto+Sans+Bengali:wght@400;500;600;700&family=Inter:wght@400;500;600;700&display=swap');

:root {
  --primary-color: #006a4e;      /* Bangladesh Green */
  --primary-dark: #004d38;
  --secondary-color: #f42a41;    /* Bangladesh Red */
  --accent-gold: #c59b27;
  --text-dark: #212529;
  --text-muted: #6c757d;
  --bg-light: #f8f9fa;
  --border-color: #dee2e6;
  --font-bangla: 'Hind Siliguri', 'Noto Sans Bengali', sans-serif;
  --font-en: 'Inter', sans-serif;
}

body {
  font-family: var(--font-bangla);
  background-color: #f4f6f9;
  color: var(--text-dark);
  margin: 0;
  padding: 0;
  line-height: 1.6;
}

/* Header & Navbar */
.site-header {
  background: linear-gradient(135deg, #004d38 0%, #006a4e 100%);
  color: #ffffff;
  padding: 15px 0;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  border-bottom: 3px solid var(--accent-gold);
}

.header-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 15px;
}

.header-brand {
  display: flex;
  align-items: center;
  gap: 15px;
  text-decoration: none;
  color: #ffffff;
}

.header-logo {
  width: 65px;
  height: 65px;
  object-fit: contain;
  background: #ffffff;
  border-radius: 50%;
  padding: 3px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

.brand-text h1 {
  font-size: 1.35rem;
  font-weight: 700;
  margin: 0;
  color: #ffffff;
}

.brand-text p {
  font-size: 0.9rem;
  margin: 2px 0 0 0;
  color: #d1e7dd;
}

.header-nav a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 8px 16px;
  border-radius: 6px;
  background: rgba(255,255,255,0.15);
  transition: all 0.2s ease;
}

.header-nav a:hover {
  background: rgba(255,255,255,0.3);
  transform: translateY(-1px);
}

/* Main Container */
.main-wrapper {
  max-width: 1100px;
  margin: 30px auto;
  padding: 0 20px;
}

/* Search Box Hero Card */
.search-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 35px 30px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
  border-top: 5px solid var(--primary-color);
  margin-bottom: 35px;
  text-align: center;
}

.search-card h2 {
  font-size: 1.6rem;
  color: var(--primary-dark);
  margin-top: 0;
  margin-bottom: 8px;
  font-weight: 700;
}

.search-card p {
  color: var(--text-muted);
  margin-bottom: 25px;
  font-size: 1rem;
}

.search-form {
  max-width: 650px;
  margin: 0 auto;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.search-input-group {
  flex: 1;
  min-width: 280px;
  position: relative;
}

.search-input {
  width: 100%;
  padding: 14px 20px;
  font-size: 1.05rem;
  font-family: inherit;
  border: 2px solid #ced4da;
  border-radius: 8px;
  outline: none;
  transition: border-color 0.2s;
  box-sizing: border-box;
}

.search-input:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(0, 106, 78, 0.15);
}

.search-btn {
  background: var(--primary-color);
  color: #ffffff;
  border: none;
  border-radius: 8px;
  padding: 14px 28px;
  font-size: 1.05rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: background-color 0.2s, transform 0.1s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.search-btn:hover {
  background: var(--primary-dark);
}

.search-example {
  margin-top: 12px;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.search-example a {
  color: var(--primary-color);
  font-weight: 600;
  text-decoration: none;
}

.search-example a:hover {
  text-decoration: underline;
}

/* Status Cards & Badges */
.status-badge-verified {
  background: #d1e7dd;
  color: #0f5132;
  border: 1px solid #badbcc;
  padding: 14px 20px;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 25px;
  box-shadow: 0 2px 8px rgba(15, 81, 50, 0.08);
}

.status-badge-invalid {
  background: #f8d7da;
  color: #842029;
  border: 1px solid #f5c2c7;
  padding: 20px;
  border-radius: 8px;
  font-size: 1.1rem;
  text-align: center;
  margin-bottom: 25px;
}

/* Action Bar */
.action-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 6px;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.2s;
  font-family: inherit;
}

.btn-primary {
  background: var(--primary-color);
  color: #ffffff;
}
.btn-primary:hover {
  background: var(--primary-dark);
}

.btn-outline {
  background: #ffffff;
  color: var(--text-dark);
  border-color: #ced4da;
}
.btn-outline:hover {
  background: #e9ecef;
}

.btn-success {
  background: #198754;
  color: #ffffff;
}
.btn-success:hover {
  background: #146c43;
}

/* Informational Cards */
.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.info-card {
  background: #ffffff;
  border-radius: 10px;
  padding: 24px;
  border: 1px solid #e9ecef;
  box-shadow: 0 4px 12px rgba(0,0,0,0.03);
}

.info-card-icon {
  font-size: 2rem;
  margin-bottom: 12px;
}

.info-card h3 {
  font-size: 1.15rem;
  margin: 0 0 8px 0;
  color: var(--primary-dark);
}

.info-card p {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin: 0;
}

/* Footer */
.site-footer {
  background: #ffffff;
  border-top: 1px solid var(--border-color);
  padding: 25px 0;
  margin-top: 50px;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
}