:root {
  --primary: #005CA5;
  --dark: #3b3b3b;
  --black: #000000;
  --white: #ffffff;
}

html, body {
  height: 100%;
  margin: 0;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: 'Segoe UI', sans-serif;
  background-color: var(--white);
  color: var(--dark);
}

.site-footer {
  margin-top: auto;
  text-align: center;
  padding: 20px 0;
  background-color: #3b3b3b;
  font-size: 16px;
  color: #fff;
  border-top: 1px solid #555;
  width: 100%;
}

.site-footer a {
  color: #fff;
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
}
/* ================= NAVBAR ================= */

.custom-navbar {
  background-color: var(--dark);
  padding: 15px 0;
}

.logo {
  color: var(--white) !important;
  font-weight: bold;
  font-size: 20px;
}

.nav-custom-link {
  color: var(--white) !important;
  margin-right: 15px;
}

.nav-custom-link:hover {
  color: #fff !important;
}

.btn-primary-custom {
  background-color: var(--primary);
  color: var(--white);
  border-radius: 6px;
  padding: 8px 18px;
  border: none;
}

.btn-primary-custom:hover {
  background-color: #005CA5;
  color: var(--white);
}

.btn-outline-custom {
  border: 2px solid var(--primary);
  color: var(--primary);
  border-radius: 6px;
  padding: 8px 18px;
}

.btn-outline-custom:hover {
  background-color: var(--primary);
  color: var(--white);
}

/* ================= HERO SECTION ================= */

.hero-section {
 
  background: linear-gradient(135deg, #f8fefe 0%, #ffffff 100%);
}

.hero-title {
  font-size: 42px;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 20px;
}

.hero-title span {
  color: var(--primary);
}

.hero-text {
  font-size: 18px;
  margin-bottom: 30px;
  max-width: 500px;
}

/* Floating Cards */

.hero-card {
  position: absolute;
  background: var(--white);
  padding: 15px 20px;
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  font-size: 14px;
  max-width: 220px;
}

.hero-card strong {
  color: var(--primary);
}

.hero-card.top {
  top: 10%;
  right: 5%;
}

.hero-card.bottom {
  bottom: 15%;
  left: 5%;
}

/* Responsive */

@media (max-width: 992px) {
  .hero-title {
    font-size: 32px;
  }

  .hero-card {
    display: none;
  }
  .hero-section {
 padding: 50px 0;
  background: linear-gradient(135deg, #f8fefe 0%, #ffffff 100%);
}
.logo{
  font-size: 17px;
}
}


/* ================= LOGIN SECTION ================= */

.login-section {
  background: linear-gradient(135deg, #f8fefe 0%, #ffffff 100%);
}

.login-left {
  background-color: var(--primary);
  padding: 60px;
}

.login-left img {
  max-width: 80%;
}

.login-card {
  background: var(--white);
  padding: 50px 40px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  width: 100%;
  max-width: 420px;
}

.login-title {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 10px;
}

.login-subtext {
  color: var(--dark);
  margin-bottom: 30px;
}

.custom-input {
  border-radius: 8px;
  padding: 12px;
  border: 1px solid #ddd;
}

.custom-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 0.15rem rgba(0, 153, 153, 0.25);
}

.btn-primary-custom {
  background-color: var(--primary);
  color: var(--white);
  border-radius: 8px;
  padding: 12px;
  border: none;
  font-weight: 600;
}

.btn-primary-custom:hover {
  background-color: #005CA5;
}
/* ================= SEARCH SECTION ================= */

.search-section {
  padding: 60px 0;
  align-items: center;
  background: linear-gradient(135deg, #f8fefe 0%, #ffffff 100%);
}

.search-card {
  background: var(--white);
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.search-title {
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 30px;
}
#loadingOverlay {
  transition: opacity 0.3s ease;
}
/* Form Styling */
/* .index-form{
  max-width: 900px;
  align-items: center;
} */
.form-control {
  border-radius: 8px;
  padding: 10px 12px;
}

.form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 0.15rem rgba(0, 153, 153, 0.25);
}

.form-check-input:checked {
  background-color: var(--primary);
  border-color: var(--primary);
}

/* Error Box */

.error-box {
  margin-top: 20px;
  padding: 15px;
  border-radius: 8px;
  background: #ffecec;
  color: #b00020;
  border: 1px solid #ffcccc;
}

/* Meta Box */

.meta-box {
  margin-top: 20px;
  padding: 20px;
  background: #f9f9f9;
  border-radius: 8px;
  border: 1px solid #eee;
}

/* DataTables Styling */

table.dataTable thead {
  background-color: var(--primary);
  color: var(--white);
  padding-right: 80px;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.current {
  background: var(--primary) !important;
  color: #fff !important;
  border-radius: 6px;
}

.dataTables_wrapper .dataTables_length select,
.dataTables_wrapper .dataTables_filter input {
  border-radius: 6px;
  padding: 6px;
}

#generateQuoteBtn{
	background-color:gray;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
}

.logo-img {
    height: 35px;   /* adjust based on your design */
    width: auto;
}

.sp-img {
    height: 50px;   
    width: auto;
}