/* E-Stamp Online - Custom Styles */

:root {
  --primary-color: #0d6efd;
  --secondary-color: #6c757d;
  --success-color: #198754;
  --warning-color: #ffc107;
  --danger-color: #dc3545;
  --info-color: #0dcaf0;
  --light-color: #f8f9fa;
  --dark-color: #212529;
}

/* Global H1 Font Weight */
h1 {
  font-weight: 300 !important;
}

html,
body {
  height: 100%;
}

body {
  background-color: #f6f6f6 !important;
  font-family: Roboto, "Helvetica Neue", sans-serif;
  line-height: 1.6;
  color: var(--dark-color);
  display: flex !important;
  flex-direction: column !important;
}

main {
  flex: 1;
}

/* Hero Section */
.hero-section {
  background: linear-gradient(135deg, var(--primary-color) 0%, #0a58ca 100%);
  border-radius: 0 0 20px 20px;
}

/* Cards */
.card {
  border: none;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

/* Navigation */
.navbar-brand {
  font-weight: bold;
  font-size: 1.5rem;
}

.navbar-nav .nav-link {
  font-weight: 500;
  transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
  color: rgba(255, 255, 255, 0.8) !important;
}

/* Buttons */
.btn {
  border-radius: 8px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

/* Forms */
.form-control {
  border-radius: 8px;
  border: 1px solid #dee2e6;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
}

/* Tables */
.table {
  border-radius: 8px;
  overflow: hidden;
}

.table th {
  background-color: var(--light-color);
  border-bottom: 2px solid #dee2e6;
  font-weight: 600;
}

/* Status badges */
.badge {
  font-size: 0.8rem;
  padding: 0.5em 0.8em;
  border-radius: 6px;
}

/* Alerts */
.alert {
  border: none;
  border-radius: 8px;
  border-left: 4px solid;
}

.alert-danger {
  border-left-color: var(--danger-color);
}

.alert-success {
  border-left-color: var(--success-color);
}

.alert-warning {
  border-left-color: var(--warning-color);
}

.alert-info {
  border-left-color: var(--info-color);
}

/* Footer */
footer {
  margin-top: auto;
}

/* Partners Section */
.footer-partners {
  background-color: rgb(209, 211, 212) !important;
  padding: 2% 0 40px 0;
  border-bottom: 1px solid #dee2e6;
}

.partners-content {
  max-width: 600px;
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  justify-content: flex-start;
  gap: 3rem;
}

.partners-text {
  font-size: 20px;
  font-family: Arvo !important;
  color: #58585b;
  font-weight: 700;
  vertical-align: middle !important;
  width: 150px;
}

.bank-logo {
  display: flex;
  align-items: center;
}

.bop-logo {
  height: 70px;
  width: auto;
}

/* Custom Footer */
.custom-footer {
  background-color: #58585b;
  color: #ffffff;
  padding: 2rem 0;
  margin-top: auto;
}

.footer-content {
  width: 100%;
  padding: 0 1rem;
  display: flex !important;
  flex-direction: column !important;
}

.footer-info-section {
  display: flex;
  justify-content: center;
  gap: 4rem;
  margin-bottom: 1.5rem;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
  padding-top: 1% !important;
  min-height: 160px;
  background-color: #58585b;
  text-align: left;
  padding-bottom: 0;
  border-bottom: 1px solid #867f7d !important;
}

.footer-column {
  flex: 0 0 auto;
  text-align: left;
  min-width: 150px;
}

.footer-column h6 {
  color: #fff;
  font-weight: regular;
  margin-bottom: 0.8rem;
  font-size: 18px;
  font-family: Montserrat, sans-serif;
  text-align: center;
}

.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-column li {
  margin-bottom: 0.3rem;
  padding-bottom: 0.3rem;
}

.footer-column a {
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  font-family: sans-serif;
  font-weight: normal;
  text-align: center;
  padding: 5px 5px 5px 0 !important;
  border-bottom: 1px solid #867f7d !important;
  margin-top: 4% !important;
  display: block;
}

.footer-column a:hover {
  color: #e9ecef;
  text-decoration: underline;
}

.footer-branding {
  text-align: center;
}

.footer-logos {
  margin-bottom: 1rem;
}

.footer-logo {
  height: 50px;
  width: auto;
}

.footer-urdu-text {
  color: #ffffff;
  font-size: 0.9rem;
  margin-bottom: 1rem;
  direction: rtl;
  text-align: center;
  font-family: sans-serif;
  font-weight: normal;
}

.footer-copyright {
  color: #ffffff;
  font-size: 0.8rem;
  font-family: sans-serif;
  font-weight: normal;
  text-align: center;
}

/* Sticky Footer */
.footer-sticky {
  background-color: #6c757d;
  color: #ffffff;
  padding: 1.5rem 0;
  margin-top: auto;
  border-top: 1px solid #5a6268;
}

.footer-sticky .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.footer-sticky h5 {
  color: #ffffff;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.footer-sticky p {
  color: #e9ecef;
  margin-bottom: 0;
  font-size: 0.9rem;
}

.footer-sticky .fas {
  color: #28a745;
}

/* Breadcrumb Bar */
.breadcrumb-bar {
  background: #e5e5e5;
  height: 25px;
  opacity: 0.9;
  font-size: 14px;
  padding-left: 1%;
  font-family: RobotoDraft, Roboto, Helvetica Neue, Helvetica, Arial, sans-serif;
  font-weight: 300;
  display: flex;
  align-items: center;
}

.breadcrumb-content {
  width: 100%;
  height: 25px;
}

.breadcrumb-item {
  color: #333;
  text-decoration: none;
}

.breadcrumb-item a {
  color: #333;
  text-decoration: none;
}

.breadcrumb-item a:hover {
  color: #666;
  text-decoration: underline;
}

.breadcrumb-separator {
  color: #666;
  margin: 0 5px;
}

.breadcrumb-item.active {
  color: #666;
  font-weight: 400;
}

/* Breadcrumb Navigation */
.breadcrumb-nav {
  background-color: #f8f9fa;
  border-bottom: 1px solid #e9ecef;
  padding: 0.75rem 0;
}

.breadcrumb-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.breadcrumb {
  margin: 0;
  padding: 0;
  background: none;
  font-size: 0.9rem;
}

.breadcrumb-item {
  display: inline-flex;
  align-items: center;
}

.breadcrumb-item + .breadcrumb-item::before {
  content: ">";
  color: #6c757d;
  margin: 0 0.5rem;
  font-weight: normal;
}

.breadcrumb-item a {
  color: #6c757d;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.breadcrumb-item a:hover {
  color: #28a745;
  text-decoration: none;
}

.breadcrumb-item.active {
  color: #495057;
  font-weight: 500;
}

.breadcrumb-item .fas {
  font-size: 0.8rem;
}

/* Loading spinner */
.spinner {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: #fff;
  animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* File upload area */
.file-upload-area {
  border: 2px dashed #dee2e6;
  border-radius: 8px;
  padding: 2rem;
  text-align: center;
  transition: border-color 0.3s ease;
  cursor: pointer;
}

.file-upload-area:hover {
  border-color: var(--primary-color);
}

.file-upload-area.dragover {
  border-color: var(--primary-color);
  background-color: rgba(13, 110, 253, 0.05);
}

/* Progress bar */
.progress {
  height: 8px;
  border-radius: 4px;
  background-color: #e9ecef;
}

.progress-bar {
  border-radius: 4px;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb {
  background: #c1c1c1;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #a8a8a8;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .hero-section {
    text-align: center;
  }

  .hero-section h1 {
    font-size: 2rem;
  }

  .card {
    margin-bottom: 1rem;
  }
}

/* Login Page Styles */
.login-container {
  background-color: #f8f8f8;
  display: flex !important;
  flex-direction: column !important;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.login-page-title {
  color: black;
  font-size: 28px;
  text-align: center;
  margin: 30px 0px 10px 0px;
  font-family: "Crete Round", serif;
}

.login-card {
  background-color: #ffffff;
  border-radius: 3px 3px 5px 5px;
  width: 100%;
  max-width: 520px;
  overflow: hidden;
}

.btn-login,
.btn-forgot {
  position: relative;
  padding: 8px 30px;
  border: 0;
  margin: 10px 1px;
  cursor: pointer;
  border-radius: 2px;
  text-transform: uppercase;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.84);
  transition: background-color 0.2s ease,
    box-shadow 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  outline: 0 !important;
  background-color: #81c784 !important;
  font-weight: 400;
  text-align: center;
  font-size: 14px;
  font-family: Lato, sans-serif;
}

.form-group {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
  gap: 50px;
}

.form-label {
  font-family: Lato, sans-serif;
  font-size: 14px;
  display: inline-block;
  margin-bottom: 0.5rem;
  font-weight: 100;
  color: grey !important;
}

.form-input {
  flex: 1;
  border: none;
  border-bottom: 1px solid #ccc;
  background: transparent;
  padding: 8px 0;
  font-size: 14px;
  outline: none;
  color: #333;
  font-family: Lato, sans-serif;
  font-weight: 400;
}

.form-input::placeholder {
  color: #999;
  font-size: 14px;
  font-style: normal;
}

.form-input:focus {
  border-bottom-color: #81c784;
}

.login-form {
  padding: 50px 20px;
}

.login-header {
  text-align: center;
  padding: 10px 15px;
  border-bottom: 1px solid transparent;
  border-top-left-radius: 3px;
  height: 50px;
  border-top-right-radius: 3px;
  font-family: "Crete Round", serif;
  font-size: 20px;
  background-color: #eee !important;
}

.login-title {
  text-align: center;
  font-family: "Crete Round", serif;
  font-size: 20px;
  font-weight: 400;
}

.login-notice {
  color: #000;
  font-size: 14px;
  font-weight: bold;
  margin: 0;
}

.login-form {
  width: 100%;
  padding: 60px 30px;
}

.form-group {
  margin-bottom: 25px;
}

.form-label {
  display: block;
  font-weight: normal;
  color: #000;
  margin-bottom: 12px;
  font-size: 14px;
  font-family: Arial, sans-serif;
}

.form-actions {
  display: flex;
  gap: 12px;
  margin-top: 20px;
  justify-content: flex-start;
  margin-left: 105px;
}

.login-error {
  background-color: #ffebee;
  color: #c62828;
  padding: 10px 15px;
  border-radius: 4px;
  margin-bottom: 20px;
  font-size: 14px;
  border-left: 4px solid #c62828;
}

/* Responsive adjustments for login */
@media (max-width: 480px) {
  .login-card {
    padding: 30px 20px;
    margin: 10px;
  }

  .form-actions {
    flex-direction: column;
    gap: 10px;
  }

  .btn-login,
  .btn-forgot {
    width: 100%;
  }
}

/* Dashboard Styles */
.dashboard-container {
  padding: 40px 20px;
  max-width: 1200px;
  margin: 0 auto;
  display: flex !important;
  flex-direction: column !important;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
}

.dashboard-header {
  text-align: center;
  margin-bottom: 50px;
}

.dashboard-title {
  font-family: "Crete Round", serif;
  font-size: 28px;
  font-weight: 300;
  color: #333;
  margin-bottom: 10px;
}

.dashboard-subtitle {
  font-size: 16px;
  color: #666;
  margin: 0;
  font-family: Arial, sans-serif;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  justify-items: center;
  justify-content: center;
  width: 100%;
  max-width: 1200px;
}

/* Responsive: Stack on smaller screens */
@media (max-width: 1024px) {
  .dashboard-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .dashboard-grid {
    grid-template-columns: 1fr;
  }
}

.dashboard-card {
  background: transparent;
  padding: 5px;
  display: flex;
  align-items: flex-start;
  gap: 20px;
  cursor: pointer;
  width: 100%;
  max-width: 500px;
  position: relative;
  transition: all 0.3s ease;
}

/* .dashboard-card:hover {
  background: #f9f9f9;
} */

.card-icon {
  position: relative;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.icon-image {
  width: 150px;
  height: 150px;
  object-fit: contain;
}

.click-indicator {
  position: absolute;
  bottom: -5px;
  right: -5px;
  width: 25px;
  height: 25px;
}

.cursor-icon {
  width: 16px;
  height: 16px;
  background: #ff6b6b;
  border-radius: 50%;
  position: relative;
  animation: pulse 2s infinite;
}

.cursor-icon::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 24px;
  height: 24px;
  border: 2px solid #ffd93d;
  border-radius: 50%;
  animation: ripple 2s infinite;
}

.card-content {
  flex: 1;
  text-align: left;
  padding-top: 26px;
}

.card-title {
  color: #333333;
  font-family: Lato, sans-serif;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.3;
}

.card-title:hover {
  text-decoration: underline;
}

.card-description {
  font-family: Lato, sans-serif;
  font-size: 12px;
  font-weight: 400;
  color: #666;
  line-height: 1.4;
  margin: 0;
}

/* Animations */
@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes ripple {
  0% {
    transform: translate(-50%, -50%) scale(0.8);
    opacity: 1;
  }
  100% {
    transform: translate(-50%, -50%) scale(1.2);
    opacity: 0;
  }
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .dashboard-container {
    padding: 20px 15px;
  }

  .dashboard-title {
    font-size: 24px;
  }

  .dashboard-grid {
    grid-template-columns: 1fr;
  }

  .dashboard-card {
    padding: 15px;
    gap: 15px;
  }

  .icon-image {
    width: 70px;
    height: 70px;
  }

  .card-title {
    font-size: 18px;
  }

  .card-description {
    font-size: 13px;
  }
}

/* Print styles */
@media print {
  .navbar,
  footer,
  .btn,
  .no-print {
    display: none !important;
  }

  .card {
    box-shadow: none;
    border: 1px solid #dee2e6;
  }
}

/* Report Context Indicator */
.report-context {
  color: var(--secondary-color);
  font-size: 0.9rem;
  margin-top: 0.5rem;
  font-style: italic;
}

/* Top Information Bar */
.top-info-bar {
  background: #d7f4e1;
  color: #042a27;
  padding: 1px;
  font-family: "Montserrat", sans-serif !important;
  font-size: 13px;
  width: 100%;
}

.top-info-content {
  width: 97%;
  padding: 2px;
  margin-left: auto;
  margin-right: auto;
}

.helpline-info {
  display: flex;
  align-items: center;
}

.helpline-info i {
  color: #042a27;
}

.helpline-info .fa-home {
  background: #ccc;
  color: #428bca;
  border-radius: 7px;
  padding: 2px;
  margin-right: 8px;
}

/* Custom Green Header */
.custom-green-header {
  background: #38922e;
  color: white;
  padding: 1rem 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-content {
  width: 100%;
  padding: 0 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-left .logo-section {
  display: flex;
  align-items: center;
}

.logo-text .logo-main {
  font-size: 1.8rem;
  font-weight: bold;
  display: block;
  margin-bottom: 0.25rem;
}

.logo-text .logo-subtitle {
  font-size: 0.9rem;
  opacity: 0.9;
  margin-bottom: 0.1rem;
}

.logo-text .logo-description {
  font-size: 0.8rem;
  opacity: 0.8;
}

.header-right {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  align-self: flex-start;
  padding-top: 0;
}

.auth-links {
  display: flex;
  align-items: center;
}

.auth-link {
  color: #ffffff;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
}

.auth-link:hover {
  color: #ffffff;
  text-decoration: none;
}

.user-info {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.user-menu .nav-item {
  position: relative;
}

.user-menu .nav-link {
  color: white !important;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

.user-menu .nav-link:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.user-menu .dropdown-menu {
  background-color: white;
  border: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  padding: 0.5rem 0;
  min-width: 200px;
}

.user-menu .dropdown-item {
  color: var(--dark-color);
  padding: 0.5rem 1rem;
  transition: background-color 0.3s ease;
}

.user-menu .dropdown-item:hover {
  background-color: var(--light-color);
}

/* Navigation Menu */
.nav-menu {
  background-color: #f8f9fa;
  border-bottom: 1px solid #dee2e6;
  padding: 0;
}

.nav-menu .nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  max-width: 1200px;
  margin: 0 auto;
}

.nav-menu .nav-item {
  margin: 0;
}

.nav-menu .nav-link {
  display: block;
  padding: 1rem 1.5rem;
  color: var(--dark-color);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  border-bottom: 3px solid transparent;
}

.nav-menu .nav-link:hover,
.nav-menu .nav-link.active {
  background-color: white;
  color: var(--primary-color);
  border-bottom-color: var(--primary-color);
}

/* Stamp Verify Page Styles - Main Heading and Centered Container */

/* Main Page Heading */
.main-page-heading {
  box-sizing: border-box;
  color: rgb(0, 0, 0);
  display: block;
  font-family: "Crete Round", serif;
  font-size: 28px;
  font-weight: 300;
  height: 73.6px;
  line-height: 33.6px;
  margin-block-end: 7px;
  margin-block-start: 30px;
  margin-bottom: 7px;
  margin-inline-end: 0px;
  margin-inline-start: 1px;
  margin-top: 30px;
  padding-bottom: 40px;
  text-align: center;
  text-size-adjust: 100%;
  unicode-bidi: isolate;
  width: 1070.8px;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  margin-left: auto;
  margin-right: auto;
}

/* Centered Container - Main container with specified styling */
.centered-container {
  box-sizing: border-box;
  color: rgb(33, 37, 41);
  display: block;
  flex-basis: 100%;
  flex-grow: 0;
  flex-shrink: 0;
  font-family: Lato, sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 21px;
  max-width: 100%;
  min-height: 1px;
  padding-left: 15px;
  padding-right: 15px;
  position: relative;
  text-align: left;
  text-size-adjust: 100%;
  unicode-bidi: isolate;
  width: 1100px;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  margin: 0 auto 15px auto;
}

/* Search Header */
.search-header {
  background-color: #eeeeee;
  box-sizing: border-box;
  color: rgb(33, 37, 41);
  display: flex;
  align-items: center;
  font-family: "Crete Round", serif;
  font-size: 20px;
  font-weight: 400;
  height: 40px;
  line-height: 30px;
  text-align: left;
  text-size-adjust: 100%;
  unicode-bidi: isolate;
  width: 100%;
  padding: 0;
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
}

.search-header i {
  margin-right: 10px;
  font-size: 18px;
}

.search-header {
  padding-left: 10px;
  padding-right: 10px;
}

/* Inner Container - Inside the form */
.inner-form-container {
  background-color: rgb(255, 255, 255);
  border-bottom-left-radius: 5px;
  border-bottom-right-radius: 5px;
  box-sizing: border-box;
  color: rgb(33, 37, 41);
  display: block;
  flex-basis: 100%;
  flex-grow: 0;
  flex-shrink: 0;
  font-family: Lato, sans-serif;
  font-size: 14px;
  font-weight: 400;
  height: 150px;
  line-height: 21px;
  margin-bottom: 0;
  max-width: 100%;
  min-height: 1px;
  padding: 0;
}

/* Validity Message Styles - Override inherited styles */
#validity-message,
.validity-message {
  color: rgb(255, 0, 0) !important;
  font-family: MehrNastaliqWeb, "Crete Round", serif !important;
  font-size: 18px !important;
  font-weight: 600 !important;
  line-height: 27px !important;
  margin-top: 25px !important;
  text-align: left !important;
  width: 650.094px !important;
  word-spacing: 2px !important;
  box-sizing: border-box !important;
  display: block !important;
  text-size-adjust: 100% !important;
  unicode-bidi: isolate !important;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0) !important;
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  position: relative;
  text-align: left;
  text-size-adjust: 100%;
  unicode-bidi: isolate;
  width: 100%;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

/* Search form elements - clean design */
.inner-form-container {
  padding: 40px 25px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  min-height: 100px;
}

.search-input-container {
  display: flex;
  gap: 15px;
  align-items: center;
  width: 100%;
  max-width: 500px;
  justify-content: flex-start;
}

/* Floating label container */
.search-input-container .floating-label {
  position: relative;
  flex: 1;
}

.search-input {
  width: 100%;
  padding: 12px 0 6px 0;
  border: none !important;
  border-bottom: 1px solid #ddd !important;
  background: transparent;
  font-family: Lato, sans-serif;
  font-size: 16px;
  font-weight: 300;
  color: #333;
  outline: none;
  transition: border-color 0.3s ease;
  text-align: left;
}

/* Floating label */
.search-input-container .floating-label label {
  position: absolute;
  left: 0;
  top: 12px;
  color: #999;
  font-size: 16px;
  font-weight: 300;
  pointer-events: none;
  transition: 0.2s ease all;
  transform-origin: left top;
  font-family: Lato, sans-serif;
}

/* Floating label animation */
.search-input-container .floating-label input:focus + label,
.search-input-container .floating-label input:not(:placeholder-shown) + label {
  top: -8px;
  font-size: 13px;
  color: #81c784;
  font-weight: 500;
}

.search-input-container .floating-label input::placeholder {
  color: transparent;
  font-size: 16px;
  font-style: normal;
}

.search-input:focus {
  border-bottom-color: #81c784;
}

.search-input::placeholder {
  color: #999;
  font-family: Lato, sans-serif;
  font-size: 16px;
  font-weight: 300;
}

.btn-search {
  background-color: #81c784 !important;
  color: rgba(255, 255, 255, 0.84);
  border: none;
  border-radius: 4px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 24px;
  font-family: Lato, sans-serif;
  font-size: 14px;
  font-weight: 400;
  text-transform: uppercase;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: background-color 0.3s ease;
  height: 40px;
  min-width: 120px;
}

.btn-search:hover {
  background-color: #6bb06b;
}

.btn-search i {
  font-family: FontAwesome;
  font-size: 18.6667px;
  font-weight: 400;
  text-transform: uppercase;
  vertical-align: -15%;
  width: 20px;
  height: 14px;
  line-height: 14px;
  text-align: center;
  box-sizing: border-box;
  color: rgba(255, 255, 255, 0.84);
  cursor: pointer;
  display: inline-block;
  font-feature-settings: normal;
  font-kerning: auto;
  font-optical-sizing: auto;
  font-size-adjust: none;
  font-stretch: 100%;
  font-style: normal;
  font-variant-alternates: normal;
  font-variant-caps: normal;
  font-variant-east-asian: normal;
  font-variant-emoji: normal;
  font-variant-ligatures: normal;
  font-variant-numeric: normal;
  font-variant-position: normal;
  font-variation-settings: normal;
  letter-spacing: normal;
  text-rendering: auto;
  text-shadow: none;
  text-size-adjust: 100%;
  user-select: none;
  word-spacing: 0px;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

.search-message {
  margin-top: 10px;
  padding: 8px 12px;
  border-radius: 4px;
  font-size: 14px;
}

.search-message.success {
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.search-message.error {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

.section-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid #e9ecef;
}

.section-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.2rem;
}

.section-title {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--dark-color);
  margin: 0;
}

.search-form {
  max-width: 600px;
  margin: 0 auto;
}

.search-input-group {
  margin-bottom: 1.5rem;
}

.search-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--dark-color);
  font-size: 1.1rem;
}

.search-input-container {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.search-input {
  flex: 1;
  padding: 0.75rem 1rem;
  border: 2px solid #e9ecef;
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.search-input:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(13, 110, 253, 0.1);
}

.btn-search {
  background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
  color: white;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
}

.btn-search:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
}

.btn-search:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.search-help-text {
  color: var(--secondary-color);
  font-size: 0.9rem;
  margin-top: 0.5rem;
  text-align: left;
}

.search-message {
  padding: 1rem;
  border-radius: 8px;
  margin-top: 1rem;
  font-weight: 500;
}

.search-message.success {
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.search-message.error {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

/* Results Section */
.results-section {
  background: white;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 2rem;
  margin-bottom: 2rem;
}

.result-section {
  margin-bottom: 2rem;
}

.result-section:last-child {
  margin-bottom: 0;
}

.amount-info {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.amount-details,
.status-info {
  background: #f8f9fa;
  padding: 1.5rem;
  border-radius: 8px;
}

.amount-row,
.status-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.amount-row:last-child,
.status-row:last-child {
  margin-bottom: 0;
}

.amount-label,
.status-label {
  font-weight: 500;
  color: var(--dark-color);
}

.amount-value,
.status-value {
  font-weight: bold;
  color: var(--primary-color);
}

/* Tables */
.table-container {
  margin-top: 1rem;
  overflow-x: auto;
}

.stamps-table,
.applicant-table {
  width: 100%;
  border-collapse: collapse;
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.stamps-table th,
.stamps-table td,
.applicant-table th,
.applicant-table td {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid #e9ecef;
}

.stamps-table th,
.applicant-table th {
  background: #f8f9fa;
  font-weight: 600;
  color: var(--dark-color);
}

.stamps-table tbody tr:hover,
.applicant-table tbody tr:hover {
  background-color: #f8f9fa;
}

/* Print Section */
.print-section {
  text-align: center;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 2px solid #e9ecef;
}

.btn-print {
  background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
  color: white;
  border: none;
  padding: 1rem 2rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-print:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
  .search-input-container {
    flex-direction: column;
    align-items: stretch;
  }

  .btn-search {
    justify-content: center;
  }

  .amount-info {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .section-header {
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
  }
}

/* Footer */
.footer {
  background-color: var(--dark-color);
  color: white;
  padding: 2rem 0;
  margin-top: 3rem;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-left {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-left .footer-logo {
  font-weight: bold;
  font-size: 1.2rem;
}

.footer-left .footer-description {
  font-size: 0.9rem;
  opacity: 0.8;
}

.footer-right {
  font-size: 0.9rem;
  opacity: 0.8;
}

/* Reports Page Styles */
.reports-page {
  background-color: #f5f5f5;
  min-height: 100vh;
  padding: 20px;
}

.page-title {
  text-align: center;
  margin-bottom: 30px;
}

.page-title h1 {
  font-size: 2.5rem;
  font-weight: bold;
  color: #000;
  margin: 0;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

.reports-main-container {
  width: 100%;
  max-width: 1070px;

  margin: 0 auto;
  background-color: #ffffff;
  border-radius: 0;
  box-shadow: none;
  overflow: hidden;
}

.reports-main-header {
  background-color: rgb(238, 238, 238);
  box-sizing: border-box;
  display: flex;
  align-items: center;
  height: 40px;
  line-height: 30px;
  text-align: left;
  border-bottom: 1px solid #d0d0d0;
  padding: 5px 20px 5px 30px;
}

.reports-main-header i {
  color: rgb(33, 37, 41);
  font-size: 20px;
  display: inline-block;
  vertical-align: middle;
  margin-right: 10px;
}

.reports-main-header h3 {
  display: inline-block;
  color: rgb(33, 37, 41);
  font-weight: 400;
  font-size: 20px;
  margin: 0;
  font-family: "Crete Round", serif;
  line-height: 30px;
  vertical-align: middle;
}

.reports-container {
  box-sizing: border-box;
  color: rgb(33, 37, 41);
  column-gap: 20px;
  display: flex !important;
  flex-direction: column !important;
  font-family: Roboto, "Helvetica Neue", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 21px;
  margin: 0 auto 15px auto;
  max-width: 1400px;
  padding: 25px;
  padding-top: 25px;
  padding-bottom: 25px;
  padding-left: 25px;
  padding-right: 25px;
  row-gap: 0;
  text-align: left;
  align-items: stretch;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

/* Radio Selection Container - Left Aligned */
.radio-selection-container {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  width: 100%;
  margin-bottom: 20px;
}

/* Report Title Container - Centered */
.report-title-container {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin-bottom: 0;
}

.radio-group {
  display: flex !important;
  flex-direction: column !important;
  gap: 15px;
  align-items: flex-start;
  justify-content: flex-start;
  box-shadow: none;
  -webkit-box-shadow: none;
  width: auto;
}

.radio-option {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-family: Lato, sans-serif;
  box-shadow: none;
  -webkit-box-shadow: none;
}

.radio-option input[type="radio"] {
  display: none;
}

.radio-custom {
  width: 18px;
  height: 18px;
  border: 2px solid #ccc;
  border-radius: 50%;
  position: relative;
  transition: all 0.2s ease;
  box-shadow: none;
  -webkit-box-shadow: none;
  background-color: transparent;
}

.radio-option input[type="radio"]:checked + .radio-custom {
  border-color: #28a745;
  background-color: #28a745;
  box-shadow: none;
  -webkit-box-shadow: none;
}

.radio-option input[type="radio"]:checked + .radio-custom::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 8px;
  height: 8px;
  background-color: white;
  border-radius: 50%;
  box-shadow: none;
  -webkit-box-shadow: none;
}

.radio-label {
  color: #333;
  font-family: Lato, sans-serif;
  font-size: 14px;
  font-weight: 300;
  box-shadow: none;
  -webkit-box-shadow: none;
}

.report-main-title {
  box-sizing: border-box;
  color: rgb(0, 0, 0);
  display: block;
  font-family: "Crete Round", serif;
  font-size: 28px;
  font-weight: 300 !important;
  height: auto;
  line-height: 1.2;
  margin: 30px 0 0 0;
  padding-bottom: 15px;
  text-align: center;
  text-size-adjust: 100%;
  unicode-bidi: isolate;
  width: 900px;
  max-width: 100%;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  letter-spacing: 0.5px;
}

/* Stamp Form Container - Clean Design */
.stamp-form-container {
  background-color: #ffffff;
  border: none;
  border-radius: 0;
  width: 900px;
  max-width: 100%;
  margin: 0 auto 0 auto;
  box-shadow: none;
  -webkit-box-shadow: none;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stamp-form-header {
  background-color: rgb(238, 238, 238);
  border-bottom: none;
  padding: 20px 20px 20px 22px;
  display: flex;
  align-items: center;
  margin: 0;
  width: 100%;
  box-shadow: none;
  -webkit-box-shadow: none;
  box-sizing: border-box;
  color: rgb(33, 37, 41);
  font-family: "Crete Round", serif;
  font-size: 20px;
  font-weight: 400;
  height: 40px;
  line-height: 30px;
  text-align: left;
  text-size-adjust: 100%;
  unicode-bidi: isolate;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

.stamp-form-header i {
  color: rgb(33, 37, 41);
  font-size: 20px;
  display: inline-block;
  vertical-align: middle;
  margin-right: 10px;
}

.stamp-form-header h3 {
  color: rgb(33, 37, 41);
  font-weight: 400;
  font-size: 20px;
  margin: 0;
  font-family: "Crete Round", serif;
  display: inline-block;
  vertical-align: middle;
  line-height: 30px;
}

.stamp-form-body {
  background-color: rgb(255, 255, 255);
  border-bottom-left-radius: 5px;
  border-bottom-right-radius: 5px;
  box-sizing: border-box;
  color: rgb(33, 37, 41);
  display: block;
  flex-basis: 100%;
  flex-grow: 0;
  flex-shrink: 0;
  font-family: Lato, sans-serif;
  font-size: 14px;
  font-weight: 400;
  height: 200px;
  line-height: 21px;
  margin-bottom: 0;
  max-width: 100%;
  padding-bottom: 0;
  padding-left: 25px;
  padding-right: 25px;
  padding-top: 25px;
  position: relative;
  text-align: left;
  text-size-adjust: 100%;
  unicode-bidi: isolate;
  width: 900px;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  box-shadow: none;
  -webkit-box-shadow: none;
  margin: 0 auto 0 auto;
}

.filter-options {
  margin: 0 0 25px 0;
  padding: 0 0 15px 0;
  text-align: left;
}

.filter-options .radio-group {
  display: flex !important;
  flex-direction: column !important;
  gap: 15px;
  align-items: flex-start;
  justify-content: flex-start;
  box-shadow: none;
  -webkit-box-shadow: none;
  margin: 0;
  width: 100%;
}

.date-inputs {
  display: flex;
  gap: 20px;
  align-items: flex-end;
  flex-wrap: wrap;
  justify-content: center;
  margin: 0 auto;
}

.date-group {
  display: flex !important;
  flex-direction: column !important;
  gap: 5px;
  flex: 1;
  min-width: 150px;
}

.date-group label {
  font-size: 14px;
  color: #495057;
  font-weight: 500;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  margin: 0;
}

.date-input-container {
  position: relative;
  display: flex;
  align-items: center;
}

.date-input {
  width: 100%;
  padding: 10px 35px 10px 12px;
  border: none;
  border-bottom: 1px solid #ced4da;
  background-color: transparent;
  font-size: 14px;
  color: #495057;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  transition: border-color 0.2s ease;
  outline: none;
}

.date-input:focus {
  border-bottom-color: #007bff;
}

.date-input:read-only {
  background-color: transparent;
  cursor: pointer;
}

.date-icon {
  position: absolute;
  right: 12px;
  color: #6c757d;
  font-size: 14px;
  pointer-events: none;
}

.btn-get-report {
  box-sizing: border-box;
  color: white;
  display: block;
  flex-basis: 16.6667%;
  flex-grow: 0;
  flex-shrink: 0;
  font-family: Lato, sans-serif;
  font-size: 14px;
  font-weight: 400;
  height: 40px;
  line-height: 21px;
  margin-bottom: 14px;
  margin-top: 10px;
  max-width: 16.6667%;
  padding-left: 8px;
  padding-right: 8px;
  position: relative;
  text-align: center;
  text-size-adjust: 100%;
  unicode-bidi: isolate;
  width: 90px;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  background-color: #81c784;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.2s ease;
  white-space: nowrap;
  box-shadow: none;
  -webkit-box-shadow: none;
}

.btn-get-report:hover {
  background-color: #66bb6a;
}

.search-inputs {
  display: flex;
  gap: 20px;
  align-items: flex-end;
  flex-wrap: wrap;
}

.search-group {
  display: flex !important;
  flex-direction: column !important;
  gap: 5px;
  flex: 1;
  min-width: 200px;
}

.search-group label {
  font-size: 12px;
  color: #666;
  font-weight: normal;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

.search-input {
  width: 100%;
  padding: 8px 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 14px;
  background-color: white;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

.search-input:focus {
  outline: none;
  border-color: #007bff;
  box-shadow: none;
}

.error-message {
  color: #dc3545;
  font-size: 14px;
  margin-top: 10px;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

/* Results Section */
.results-section {
  background-color: #ffffff;
  border-radius: 0;
  box-shadow: none;
  margin-top: 0;
  width: 100%;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.results-section .card-header {
  background-color: #eeeeee;
  padding: 15px 20px;
  border-radius: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid #d0d0d0;
}

.results-section .card-header i {
  color: #333;
  font-size: 16px;
}

.results-section .card-header h3 {
  color: #000;
  font-weight: bold;
  font-size: 16px;
  margin: 0;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

.results-section .card-body {
  padding: 20px;
}

.export-section {
  margin-bottom: 20px;
  text-align: center;
}

/* Override for results container */
.results-content-container .export-section {
  text-align: left !important;
  margin-bottom: 0 !important;
  margin-top: -25px !important;
  margin-left: -25px !important;
  margin-right: -25px !important;
  padding: 15px 25px !important;
  display: flex !important;
  justify-content: flex-start !important;
  align-items: center !important;
  width: calc(100% + 50px) !important;
  background-color: #f5f5f5 !important;
  border: none !important;
  box-sizing: border-box !important;
}

.btn-export-pdf {
  background-color: #dc3545;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* Override for results container */
.results-content-container .btn-export-pdf {
  /* Alignment & Display */
  align-items: center !important;
  display: inline-flex !important;
  justify-content: center !important;
  vertical-align: middle !important;

  /* Appearance */
  appearance: none !important;
  -webkit-appearance: none !important;

  /* Background & Colors */
  background-color: rgb(56, 146, 46) !important;
  color: rgb(255, 255, 255) !important;

  /* Borders */
  border: 0px solid rgb(255, 255, 255) !important;
  border-radius: 2px !important;
  border-top-left-radius: 2px !important;
  border-top-right-radius: 2px !important;
  border-bottom-left-radius: 2px !important;
  border-bottom-right-radius: 2px !important;
  border-image: none !important;
  -webkit-border-image: none !important;

  /* Box Model */
  box-sizing: border-box !important;
  box-shadow: none !important;

  /* Dimensions */
  height: 36px !important;
  width: 159.781px !important;
  min-width: 0px !important;

  /* Margins */
  margin: 0 !important;
  margin-top: 0px !important;
  margin-right: auto !important;
  margin-bottom: 0px !important;
  margin-left: 0px !important;
  align-self: flex-start !important;

  /* Padding */
  padding: 8px 16px !important;
  padding-top: 8px !important;
  padding-right: 16px !important;
  padding-bottom: 8px !important;
  padding-left: 16px !important;
  padding-inline-start: 16px !important;
  padding-inline-end: 16px !important;
  padding-block-start: 8px !important;
  padding-block-end: 8px !important;

  /* Typography */
  font-family: Lato, sans-serif !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  font-style: normal !important;
  font-stretch: 100% !important;
  font-variant: normal !important;
  font-variant-ligatures: normal !important;
  font-variant-caps: normal !important;
  font-variant-numeric: normal !important;
  font-variant-east-asian: normal !important;
  font-variant-alternates: normal !important;
  font-variant-position: normal !important;
  font-variant-emoji: normal !important;
  font-feature-settings: normal !important;
  font-variation-settings: normal !important;
  font-kerning: auto !important;
  font-optical-sizing: auto !important;
  font-size-adjust: none !important;
  line-height: 20px !important;
  letter-spacing: normal !important;
  word-spacing: 0px !important;

  /* Text */
  text-align: center !important;
  text-transform: uppercase !important;
  text-decoration: none !important;
  text-decoration-line: none !important;
  text-decoration-style: solid !important;
  text-decoration-color: rgb(255, 255, 255) !important;
  text-decoration-thickness: auto !important;
  text-indent: 0px !important;
  text-shadow: none !important;
  text-rendering: auto !important;
  text-size-adjust: 100% !important;
  text-wrap-mode: nowrap !important;
  white-space-collapse: collapse !important;

  /* Positioning */
  position: relative !important;

  /* Overflow */
  overflow-x: visible !important;
  overflow-y: visible !important;

  /* Outline */
  outline: none !important;
  outline-style: none !important;
  outline-width: 0px !important;
  outline-color: rgb(255, 255, 255) !important;

  /* Cursor & User Interaction */
  cursor: pointer !important;
  user-select: none !important;
  -webkit-user-select: none !important;

  /* Direction */
  direction: ltr !important;
  unicode-bidi: isolate !important;

  /* Transition */
  transition-property: box-shadow !important;
  transition-duration: 0.28s !important;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1) !important;
  transition-delay: 0s !important;
  transition-behavior: normal !important;

  /* Webkit Specific */
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0) !important;
}

.btn-export-pdf:hover {
  background-color: #c82333;
}

/* Override hover for results container */
.results-content-container .btn-export-pdf:hover {
  background-color: #2d7224 !important;
}

.table-container {
  overflow-x: auto;
  margin-bottom: 20px;
  width: 100%;
}

.reports-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background-color: white;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 4px;
  overflow: hidden;
  font-family: Lato, sans-serif;
}

.reports-table thead {
  background-color: #39922e;
}

.reports-table th {
  background-color: #39922e;
  color: white;
  font-weight: 600;
  font-size: 14px;
  padding: 12px 16px;
  text-align: left;
  border-right: 1px solid rgba(255, 255, 255, 0.2);
  border-bottom: 2px solid rgba(0, 0, 0, 0.12);
  white-space: nowrap;
  line-height: 21px;
}

.reports-table th:last-child {
  border-right: none;
}

.reports-table tbody tr {
  background-color: white;
  transition: background-color 0.2s ease;
}

.reports-table tbody tr:hover {
  background-color: rgba(0, 0, 0, 0.02);
}

.reports-table tbody tr:not(:last-child) {
  border-bottom: 1px solid rgba(0, 0, 0, 0.12);
}

.reports-table td {
  padding: 12px 16px;
  text-align: left;
  border-right: 1px solid rgba(0, 0, 0, 0.12);
  color: rgba(0, 0, 0, 0.87);
  font-size: 14px;
  line-height: 21px;
  vertical-align: top;
  word-wrap: break-word;
  box-sizing: border-box;
}

.reports-table td:last-child {
  border-right: none;
}

/* Specific styling for results-content-container tables */
.results-content-container .table-container {
  width: calc(100% + 50px) !important;
  margin-left: -25px !important;
  margin-right: -25px !important;
  margin-top: 15px !important;
  margin-bottom: 60px !important;
  overflow-x: auto !important;
  padding: 0 !important;
}

.results-content-container .reports-table {
  width: 100% !important;
  min-width: 100% !important;
  table-layout: auto !important;
  border-left: none !important;
  border-right: none !important;
  border-radius: 0 !important;
}

.results-content-container .reports-table th {
  background-color: #39922e !important;
  color: white !important;
  border-right: 1px solid rgba(255, 255, 255, 0.2) !important;
  border-bottom: 2px solid rgba(0, 0, 0, 0.12) !important;
}

.results-content-container .reports-table td {
  border-right: 1px solid rgba(0, 0, 0, 0.12) !important;
}

.results-content-container .reports-table th:last-child,
.results-content-container .reports-table td:last-child {
  border-right: none !important;
}

/* Make table responsive and stretch */
@media (max-width: 1200px) {
  .results-content-container .table-container {
    overflow-x: auto !important;
  }

  .results-content-container .reports-table {
    min-width: 800px !important;
  }
}

.pagination-section {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
}

.pagination-controls {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-pagination {
  background-color: #6c757d;
  color: white;
  border: none;
  padding: 8px 12px;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

.btn-pagination:hover:not(:disabled) {
  background-color: #5a6268;
}

.btn-pagination:disabled {
  background-color: #ccc;
  cursor: not-allowed;
}

.page-indicator {
  background-color: #007bff;
  color: white;
  padding: 8px 12px;
  border-radius: 4px;
  font-weight: bold;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

.items-per-page select {
  padding: 8px 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 14px;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

.pagination-info {
  color: #666;
  font-size: 14px;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

.text-center {
  text-align: center;
}

/* Responsive Design */
@media (max-width: 768px) {
  .reports-container {
    padding: 20px;
    gap: 20px;
  }

  .reports-main-header {
    padding: 10px 15px;
  }

  .reports-main-header h3 {
    font-size: 14px;
  }

  .date-inputs {
    flex-direction: column;
    align-items: stretch;
  }

  .search-inputs {
    flex-direction: column;
    align-items: stretch;
  }

  .filter-options .radio-group {
    flex-direction: column;
    gap: 15px;
  }

  .pagination-section {
    flex-direction: column;
    gap: 10px;
  }
}

@media (max-width: 480px) {
  .reports-page {
    padding: 10px;
  }

  .reports-container {
    padding: 15px;
  }

  .page-title h1 {
    font-size: 2rem;
  }

  .report-main-title {
    font-size: 1.3rem;
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .header-content {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .nav-menu .nav-list {
    flex-direction: column;
  }

  .nav-menu .nav-link {
    text-align: center;
  }

  .footer-content {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .footer-info-section {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
  }

  .footer-column {
    text-align: center;
  }
}

/* Date Input Styling */
.date-input-container {
  position: relative;
  display: flex;
  align-items: center;
}

.date-input {
  width: 100%;
  padding: 10px 40px 10px 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 14px;
  font-family: "Lato", sans-serif;
  background: white;
  cursor: pointer;
  transition: border-color 0.2s ease;
}

.date-input:focus {
  outline: none;
  border-color: #81c784;
  box-shadow: 0 0 0 2px rgba(129, 199, 132, 0.2);
}

.date-icon {
  position: absolute;
  right: 12px;
  color: #666;
  cursor: pointer;
  transition: color 0.2s ease;
  z-index: 1;
}

.date-icon:hover {
  color: #81c784;
}

#results-section {
  max-width: 1070px;
  margin: 0 auto;
}

/* Two-column layout for Total Payable Amount section */
.total-amount-display .form-row {
  display: flex !important;
  flex-wrap: nowrap !important;
  justify-content: space-between !important;
  margin-bottom: 20px !important;
  gap: 40px !important;
}

.total-amount-display .form-group {
  flex: 1 !important;
  display: flex !important;
  flex-direction: column !important;
  box-sizing: border-box !important;
  position: relative !important;
  min-width: 0 !important;
}

/* Styling for label text only - following exact specifications */
.total-amount-display .label-text {
  background-color: rgba(0, 0, 0, 0) !important;
  box-sizing: border-box !important;
  color: rgb(0, 0, 0) !important;
  display: block !important;
  font-family: Lato, sans-serif !important;
  font-size: 14px !important;
  font-style: normal !important;
  font-weight: 700 !important;
  height: 21px !important;
  line-height: 21px !important;
  margin-bottom: 8px !important;
  padding: 0 !important;
  position: relative !important;
  text-align: left !important;
  text-size-adjust: 100% !important;
  unicode-bidi: isolate !important;
  width: 100% !important;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0) !important;
}

/* Value text - no additional styling, just basic display */
.total-amount-display .value-text {
  display: block !important;
  margin-top: 0 !important;
  padding: 0 !important;
  font-family: Lato, sans-serif !important;
  font-size: 14px !important;
  font-weight: 400 !important;
  line-height: 21px !important;
  color: rgb(0, 0, 0) !important;
}

/* Report page styling - remove all styling effects from results section */
.results-section {
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  box-shadow: none !important;
  background: transparent !important;
  border-radius: 0 !important;
}

.results-section .stamp-form-header {
  align-items: center !important;
  background-color: rgb(238, 238, 238) !important;
  border-bottom-color: rgb(233, 236, 239) !important;
  border-bottom-style: solid !important;
  border-bottom-width: 1px !important;
  box-shadow: none !important;
  box-sizing: border-box !important;
  color: rgb(33, 37, 41) !important;
  display: flex !important;
  font-family: "Crete Round", serif !important;
  font-size: 20px !important;
  font-weight: 400 !important;
  height: 41px !important;
  line-height: 30px !important;
  margin: 0 auto !important;
  padding-bottom: 20px !important;
  padding-left: 22px !important;
  padding-right: 20px !important;
  padding-top: 20px !important;
  text-align: left !important;
  text-size-adjust: 100% !important;
  unicode-bidi: isolate !important;
  width: 900px !important;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0) !important;
  overflow: hidden !important;
  white-space: nowrap !important;
  text-overflow: ellipsis !important;
}

.results-section .card-body {
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  box-shadow: none !important;
  background: transparent !important;
  border-radius: 0 !important;
}

/* Ensure no spacing between the report form and results section */
.stamp-form-container + .results-section {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* Remove any container styling that might add borders or shadows */
.results-section * {
  border: none !important;
  box-shadow: none !important;
}

/* Results content container styling - dynamic height */
.results-content-container {
  background-color: rgb(255, 255, 255) !important;
  border: 1px solid #e9ecef !important;
  border-bottom-left-radius: 5px !important;
  border-bottom-right-radius: 5px !important;
  box-sizing: border-box !important;
  color: rgb(33, 37, 41) !important;
  display: block !important;
  flex-basis: 100% !important;
  flex-grow: 0 !important;
  flex-shrink: 0 !important;
  font-family: Lato, sans-serif !important;
  font-size: 14px !important;
  font-weight: 400 !important;
  min-height: 200px !important;
  height: auto !important;
  line-height: 21px !important;
  margin: 20px auto 0 auto !important;
  max-width: 100% !important;
  padding-bottom: 80px !important;
  padding-left: 25px !important;
  padding-right: 25px !important;
  padding-top: 25px !important;
  position: relative !important;
  text-align: left !important;
  text-size-adjust: 100% !important;
  unicode-bidi: isolate !important;
  width: 900px !important;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0) !important;
  box-shadow: none !important;
  transition: height 0.3s ease !important;
}

/* Dynamic height based on number of reports and items per page */
.results-content-container[data-reports="0"] {
  min-height: 250px !important;
  height: 250px !important;
  padding-bottom: 25px !important;
}

/* Add spacing between sections when no data */
.results-content-container[data-reports="0"] .export-section {
  margin-bottom: 20px !important;
}

.results-content-container[data-reports="0"] .table-container {
  margin-top: 20px !important;
  margin-bottom: 20px !important;
  max-height: 100px !important;
  overflow: hidden !important;
}

.results-content-container[data-reports="0"] .pagination-section {
  margin-top: 20px !important;
}

.results-content-container[data-items="5"] {
  min-height: 450px !important;
  height: auto !important;
  max-height: none !important;
}

.results-content-container[data-items="10"] {
  min-height: 650px !important;
  height: auto !important;
  max-height: none !important;
}

.results-content-container[data-items="25"] {
  min-height: 1200px !important;
  height: auto !important;
  max-height: none !important;
}

.results-content-container[data-items="50"] {
  min-height: 2200px !important;
  height: auto !important;
  max-height: none !important;
}

/* Pagination positioning - inside container at bottom */
.results-content-container .pagination-section {
  /* Positioning - Full width for border */
  position: absolute !important;
  bottom: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  margin: 0 !important;

  /* Alignment & Display */
  align-items: center !important;
  display: flex !important;
  flex-basis: auto !important;
  flex-grow: 0 !important;
  flex-shrink: 0 !important;

  /* Background & Colors */
  background-color: rgb(255, 255, 255) !important;
  color: rgba(0, 0, 0, 0.54) !important;

  /* Borders - Full width top border */
  border-top: 1px solid rgba(0, 0, 0, 0.12) !important;
  border-top-style: solid !important;
  border-top-width: 1px !important;
  border-top-color: rgba(0, 0, 0, 0.12) !important;

  border-bottom: 0px solid rgba(0, 0, 0, 0.12) !important;
  border-bottom-style: solid !important;
  border-bottom-width: 0px !important;
  border-bottom-color: rgba(0, 0, 0, 0.12) !important;

  border-left: 0px solid rgba(0, 0, 0, 0.12) !important;
  border-left-style: solid !important;
  border-left-width: 0px !important;
  border-left-color: rgba(0, 0, 0, 0.12) !important;

  border-right: 0px solid rgba(0, 0, 0, 0.12) !important;
  border-right-style: solid !important;
  border-right-width: 0px !important;
  border-right-color: rgba(0, 0, 0, 0.12) !important;

  /* Box Model */
  box-sizing: border-box !important;
  box-shadow: none !important;

  /* Dimensions */
  height: 57px !important;

  /* Padding */
  padding: 10px !important;
  padding-top: 10px !important;
  padding-right: 10px !important;
  padding-bottom: 10px !important;
  padding-left: 10px !important;

  /* Typography */
  font-family: Lato, sans-serif !important;
  font-size: 14px !important;
  font-weight: 400 !important;
  line-height: 28px !important;

  /* Text */
  text-align: left !important;
  text-size-adjust: 100% !important;
  text-wrap-mode: wrap !important;
  white-space-collapse: collapse !important;

  /* Overflow */
  overflow-x: hidden !important;
  overflow-y: hidden !important;

  /* Outline */
  outline: none !important;
  outline-style: none !important;
  outline-width: 0px !important;
  outline-color: rgba(0, 0, 0, 0.54) !important;

  /* Cursor */
  cursor: default !important;

  /* Webkit Specific */
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0) !important;
}

/* Inner container for pagination controls - 848px width */
.results-content-container .pagination-section::before {
  content: "" !important;
  position: absolute !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  width: 848px !important;
  height: 100% !important;
  pointer-events: none !important;
}

/* Pagination controls wrapper - centered 848px */
.results-content-container .pagination-controls {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 10px !important;
  flex-wrap: nowrap !important;
  width: 848px !important;
  max-width: 848px !important;
  margin: 0 auto !important;
  position: relative !important;
  z-index: 1 !important;
}

/* Left group - navigation buttons */
.results-content-container .pagination-controls > div:first-child {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
}

/* Pagination arrow buttons - small triangles no background */
.results-content-container .btn-pagination {
  background: transparent !important;
  border: none !important;
  width: 24px !important;
  height: 24px !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  transition: background-color 0.2s ease !important;
  position: relative !important;
  padding: 0 !important;
}

/* Hide the font awesome icons */
.results-content-container .btn-pagination i {
  display: none !important;
}

/* Create custom small triangle using CSS */
.results-content-container .btn-pagination::before {
  content: "" !important;
  width: 0 !important;
  height: 0 !important;
  border-style: solid !important;
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
}

/* Previous button - left pointing small triangle */
.results-content-container .btn-pagination#prev-btn::before,
.results-content-container .btn-pagination:first-child::before {
  border-width: 4px 6px 4px 0 !important;
  border-color: transparent rgba(0, 0, 0, 0.54) transparent transparent !important;
  transform: translate(-50%, -50%) !important;
}

/* Next button - right pointing small triangle */
.results-content-container .btn-pagination#next-btn::before {
  border-width: 4px 0 4px 6px !important;
  border-color: transparent transparent transparent rgba(0, 0, 0, 0.54) !important;
  transform: translate(-50%, -50%) !important;
}

/* First page button - double left triangle */
.results-content-container .btn-first::before {
  border-width: 4px 6px 4px 0 !important;
  border-color: transparent rgba(0, 0, 0, 0.54) transparent transparent !important;
  transform: translate(-65%, -50%) !important;
}

.results-content-container .btn-first::after {
  content: "" !important;
  width: 0 !important;
  height: 0 !important;
  border-style: solid !important;
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  border-width: 4px 6px 4px 0 !important;
  border-color: transparent rgba(0, 0, 0, 0.54) transparent transparent !important;
  transform: translate(-35%, -50%) !important;
}

/* Last page button - double right triangle */
.results-content-container .btn-last::before {
  border-width: 4px 0 4px 6px !important;
  border-color: transparent transparent transparent rgba(0, 0, 0, 0.54) !important;
  transform: translate(-35%, -50%) !important;
}

.results-content-container .btn-last::after {
  content: "" !important;
  width: 0 !important;
  height: 0 !important;
  border-style: solid !important;
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  border-width: 4px 0 4px 6px !important;
  border-color: transparent transparent transparent rgba(0, 0, 0, 0.54) !important;
  transform: translate(-65%, -50%) !important;
}

.results-content-container .btn-pagination:hover {
  background-color: rgba(0, 0, 0, 0.04) !important;
}

.results-content-container .btn-pagination:disabled {
  cursor: not-allowed !important;
  opacity: 0.3 !important;
}

.results-content-container .btn-pagination:disabled::before {
  border-color: transparent rgba(0, 0, 0, 0.26) transparent transparent !important;
}

.results-content-container .btn-pagination:disabled#next-btn::before {
  border-color: transparent transparent transparent rgba(0, 0, 0, 0.26) !important;
}

.results-content-container .btn-pagination:disabled::after {
  border-color: transparent rgba(0, 0, 0, 0.26) transparent transparent !important;
}

.results-content-container .btn-last:disabled::after {
  border-color: transparent transparent transparent rgba(0, 0, 0, 0.26) !important;
}

/* Ellipsis (three dots) */
.results-content-container .page-ellipsis {
  color: rgba(0, 0, 0, 0.54) !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  padding: 0 4px !important;
  letter-spacing: 2px !important;
  line-height: 24px !important;
}

/* Page indicator - green circle with number */
.results-content-container .page-indicator {
  background-color: #83c884 !important;
  color: white !important;
  width: 36px !important;
  height: 36px !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-weight: 600 !important;
  font-size: 14px !important;
}

/* Items per page dropdown - center */
.results-content-container .items-per-page {
  position: absolute !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  color: rgba(0, 0, 0, 0.54) !important;
  font-size: 14px !important;
  font-family: Lato, sans-serif !important;
}

.results-content-container .items-per-page select {
  border: 1px solid rgba(0, 0, 0, 0.12) !important;
  border-radius: 4px !important;
  padding: 4px 24px 4px 8px !important;
  font-size: 14px !important;
  font-family: Lato, sans-serif !important;
  color: rgba(0, 0, 0, 0.87) !important;
  background-color: white !important;
  cursor: pointer !important;
  outline: none !important;
  appearance: none !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23000' d='M6 9L1 4h10z'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 8px center !important;
  background-size: 12px !important;
}

.results-content-container .items-per-page select:hover {
  border-color: rgba(0, 0, 0, 0.24) !important;
}

.results-content-container .items-per-page select:focus {
  border-color: #83c884 !important;
  box-shadow: 0 0 0 2px rgba(131, 200, 132, 0.2) !important;
}

/* Pagination info - right side */
.results-content-container .pagination-info {
  color: rgba(0, 0, 0, 0.54) !important;
  font-size: 14px !important;
  font-family: Lato, sans-serif !important;
  white-space: nowrap !important;
  margin-left: auto !important;
}
