/* static/styles.css - Common styles for all tools */

/* Font Faces */
@font-face {
  font-family: "NewBlackTypeface";
  src: url("/static/fonts/NewBlackTypeface-Regular.woff2") format("woff2"),
    url("/static/fonts/NewBlackTypeface-Regular.woff") format("woff");
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: "NewBlackTypeface";
  src: url("/static/fonts/NewBlackTypeface-Bold.woff2") format("woff2"),
    url("/static/fonts/NewBlackTypeface-Bold.woff") format("woff");
  font-weight: bold;
  font-style: normal;
}
@font-face {
  font-family: "NewBlackTypeface";
  src: url("/static/fonts/NewBlackTypeface-ExtraBold.woff2") format("woff2"),
    url("/static/fonts/NewBlackTypeface-ExtraBold.woff") format("woff");
  font-weight: bolder;
  font-style: normal;
}
@font-face {
  font-family: "NewBlackTypeface";
  src: url("/static/fonts/NewBlackTypeface-Light.woff2") format("woff2"),
    url("/static/fonts/NewBlackTypeface-Light.woff") format("woff");
  font-weight: lighter;
  font-style: normal;
}
@font-face {
  font-family: "NewBlackTypeface";
  src: url("/static/fonts/NewBlackTypeface-Medium.woff2") format("woff2"),
    url("/static/fonts/NewBlackTypeface-Medium.woff") format("woff");
  font-weight: 500;
  font-style: normal;
}
@font-face {
  font-family: "NewBlackTypeface";
  src: url("/static/fonts/NewBlackTypeface-SemiBold.woff2") format("woff2"),
    url("/static/fonts/NewBlackTypeface-SemiBold.woff") format("woff");
  font-weight: 600;
  font-style: normal;
}
@font-face {
  font-family: "NewBlackTypeface";
  src: url("/static/fonts/NewBlackTypeface-UltraLight.woff2") format("woff2"),
    url("/static/fonts/NewBlackTypeface-UltraLight.woff") format("woff");
  font-weight: 100;
  font-style: normal;
}

/* CSS Variables for Theme */
:root {
  /* Primary Colors */
  --primary-50: #eff6ff;
  --primary-100: #dbeafe;
  --primary-200: #ceddff;
  --primary-500: #3b82f6;
  --primary-600: #2563eb;
  --primary-700: #1d4ed8;
  --primary-900: #1e3a8a;
  --brand-blue: #0a4cc4;
  --brand-dark-blue: #083d9f;
  --brand-navy: #2b346b;

  /* Gray Colors */
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --gray-400: #94a3b8;
  --gray-500: #64748b;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1e293b;
  --gray-900: #0f172a;

  /* Status Colors */
  --success-500: #10b981;
  --warning-500: #f59e0b;
  --error-500: #ef4444;

  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);

  /* Border Radius */
  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;

  /* Background Colors */
  --bg-primary: #EFF4FF;
  --bg-white: #ffffff;
  --bg-card: #ffffff;
}

/* Base Styles */
* {
  box-sizing: border-box;
}

html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  font-family: "NewBlackTypeface", sans-serif !important;
  font-weight: 400;
  line-height: 1.6;
  background: #F3F4EF;
  color: #3d464d;
  scroll-behavior: smooth;
}

/* Common Header Styles */
.header {
  position: relative;
  top: 0;
  z-index: 100;
  background: #F3F4EF;
  background-position: 0px;
  background-size: cover;
}

.header__container {
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1rem 0 2rem;
}

.main {
    padding: 0rem 2rem !important;
    max-width: 100% !important;
}

.hero__title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 400;
  margin: 0rem 1rem 1rem 0rem !important;
  line-height: 1.1;
  font-style: normal;
  letter-spacing: -1px;
  font-size: 2.5rem;
  color: black;
}

.hero__title_1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  margin: 1rem 1rem 1rem 0rem;
  line-height: 1.1;
  font-style: normal;
  letter-spacing: -1px;
  font-size: 2.5rem;
  color: #90b109 !important;
}

/* Common Button Styles */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border: 1px solid transparent;
  border-radius: 0px !important;
  font-size: 0.875rem;
  font-weight: 400;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: left 0.5s;
}

.btn--primary {
  background: #31312F !important;
  color: white;
  box-shadow: var(--shadow);
}

.btn--primary:hover {
  background: #31312F !important;
  color: white;
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-primary {
  background: #31312F !important;
  color: white;
  box-shadow: var(--shadow);
}

.btn-primary:hover {
  background:#31312F !important;
  color: white;
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: #31312F !important; /* your blue */
  color: #fff; /* icon + text color */
  border: none;
  border-radius: 30px;
  padding: 10px 20px;
  font-size: 16px;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.3s ease;
}
.btn-secondary:hover {
  background-color: #31312F !important;
  transform: translateY(-2px);
}

.login-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: #31312F !important; /* your blue */
  color: #fff; /* icon + text color */
  border: none;
  border-radius: 0px !important;
  padding: 8px 18px;
  font-size: 14px;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.3s ease;
}

.login-btn:hover {
  background-color: #31312F !important;
}

.btn-download {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: #31312F !important;
    color: #fff;
    border: none;
    border-radius: 50px;
    padding: 8px 18px;
    font-size: 14px;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.3s ease;
}

.btn-download:hover {
    background-color: #31312F !important;
}


/* Common Card Styles */
.card {
  background: var(--bg-card);
  border: 1px solid var(--gray-200);
  border-radius: 2px;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.card:hover {
  transform: translateY(-4px);
}

.card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0rem 0.5rem;
}

.card__title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--gray-900);
  margin: 0;
}

/* Common Form Styles */
.tool-form-group {
  margin-bottom: 0.5rem;
}

.tool-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 0.1rem;
  text-align: left;
}

.tool-input, .tool-select {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius);
  background: var(--bg-white);
  font-size: 0.75rem;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  height: 50px;
}

.tool-input:focus, .tool-select:focus {
  outline: none;
  border-color: var(--primary-500);
  box-shadow: 0 0 0 3px var(--primary-100);
}

/* Common Alert Styles */
.tool-alert {
  display: flex;
  gap: 1rem;
  padding: 1.5rem;
  background: linear-gradient(135deg, var(--primary-50), var(--primary-100));
  border: 1px solid var(--primary-200);
  border-radius: var(--radius-lg);
  margin-bottom: 2rem;
}

.tool-alert-info {
  padding: 0.8rem 0rem;
  border-radius: 2px;
  margin-bottom: 1rem;
}

/* Common Container */
.tool-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0rem 1rem;
}

/* Common Table Styles */
.tool-table thead th {
  background: var(--brand-navy);
  color: white;
}

.tool-table-striped > tbody > tr:nth-of-type(odd) > * {
  --bs-table-color-type: var(--bs-table-striped-color);
  --bs-table-bg-type: rgb(255 255 255 / 5%);
}

/* Responsive Design */
@media (max-width: 768px) {
  .tool-header__container {
    gap: 1rem;
    padding: 1rem;
    justify-content: left;
    flex-wrap: nowrap;
  }
  
  .tool-container {
    padding: 2rem 1rem;
  }
}

.chip {
    color:#31312f !important;
    font-size: 1rem;
    font-weight: 300;
    margin-top: 0.5rem;
    letter-spacing: 0px !important;
    word-spacing: -0.2em !important;
}
.alert__text {
    color: #31312f !important;
}
.dropzone {
      background: #f5f6f1 !important;
      border: 2px dashed #e0e4cf !important;
}
.url-cont {
      background: #f5f6f1 !important;
      border: 2px dashed #e0e4cf !important;
}
.btn-default {
      color: #31312f !important;
}
.sidebar {
    scrollbar-width: thin;
    scrollbar-color: #5c5c56 transparent !important;
}
.card__badge {
  background: #eceee5 !important;
}
.dropzone__icon {
      background: #eceee5 !important;
}
.alert__link {
  color: #90b109 !important;
}
.plus {
  color: #31312f !important;
}
.input:focus, .select:focus {
  border-color: #9fbb2b !important;
}
.input, .select {
      border-radius: 0px !important;
}
.table thead th {
      background: #c9f31d !important;
      color:#061018 !important;
}
.alert {
      background: #f1f1d9 !important;
      border: 1px solid #e1e1c9 !important;
}
.btn--primary {
  border-radius:0px !important;
}
.accordion-body {
  background: #ffffff !important;
}
.accordion-button:not(.collapsed) {
    background-color: #f3f4ef !important;
}
.btn--icon {
  color:#31312f !important;
}
.btn--danger {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}
.btn-default {
    background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}
.mobile-menu-btn {
      background-color: #31312F !important;
}
.heading {
    color: #90b109 !important;
    padding: 0;
    font-size: 48px;
    font-weight: 600;
    letter-spacing: -2px;
    word-spacing: -0.2em;
}
.heading_1 {
    padding: 0;
    font-size: 48px;
    font-weight: 600;
    color: #0D1336;
    letter-spacing: -2px;
    word-spacing: -0.2em;
}
.category {
    font-weight: 400;
    font-size: 14pt;
    color: #4F565C !important;
    letter-spacing: -0.5px;
    text-transform: capitalize;
}
.top-heading{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 35px 0rem 35px;  
  margin-bottom: 0rem;
  flex-wrap: wrap;
}
.heading-left{
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  column-gap: 0.35rem;
  row-gap: 0.2rem;
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  font-weight: 600;
}
.heading-right{
  margin-left: auto;
  display: flex;
  align-items: center;
}
.heading-logo{
  max-height: 48px;
  height: auto;
  width: auto;
  object-fit: contain;
}
@media (max-width: 768px) {
  .heading-left{
    font-size: 1.25rem;
  }
  .top-heading{
    padding: 1rem 15px 0rem 15px;

  }
  .heading-right{
    width: 100%;
    justify-content: flex-start;
  }
  .heading-logo{
    max-height: 50px;
  }
}
.hero__title_2{
  line-height: 1.1;
  font-size: 30px;
  color: #90b109 !important;
}

@media (max-width: 768px) {
.heading-right {
    order: -1; 
    margin-bottom: 10px;
  }
.external-tool-content{
    display: block !important; 
}
}

span.schema {
    font-weight: 400;
}

@media (max-width: 768px) {
    .header__container {
      padding: 0 1rem !important;
      display: block !important;
    }
    nav {
      justify-content: start !important;
    }
}
.dropzone {
  border-radius:0px !important;
}
.url-cont {
  border-radius:0px !important;
}