:root {
  --primary: #25d366;
  --dark: #3b3b3b;
  --black: #000000;
  --white: #ffffff;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: "Segoe UI", sans-serif;
  background-color: var(--white);
  color: var(--dark);
}

/* Main page content must occupy the available space */
.page-content,
.wrap,
.hero-section,
.login-section,
.search-section {
  flex: 1 0 auto;
  width: 100%;
}

/* Footer always remains below the content */
.site-footer {
  position: static !important;
  inset: auto !important;
  flex: 0 0 auto;
  margin-top: auto;
  width: 100%;
  padding: 20px 15px;
  text-align: center;
  background-color: #3b3b3b;
  color: #ffffff;
  font-size: 16px;
  border-top: 1px solid #555555;
  z-index: 1;
}

.site-footer a {
  color: #ffffff;
  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;
  font-size: 18px;
  font-weight: 600;
}
.nav-item p{
  color: var(--white);
  font-weight: 600;
  margin-bottom: 0;
  font-size: 18px;
}
.blinking{
  /* Ensure the icon's color stays fixed */
  color: #fff; /* or set a specific color like: color: #000; */
  animation: bgChange 1.2s linear infinite;
}
@keyframes bgChange {
  0% {
    background-color: #25D366;
  }
  50% {
    background-color: #075E54;
  }
  100% {
    background-color: #25D366;
  }
}
.nav-custom-link:hover {
  color: var(--white) !important;
  text-decoration: underline !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: #075E54;
  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);
}

.brand-text {
  color: #fff;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
}
.navbar-brand{
  align-items: center;
}

@media (max-width: 991.98px) {
  .brand-text {
    white-space: normal;
    font-size: 16px;
  }
}
@media (max-width: 700px) {

  .logout-btn{
    width: 100% !important;
  }
}
/* ================= 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 {
 
  background: linear-gradient(135deg, #f8fefe 0%, #ffffff 100%);
}
}


/* ================= 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: #007777;
} */
/* ================= SEARCH SECTION ================= */

.search-section {
  padding: 60px 0;
  align-items: center;
}

.search-card {
  background: var(--white);
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

/* ============================= */
/* Header */
/* ============================= */
.topbar {
  display: flex;
  align-items: center;
  justify-content: center;
}

.brandlink {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.search-title {
  font-size: 28px;
  font-weight: 700;
  color: #25D366;
  margin: 0;
}

.logo {
  width: 42px;
  height: 42px;
  margin-right: 15px;
}

/* ============================= */
/* Inner Cards */
/* ============================= */
.card {
  border: none;
  border-radius: 14px;
  /* max-width: 900px;
  margin: 20px auto; */
}

/* ============================= */
/* Form Styling */
/* ============================= */
.card label,.card p {
  font-weight: 600;
  margin-bottom: 6px;
  display: block;
}

input[type="file"],
input[type="text"],
input[type="number"] {
  width: 100%;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid #d6eaea;
  margin-bottom: 15px;
  transition: 0.2s ease;
  font-size: 16px;
}
.form-control {
  border-radius: 8px;
  padding: 10px 12px;
  
}

input:focus {
  border-color: #25D366;
  outline: none;
  box-shadow: 0 0 0 2px rgba(0, 153, 153, 0.1);
}

/* ============================= */
/* Buttons */
/* ============================= */
button {
  background-color: #075E54;
  color: white;
  border: none;
  padding: 10px 22px;
  border-radius: 8px;
  font-weight: 600;
  transition: 0.2s ease;
}

button:hover {
  background-color: #25D366;
}

button:disabled {
  background-color: #cccccc;
  cursor: not-allowed;
}

/* ============================= */
/* Status / Messages */
/* ============================= */
#quotaMsg {
  margin-top: 10px;
}

#invStatus,
#status {
  font-weight: 600;
  margin-top: 10px;
}

pre {
  background: #1e1e1e;
  color: #00ffcc;
  padding: 15px;
  border-radius: 10px;
  font-size: 13px;
  overflow-x: auto;
}

/* ============================= */
/* Responsive */
/* ============================= */
@media (max-width: 768px) {
  .search-card {
    padding: 25px;
  }

  .search-title {
    font-size: 20px;
  }
}
.logo-img {
    height: 35px;   /* adjust based on your design */
    width: auto;
    border-radius: 5px;
}