/* Global Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
h1,
h2 {
  background: linear-gradient(135deg, hsl(217 91% 60%), hsl(195 85% 60%));
  text-shadow: 0 0 24px hsl(217 91% 60% / 0.4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
a {
  text-decoration: none !important;
}
body {
  font-family: "Noto Sans Bengali", sans-serif;
  background-color: #f8f9fa;
  color: #0a0f14;
}
.strong {
  color: red;
}

body.dark-mode .card-title {
  color: white;
}

/* Gradient Text */
.gradient-text {
  background: linear-gradient(135deg, hsl(217 91% 60%), hsl(195 85% 60%));
  text-shadow: 0 0 24px hsl(217 91% 60% / 0.4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Hero Section */

.hero-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, hsl(217 91% 60%), hsl(195 85% 60%));
  box-shadow: 0 0 24px hsl(217 91% 60% / 0.4);
  border-radius: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

/* Feature Cards */
.feature-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, hsl(217 91% 60%), hsl(195 85% 60%));
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-icon i {
  font-size: 1.5rem;
}

.hover-card {
  transition: all 0.3s ease;
}

.hover-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15) !important;
}

/* CTA Section */

/* Auth Page */
.auth-page {
  background: linear-gradient(
    135deg,
    rgba(102, 126, 234, 0.05) 0%,
    rgba(118, 75, 162, 0.05) 100%
  );
}

.auth-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, hsl(217 91% 60%), hsl(195 85% 60%));
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
}

/* Status Badges */
.badge-pending {
  background-color: #ffc107;
  color: #000;
}

.badge-found {
  background-color: #28a745;
  color: #fff;
}

.badge-not-found {
  background-color: #dc3545;
  color: #fff;
}

.badge-searching {
  background-color: #3b82f6;
  color: #fff;
}

/* Report Card */
.report-card {
  transition: all 0.3s ease;
}

.report-card:hover {
  box-shadow: 0 10px 30px rgba(102, 126, 234, 0.2) !important;
}

/* Admin Note */
.admin-note {
  background-color: rgba(102, 126, 234, 0.1);
  border-left: 4px solid #667eea;
  padding: 1rem;
  border-radius: 0.5rem;
}

/* Buttons */
.btn-primary {
  background: linear-gradient(135deg, #3c83f6, hsl(195 85% 60%));
  box-shadow: 0 0 24px hsl(217 91% 60% / 0.4);
  border: none;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4);
}
.btn-logout {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1.2rem;
  font-weight: 600;
  border-radius: 0.5rem;
  background-color: #dc3545;
  color: #fff;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.15);
}

.btn-logout:hover {
  background-color: #c82333;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.25);
  transform: translateY(-2px);
  text-decoration: none;
  color: #fff;
}

.btn-logout svg {
  margin-right: 8px;
  width: 18px;
  height: 18px;
  stroke: #fff;
}

.success-card {
  border-radius: 12px;
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.1);
  padding: 40px 30px;
  max-width: 450px;
  width: 100%;
  text-align: center;
  animation: fadeIn 1s ease;
}
.success-icon {
  color: #28a745;
  font-size: 4rem;
  margin-bottom: 20px;
}
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Navbar */
.navbar {
  backdrop-filter: blur(10px);
  background-color: rgba(255, 255, 255, 0.95) !important;
}
.nav-pills {
  background: #f3f4f6;
}
body.dark-mode .nav-pills {
  background: #20293c;
}
/* Dark Mode Styles */
body.dark-mode {
  background-color: rgb(10, 15, 20);
  color: #e0e0e0;
}

body.dark-mode .navbar {
  background-color: rgba(26, 26, 26, 0.95) !important;
  border-bottom-color: #333 !important;
}

body.dark-mode .navbar-light .navbar-nav .nav-link {
  color: #e0e0e0;
}

body.dark-mode .navbar-light .navbar-nav .nav-link:hover,
body.dark-mode .navbar-light .navbar-nav .nav-link.active {
  color: #3f8cff;
}
.navbar-toggler-icon:hover .navbar-toggler-icon {
  background: #3f8cff;
}
body.dark-mode .card {
  background: #131a26;
  box-shadow: 0 0 40px rgba(100, 150, 255, 0.6);
  border-color: #333;
}

body.dark-mode .form-control,
body.dark-mode .form-select {
  background-color: #0c121d;
  color: #ffffff;
  border-color: #444;
}

.showPass {
  color: #000;
}
body.dark-mode .showPass {
  color: #ffffff;
}

body.dark-mode .form-label {
  color: #ffffff;
}

body.dark-mode .form-control:focus,
body.dark-mode .form-select:focus {
  background-color: #0c121d;
  color: #ffffff;
  border-color: #667eea;
}

body.dark-mode .text-muted {
  color: #999 !important;
}
body.dark-mode .form-text {
  color: #999 !important;
}

body.dark-mode ::placeholder {
  color: #9ca3af;
  opacity: 1;
}
body.dark-mode ::-webkit-calendar-picker-indicator {
  filter: invert(50%) sepia(100%) saturate(500%) hue-rotate(180deg); /* color change */
  cursor: pointer;
}
body.dark-mode .bg-light {
  background-color: #000000 !important;
}

body.dark-mode .border {
  border-color: #333 !important;
}

/* Service Notice Section - Gradient Background */
.bg-gradient-primary {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

/* ========================================
   Service Notice Section - Dark Theme
======================================== */

.service-notice-section {
  background-color: #0a0e27;
  padding: 4rem 0;
}

.service-section-title {
  color: #00d9ff;
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-bottom: 0;
}

/* Service Cards */
.service-card {
  background-color: #1a2332;
  border: 1px solid rgba(0, 217, 255, 0.1);
  border-radius: 1rem;
  padding: 2.5rem 2rem;
  transition: all 0.3s ease;
  height: 100%;
  text-align: center;
}

.service-card:hover {
  transform: translateY(-10px);
  border-color: rgba(0, 217, 255, 0.3);
  box-shadow: 0 15px 50px rgba(0, 217, 255, 0.2);
}

.service-icon-wrapper {
  width: 70px;
  height: 70px;
  background: rgba(0, 217, 255, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.service-icon-wrapper i {
  font-size: 2rem;
  color: #00d9ff;
}

.service-card-title {
  color: #ffffff;
  font-size: 1.35rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.service-card-text {
  color: #b0b8c8;
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 0;
}

/* Service Notice Card */
.service-notice-card {
  background-color: #1a2332;
  border: 1px solid rgba(0, 217, 255, 0.2);
  border-radius: 1.5rem;
  padding: 3rem 2.5rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.notice-icon-wrapper {
  width: 80px;
  height: 80px;
  background: rgba(0, 217, 255, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.notice-icon-wrapper i {
  font-size: 2.5rem;
  color: #00d9ff;
}

.notice-title {
  color: #00d9ff;
  font-size: 1.85rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.notice-text {
  color: #d0d5e0;
  font-size: 1.1rem;
  line-height: 1.8;
  text-align: center;
  margin-bottom: 2rem;
}

/* Notice Buttons */
.btn-notice-primary {
  background: linear-gradient(135deg, #00d9ff 0%, #0099cc 100%);
  border: none;
  color: #0a0e27;
  font-weight: 600;
  font-size: 1rem;
  padding: 0.85rem 2rem;
  border-radius: 0.5rem;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}

.btn-notice-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0, 217, 255, 0.4);
  color: #0a0e27;
}

.btn-notice-outline {
  background: transparent;
  border: 2px solid #00d9ff;
  color: #00d9ff;
  font-weight: 600;
  font-size: 1rem;
  padding: 0.85rem 2rem;
  border-radius: 0.5rem;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}

.btn-notice-outline:hover {
  background: rgba(0, 217, 255, 0.1);
  border-color: #00d9ff;
  color: #00d9ff;
  transform: translateY(-3px);
}

/* ========================================
   Terms Modal Styles
======================================== */

.terms-modal-content {
  background-color: #1a2332;
  color: #e0e5f0;
  border: 1px solid rgba(0, 217, 255, 0.2);
  border-radius: 1rem;
}

.terms-modal-content .modal-header {
  border-bottom: 1px solid rgba(0, 217, 255, 0.2);
  padding: 1.5rem;
}

.terms-modal-content .modal-title {
  font-size: 1.5rem;
  font-weight: 700;
}

.terms-modal-content .btn-close-white {
  filter: brightness(0) invert(1);
  opacity: 0.8;
}

.terms-modal-content .btn-close-white:hover {
  opacity: 1;
}

.terms-modal-content .modal-body {
  padding: 2rem;
  max-height: 70vh;
}

.terms-modal-content .modal-footer {
  border-top: 1px solid rgba(0, 217, 255, 0.2);
  padding: 1.5rem;
}

/* Terms Sections */
.terms-section {
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(0, 217, 255, 0.1);
}

.terms-section:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.terms-heading {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.terms-section p {
  color: #d0d5e0;
  line-height: 1.7;
  margin-bottom: 0.75rem;
}

.terms-list {
  color: #d0d5e0;
  line-height: 1.8;
  padding-left: 1.5rem;
}

.terms-list li {
  margin-bottom: 0.5rem;
}

/* Alert Boxes in Modal */
.alert-info-custom {
  background-color: rgba(0, 217, 255, 0.1);
  border: 1px solid rgba(0, 217, 255, 0.3);
  border-radius: 0.5rem;
  padding: 1rem 1.25rem;
  color: #d0d5e0;
}

.alert-info-custom p {
  margin-bottom: 0.5rem;
}

.alert-info-custom p:last-child {
  margin-bottom: 0;
}

.alert-warning-custom {
  background-color: rgba(255, 193, 7, 0.1);
  border: 1px solid rgba(255, 193, 7, 0.3);
  border-radius: 0.5rem;
  padding: 1rem 1.25rem;
  color: #d0d5e0;
}

/* Contact Info Box */
.contact-info-box {
  background-color: rgba(0, 217, 255, 0.05);
  border: 1px solid rgba(0, 217, 255, 0.2);
  border-radius: 0.5rem;
  padding: 1.25rem;
}

.contact-info-box p {
  margin-bottom: 0.75rem;
  color: #d0d5e0;
}

.contact-info-box p:last-child {
  margin-bottom: 0;
}

.contact-info-box a {
  color: #00d9ff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-info-box a:hover {
  color: #00b8e6;
  text-decoration: underline;
}

/* Dark Mode Support (if your site has dark mode toggle) */
body.dark-mode .service-notice-section {
  background-color: #0a0e27;
}

body.dark-mode .service-card,
body.dark-mode .service-notice-card {
  background-color: #1a2332;
  border-color: rgba(0, 217, 255, 0.1);
}

body.dark-mode .terms-modal-content {
  background-color: #1a2332;
  border-color: rgba(0, 217, 255, 0.2);
}
/* body.dark-mode .footer-sec {
  background: linear-gradient(
    135deg,
    hsl(217deg 91% 60% / 46%),
    hsl(195deg 85% 60% / 51%)
  );
}
.footer-sec {
  background: linear-gradient(135deg, hsl(217, 91%, 60%), hsl(195, 85%, 60%));
} */
/* ========================================
   Responsive Design
======================================== */

@media (max-width: 768px) {
  .hero-section h1 {
    font-size: 2rem;
  }

  .hero-section .lead {
    font-size: 1rem;
  }
  .service-section-title {
    font-size: 1.75rem;
  }

  .service-icon-wrapper {
    width: 60px;
    height: 60px;
  }

  .service-icon-wrapper i {
    font-size: 1.75rem;
  }

  .notice-icon-wrapper {
    width: 70px;
    height: 70px;
  }

  .notice-icon-wrapper i {
    font-size: 2rem;
  }

  .d-flex.gap-3 {
    flex-direction: column;
  }

  .btn-notice-primary,
  .btn-notice-outline {
    width: 100%;
    justify-content: center;
  }
  .service-notice-section {
    padding: 3rem 0;
  }

  .service-section-title {
    font-size: 2rem;
  }

  .service-card {
    padding: 2rem 1.5rem;
  }

  .service-card-title {
    font-size: 1.2rem;
  }

  .service-notice-card {
    padding: 2rem 1.5rem;
  }

  .notice-title {
    font-size: 1.5rem;
  }

  .notice-text {
    font-size: 1rem;
  }

  .btn-notice-primary,
  .btn-notice-outline {
    font-size: 0.95rem;
    padding: 0.75rem 1.5rem;
  }

  .terms-modal-content .modal-body {
    padding: 1.5rem;
  }

  .terms-heading {
    font-size: 1.1rem;
  }
}

/* Form Validation */
.was-validated .form-control:invalid,
.was-validated .form-select:invalid {
  border-color: #dc3545;
}

.was-validated .form-control:valid,
.was-validated .form-select:valid {
  border-color: #28a745;
}
