/* =========================================
   KEEP ORIGINAL SITE STYLES SAFE
   ONLY LOGIN/SIGNUP PAGE CUSTOMIZATION
========================================= */

/* ONLY APPLY TO LOGIN + SIGNUP PAGES */

body.crm-login-page {
  margin: 0;
  padding: 0;
  font-family: Arial, Helvetica, sans-serif;
  background: #009b33;
  min-height: 100vh;
  overflow-x: hidden;
  border-top: 3px solid #1f1f1f;
}

/* =========================================
   ORIGINAL EFFECTS (UNCHANGED)
========================================= */

.glass-card {
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 20px 40px -15px rgba(21, 128, 61, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.glass-card:hover {
  box-shadow: 0 25px 50px -12px rgba(21, 128, 61, 0.12);
}

.input-field {
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.input-field:focus {
  background: #ffffff;
  border-color: #16a34a;
  box-shadow: 0 0 0 4px rgba(22, 163, 74, 0.12);
}

.input-icon {
  transition: color 0.25s ease;
}

.input-field:focus+.input-icon,
.input-field:focus~.input-icon-btn {
  color: #16a34a;
}

/* =========================================
   LOGO BAR
========================================= */

.crm-logo-bar {
  width: 100%;
  height: 80px;
  background: #f5f5f5;
  display: flex;
  align-items: center;
  padding-left: 60px;
  box-sizing: border-box;
}

.crm-logo-bar img {
  height: 44px;
}

/* =========================================
   LOGIN/SIGNUP WRAPPER
========================================= */

.custom-login-wrapper {
  width: 100%;
  min-height: calc(100vh - 115px);
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding-top: 40px;
  box-sizing: border-box;
}

/* =========================================
   LOGIN CARD
========================================= */

.custom-login-card {
  width: 100%;
  max-width: 495px;
  background: #ffffff;
  border-radius: 20px;
  padding: 34px 36px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.10);
  box-sizing: border-box;
}

/* =========================================
   TITLES
========================================= */

.custom-login-card h1 {
  text-align: center;
  font-size: 26px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 10px;
}

.custom-subtitle {
  text-align: center;
  color: #64748b;
  font-size: 14px;
  margin-bottom: 30px;
}

/* =========================================
   FORM GROUPS
========================================= */

.custom-form-group {
  margin-bottom: 24px;
}

.custom-form-group label {
  display: block;
  margin-bottom: 10px;
  font-size: 14px;
  font-weight: 600;
  color: #111827;
}

/* =========================================
   INPUTS
========================================= */

.custom-input-box {
  position: relative;
}

.custom-input-box input {
  width: 100%;
  height: 56px;
  border: 1px solid #d1d5db;
  border-radius: 10px;
  padding: 0 18px;
  font-size: 15px;
  outline: none;
  transition: 0.3s;
  box-sizing: border-box;
}

.custom-input-box input:focus {
  border-color: #05ac39;
  box-shadow: 0 0 0 4px rgba(5, 172, 57, 0.12);
}

.custom-icon {
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: #05ac39;
  font-size: 14px;
}

/* =========================================
   FORGOT PASSWORD
========================================= */

.custom-forgot {
  text-align: right;
  margin-top: 10px;
}

.custom-forgot a {
  color: #05ac39;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
}

.custom-forgot a:hover {
  text-decoration: underline;
}

/* =========================================
   BUTTON
========================================= */

.custom-signin-btn {
  width: 100%;
  height: 52px;
  border: none;
  border-radius: 10px;
  background: #05ac39;
  color: white;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  transition: 0.3s;
  margin-top: 6px;
}

.custom-signin-btn:hover {
  background: #049132;
}

/* =========================================
   SIGNUP / LOGIN TEXT
========================================= */

.custom-signup-text {
  margin-top: 28px;
  text-align: center;
  color: #475569;
  font-size: 14px;
}

.custom-signup-text a {
  color: #05ac39;
  font-weight: 600;
  text-decoration: none;
}

.custom-signup-text a:hover {
  text-decoration: underline;
}

/* =========================================
   FOOTER
========================================= */

.crm-footer {
  text-align: center;
  color: white;
  padding-bottom: 14px;
  font-size: 13px;
}

/* =========================================
   TOASTS (UNCHANGED)
========================================= */

.toast-container {
  position: fixed;
  top: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 12px;
  pointer-events: none;
}

.toast {
  min-width: 320px;
  max-width: 400px;
  padding: 16px;
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  gap: 12px;
  transform: translateX(120%);
  transition:
    transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275),
    opacity 0.4s ease;
  opacity: 0;
  pointer-events: auto;
  border-left: 5px solid #e2e8f0;
}

.toast.toast-show {
  transform: translateX(0);
  opacity: 1;
}

.toast-success {
  border-left-color: #16a34a;
}

.toast-error {
  border-left-color: #dc2626;
}

/* =========================================
   SPINNER (UNCHANGED)
========================================= */

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.spinner {
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-top: 3px solid #ffffff;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  animation: spin 0.8s linear infinite;
  display: inline-block;
}

/* =========================================
   MOBILE
========================================= */

@media (max-width: 600px) {

  .crm-logo-bar {
    padding-left: 20px;
  }

  .crm-logo-bar img {
    height: 40px;
  }

  .custom-login-card {
    max-width: 92%;
    padding: 28px 22px;
  }

  .custom-login-card h1 {
    font-size: 22px;
  }

}

/* =========================================
   PREMIUM HERO SECTION
========================================= */

.hero-section {

  position: relative;

  min-height: 760px;

  background:
    radial-gradient(circle at top left,
      #031b5c 0%,
      #010b2d 45%,
      #000814 100%);

  overflow: hidden;
}

.hero-overlay {

  position: absolute;
  inset: 0;

  background:
    linear-gradient(90deg,
      rgba(0, 0, 0, 0.2),
      rgba(0, 0, 0, 0.05));
}

.hero-container {

  position: relative;
  z-index: 2;

  max-width: 1450px;
  margin: auto;

  padding:
    110px 60px 70px;

  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
  gap: 40px;
}

/* LEFT */

.hero-badge {

  display: inline-flex;
  align-items: center;

  background:
    rgba(16, 185, 129, 0.1);

  border:
    1px solid rgba(16, 185, 129, 0.3);

  color: #4ade80;

  padding:
    14px 24px;

  border-radius: 999px;

  font-size: 14px;
  font-weight: 600;
  letter-spacing: 2px;

  margin-bottom: 30px;
}

.hero-left h1 {

  font-size: 82px;
  line-height: 0.95;
  font-weight: 900;

  color: white;

  margin-bottom: 30px;
}

.hero-left h1 span {

  background:
    linear-gradient(90deg,
      #ff9933,
      #ffffff,
      #138808);

  background-clip: text;
  -webkit-background-clip: text;

  color: transparent;
  -webkit-text-fill-color: transparent;
}

.hero-left p {

  max-width: 720px;

  color: #d1d5db;

  font-size: 30px;
  line-height: 1.8;

  margin-bottom: 50px;
}

/* FEATURES */

.feature-row {

  display: grid;

  grid-template-columns:
    repeat(4, 1fr);

  gap: 20px;
}

.feature-item {

  display: flex;
  gap: 14px;

  color: white;
}

.feature-icon {

  width: 55px;
  height: 55px;

  border-radius: 50%;

  background:
    rgba(59, 130, 246, 0.12);

  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 24px;

  border:
    1px solid rgba(59, 130, 246, 0.3);
}

.feature-item h4 {

  font-size: 17px;
  margin-bottom: 4px;
}

.feature-item span {

  font-size: 14px;
  color: #9ca3af;
}

/* RIGHT */

.hero-right {

  position: relative;
}

.world-map {

  width: 100%;
  opacity: 0.95;

  filter:
    drop-shadow(0 0 30px rgba(59, 130, 246, 0.35));
}

/* =========================================
   COUNTRY SECTION
========================================= */

.country-section {

  padding: 90px 60px;

  background: #f8fafc;
}

.country-header {

  text-align: center;
  margin-bottom: 60px;
}

.country-header h2 {

  font-size: 58px;
  color: #0f172a;

  margin-bottom: 14px;
}

.country-header p {

  color: #64748b;
  font-size: 20px;
}

.country-grid {

  display: grid;

  grid-template-columns:
    repeat(3, 1fr);

  gap: 30px;

  max-width: 1400px;
  margin: auto;
}

.country-card {

  position: relative;

  background: white;

  border-radius: 28px;

  padding: 40px;

  overflow: hidden;

  box-shadow:
    0 10px 40px rgba(0, 0, 0, 0.08);

  transition: 0.3s;
}

.country-card:hover {

  transform: translateY(-10px);
}

.country-card h3 {

  font-size: 42px;
  margin-bottom: 30px;
}

.country-card ul {

  padding-left: 18px;

  line-height: 2.2;

  font-size: 18px;

  color: #334155;
}

.country-card a {

  display: inline-block;

  margin-top: 35px;

  padding:
    16px 28px;

  border-radius: 14px;

  color: white;
  text-decoration: none;
  font-weight: 700;
}

.usa-card {

  border-top:
    6px solid #2563eb;
}

.usa-card a {

  background: #2563eb;
}

.canada-card {

  border-top:
    6px solid #dc2626;
}

.canada-card a {

  background: #dc2626;
}

.india-card {

  border-top:
    6px solid #ea580c;
}

.india-card a {

  background: #ea580c;
}

/* =========================================
   STATS
========================================= */

.stats-section {

  padding:
    50px 60px 90px;

  background: #f8fafc;
}

.stats-box {

  max-width: 1450px;
  margin: auto;

  background: white;

  border-radius: 28px;

  padding: 40px;

  display: grid;

  grid-template-columns:
    repeat(5, 1fr);

  text-align: center;

  box-shadow:
    0 10px 30px rgba(0, 0, 0, 0.06);
}

.stats-box h3 {

  font-size: 54px;
  color: #16a34a;

  margin-bottom: 10px;
}

.stats-box p {

  color: #64748b;
}

/* MOBILE */

@media(max-width: 1100px) {

  .hero-container,
  .country-grid,
  .stats-box,
  .feature-row {

    grid-template-columns: 1fr;
  }

  .hero-left h1 {

    font-size: 54px;
  }

  .hero-left p {

    font-size: 20px;
  }
}

/* =========================================
   COMPLIANCE CARDS
========================================= */

.compliance-grid {

  display: grid;

  grid-template-columns:
    repeat(2, 1fr);

  gap: 16px;

  margin-top: 50px;
}

.glass-card {

  background:
    rgba(255, 255, 255, 0.08);

  backdrop-filter: blur(12px);

  border:
    1px solid rgba(255, 255, 255, 0.1);

  padding: 20px;

  border-radius: 18px;

  font-weight: 600;

  transition: 0.3s;
}

.glass-card:hover {

  transform: translateY(-5px);

  background:
    rgba(255, 255, 255, 0.12);
}

/* =========================================
   COUNTRY SECTION
========================================= */

.country-section {

  padding: 100px 40px;
  background: #f8fafc;
  text-align: center;
}

.country-section h2 {

  font-size: 52px;
  margin-bottom: 20px;
}

.country-section p {

  color: #64748b;
  font-size: 18px;
}

.country-grid {

  display: grid;

  grid-template-columns:
    repeat(3, 1fr);

  gap: 30px;

  margin-top: 60px;
}

.country-card {

  background: white;
  border-radius: 24px;
  padding: 40px;
  text-align: left;

  box-shadow:
    0 10px 30px rgba(0, 0, 0, 0.08);
}

.country-card h3 {

  font-size: 30px;
  margin-bottom: 25px;
}

.country-card ul {

  padding-left: 20px;
  line-height: 2;
  color: #334155;
}

.country-card a {

  display: inline-block;
  margin-top: 30px;

  padding:
    14px 24px;

  border-radius: 12px;

  color: white;
  text-decoration: none;
  font-weight: 700;
}

.usa-card a {
  background: #2563eb;
}

.canada-card a {
  background: #dc2626;
}

.india-card a {
  background: #ea580c;
}

/* =========================================
   STATS
========================================= */

.stats-section {

  padding:
    60px 40px;

  background: white;
}

.stats-grid {

  max-width: 1400px;
  margin: auto;

  display: grid;

  grid-template-columns:
    repeat(5, 1fr);

  text-align: center;
}

.stats-grid h3 {

  font-size: 42px;
  color: #15803d;
}

.stats-grid p {

  margin-top: 10px;
  color: #64748b;
}

/* =========================================
   MOBILE
========================================= */

@media(max-width: 900px) {

  .hero-container,
  .country-grid,
  .stats-grid {

    grid-template-columns: 1fr;
  }

  .hero-left h1 {

    font-size: 48px;
  }

}
/* =========================================
   INDIA PREMIUM THEME
========================================= */

.in-hero-bg {
  position: relative;
  background-image: url('taj-mahal-bg-new.png');
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
.in-hero-bg-sub {
  position: relative;
  background-image: url('../taj-mahal-bg-new.png');
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
.in-hero-bg::before, .in-hero-bg-sub::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 0, 128, 0.4), rgba(19, 136, 8, 0.35));
  z-index: 0;
}
.in-hero-bg > *, .in-hero-bg-sub > * {
  position: relative;
  z-index: 1;
}

.in-glass-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 15px 35px rgba(0, 0, 128, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-radius: 1rem;
}

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

.in-btn-saffron {
  background: linear-gradient(135deg, #FF9933, #e68a2e);
  color: #ffffff !important;
  box-shadow: 0 4px 15px rgba(255, 153, 51, 0.3);
  border: none;
  transition: all 0.3s ease;
}

.in-btn-saffron:hover {
  background: linear-gradient(135deg, #e68a2e, #cc7a29);
  box-shadow: 0 6px 20px rgba(255, 153, 51, 0.4);
  transform: translateY(-2px);
}

.in-btn-green {
  background: linear-gradient(135deg, #138808, #107207);
  color: #ffffff !important;
  box-shadow: 0 4px 15px rgba(19, 136, 8, 0.3);
  border: none;
  transition: all 0.3s ease;
}

.in-btn-green:hover {
  background: linear-gradient(135deg, #107207, #0d5a05);
  box-shadow: 0 6px 20px rgba(19, 136, 8, 0.4);
  transform: translateY(-2px);
}

.in-text-saffron { color: #FF9933 !important; }
.in-text-green { color: #138808 !important; }
.in-text-navy { color: #000080 !important; }

.in-bg-light {
  background: linear-gradient(to bottom right, #f8fbfa, #fff7f0);
}
.in-bg-dark {
  background: linear-gradient(135deg, #000080, #00004d);
  color: white;
}

.in-footer {
  background: #000080 !important;
  color: #ffffff !important;
}
.in-footer h3, .in-footer h4 { color: #ffffff !important; }
.in-footer a { color: #FF9933 !important; }
.in-footer a:hover { color: #ffffff !important; }
.in-footer p { color: #e2e8f0 !important; }

/* ==========================================================
   USA Premium Styling (Red, White, Blue)
   ========================================================== */

.us-hero-bg {
  position: relative;
  background-image: url('statue-of-liberty-bg-new.png');
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.us-hero-bg::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(135deg, rgba(10,49,97,0.4) 0%, rgba(179,25,66,0.3) 100%);
  z-index: 1;
}

.us-hero-bg > div {
  position: relative;
  z-index: 2;
}

.us-btn-red {
  background: #B31942 !important;
  color: white !important;
  border: 1px solid transparent !important;
}
.us-btn-red:hover {
  background: #8e1434 !important;
  box-shadow: 0 4px 15px rgba(179,25,66,0.4);
}

.us-btn-blue {
  background: #0A3161 !important;
  color: white !important;
  border: 1px solid transparent !important;
}
.us-btn-blue:hover {
  background: #062347 !important;
  box-shadow: 0 4px 15px rgba(10,49,97,0.4);
}

.us-text-red { color: #B31942 !important; }
.us-text-blue { color: #0A3161 !important; }

.us-bg-light {
  background: linear-gradient(to bottom right, #f4f7fa, #fdf4f6);
}
.us-bg-dark {
  background: linear-gradient(135deg, #0A3161, #062347);
  color: white;
}

.us-footer {
  background: #0A3161 !important;
  color: #ffffff !important;
}
.us-footer h3, .us-footer h4 { color: #ffffff !important; }
.us-footer a { color: #B31942 !important; }
.us-footer a:hover { color: #ffffff !important; }
.us-footer p { color: #e2e8f0 !important; }

/* ==========================================================
   Canada Premium Styling (Red, White)
   ========================================================== */

.ca-hero-bg {
  position: relative;
  background-image: url('canada-skyline-bg-new.png');
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.ca-hero-bg::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(135deg, rgba(216,6,33,0.4) 0%, rgba(26,26,26,0.3) 100%);
  z-index: 1;
}

.ca-hero-bg > div {
  position: relative;
  z-index: 2;
}

.ca-btn-red {
  background: #D80621 !important;
  color: white !important;
  border: 1px solid transparent !important;
}
.ca-btn-red:hover {
  background: #b0051b !important;
  box-shadow: 0 4px 15px rgba(216,6,33,0.4);
}

.ca-btn-dark {
  background: #1a1a1a !important;
  color: white !important;
  border: 1px solid transparent !important;
}
.ca-btn-dark:hover {
  background: #000000 !important;
  box-shadow: 0 4px 15px rgba(26,26,26,0.4);
}

.ca-text-red { color: #D80621 !important; }
.ca-text-dark { color: #1a1a1a !important; }

.ca-bg-light {
  background: linear-gradient(to bottom right, #fcf4f5, #f8f9fa);
}
.ca-bg-dark {
  background: linear-gradient(135deg, #1a1a1a, #000000);
  color: white;
}

.ca-footer {
  background: #1a1a1a !important;
  color: #ffffff !important;
}
.ca-footer h3, .ca-footer h4 { color: #ffffff !important; }
.ca-footer a { color: #D80621 !important; }
.ca-footer a:hover { color: #ffffff !important; }
.ca-footer p { color: #e2e8f0 !important; }

