@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;900&display=swap');

/****************************
* FOR RESPONSIVENESS *
****************************/


::selection {
  background: #1d4ed8;
  color: #ffffff;
}

::-moz-selection {
  background: #1d4ed8;
  color: #ffffff;
}

html {
  font-size: 16px;
  background-color: #f8fafc;
  scroll-behavior: smooth;
}

@media only screen and (min-width: 480px) {
  html {
    font-size: 17px;
  }
}

@media only screen and (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

@media only screen and (min-width: 1024px) {
  p {
    font-size: 1.125rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
  }
}

/****************************
* BODY DEFAULTS *
****************************/
body {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  background-color: #d4dee9;
  color: #1e293b;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: #1d4ed8;
  text-decoration: none;
  transition: color 0.3s ease, text-decoration 0.3s ease;
}

a:hover {
  color: #1e40af;
  text-decoration: underline;
}

/****************************
* Buttons *
****************************/
.btn {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  padding: 0.4rem 1.4rem;
  border-radius: 10px;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
}

.btn i {
  font-size: 1.125rem;
}

.btn.text-left {
  justify-content: flex-start;
}

.btn-brand {
  background: linear-gradient(135deg, #1d4ed8 0%, #3b82f6 100%);
  color: #ffffff;
  border: none;
  box-shadow: 0 3px 10px rgba(29, 78, 216, 0.2);
}

.btn-brand:hover {
  background: linear-gradient(135deg, #1e40af 0%, #2563eb 100%);
  box-shadow: 0 5px 15px rgba(29, 78, 216, 0.3);
  transform: translateY(-2px);
}

.btn-dark {
  background: #1e293b;
  color: #ffffff;
  border: none;
}

.btn-dark:hover {
  background: #0f172a;
  box-shadow: 0 5px 15px rgba(15, 23, 42, 0.2);
}

.btn-red {
  background: #ef4444;
  color: #ffffff;
  border: none;
}

.btn-red:hover {
  background: #dc2626;
  box-shadow: 0 5px 15px rgba(220, 38, 38, 0.2);
}

.btn-alt {
  background: #f1f5f9;
  color: #1e293b;
  border: 1px solid #cbd5e1;
}

.btn-alt:hover {
  background: #1d4ed8;
  color: #ffffff;
  border-color: #1d4ed8;
}

/****************************
* Background Colors *
****************************/
.bk-primary {
  background: #1d4ed8;
}

.bk-success {
  background: #22c55e;
}

.bk-warning {
  background: #f59e0b;
}

.bk-danger {
  background: #ef4444;
}

.bk-info {
  background: #3b82f6;
}

.bk-white {
  background: #ffffff;
}

.bk-light {
  background: #f8fafc;
}

.bk-brand {
  background: linear-gradient(135deg, #1d4ed8 0%, #3b82f6 100%);
}

.bk-dark {
  background: #1e293b;
}

.bk-blue {
  background: #1d4ed8;
}

.bk-alt {
  background: #f1f5f9;
}

.bk-ghost {
  background: transparent;
}

.bk-img {
  position: relative;
  width: 100%;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  background-image: url(../../img/login-bg.jpg);
}

.bk-fixed {
  background-attachment: fixed;
}

.hr-green {
  height: 3px;
  background: linear-gradient(to right, #1d4ed8, #3b82f6);
  border: none;
}

.hr-grey {
  height: 2px;
  background: #cbd5e1;
  border: none;
}

.hr-dashed {
  background: transparent;
  border-top: 2px dashed #cbd5e1;
  height: 2px;
  margin: 1.5rem 0;
}

.panel {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.07);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.panel:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.1);
}

/****************************
* Border *
****************************/
.brdr {
  border: 1px solid #cbd5e1;
  border-radius: 10px;
}

/****************************
* Text size color *
****************************/
.font-one {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
}

.text-bold {
  font-weight: 700;
}

.text-normal {
  font-weight: 400;
}

.text-thin {
  font-weight: 300;
}

.text-lowercase {
  text-transform: none;
}

.text-sm {
  font-size: 0.875rem;
}

.text-lg {
  font-size: 1.25rem;
}

.text-xl {
  font-size: 1.5rem;
}

.text-2x {
  font-size: 2rem;
}

.text-3x {
  font-size: 2.5rem;
}

.text-4x {
  font-size: 3rem;
}

.text-white,
.text-light {
  color: #ffffff !important;
}

.link-white a {
  color: #ffffff;
}

.text-grey {
  color: #64748b;
}

.text-dgrey {
  color: #475569;
}

.text-brand {
  color: #1d4ed8;
}

.text-yellow {
  color: #eab308;
}

.title .line {
  display: inline-block;
  padding-bottom: 0.75rem;
  border-bottom: 4px solid #1d4ed8;
}

/* pop up modal smaller text */
.modal-content {
  font-size: 0.9rem;
  /* smaller text inside modal */
}

.modal-content p,
.modal-content label,
.modal-content input,
.modal-content select,
.modal-content textarea {
  font-size: 0.9rem;
  /* force all modal elements smaller */
}

/* specifically target form labels and inputs inside modal start date , end date  */
.modal-content .col-form-label {
  font-size: 0.85rem;
  /* smaller label */
}

.modal-content input,
.modal-content select,
.modal-content textarea {
  font-size: 0.85rem;
  /* smaller input text */
}

/****************************
* Margins & Padding *
****************************/
.mt {
  margin-top: 1.5rem;
}

.mt-0x {
  margin-top: 0 !important;
}

.mt-2x {
  margin-top: 3rem;
}

.mt-3x {
  margin-top: 4.5rem;
}

.mt-4x {
  margin-top: 6rem;
}

.mt-5x {
  margin-top: 9rem;
}

.mb {
  margin-bottom: 1.5rem;
}

.mb-0x {
  margin-bottom: 0 !important;
}

.mb-2x {
  margin-bottom: 3rem;
}

.mb-3x {
  margin-bottom: 4.5rem;
}

.mb-4x {
  margin-bottom: 6rem;
}

.mb-5x {
  margin-bottom: 9rem;
}

.pt {
  padding-top: 1.5rem;
}

.pt-2x {
  padding-top: 3rem;
}

.pt-3x {
  padding-top: 4.5rem;
}

.pt-4x {
  padding-top: 6rem;
}

.pt-5x {
  padding-top: 9rem;
}

.pb {
  padding-bottom: 1.5rem;
}

.pb-2x {
  padding-bottom: 3rem;
}

.pb-3x {
  padding-bottom: 4.5rem;
}

.pb-4x {
  padding-bottom: 6rem;
}

.pb-5x {
  padding-bottom: 9rem;
}

/****************************
* Content Boxes *
****************************/
.content-box {
  padding: 1.5rem;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.05);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.content-box:hover {
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

.block-anchor {
  display: block;
}

/****************************
* Content Typography *
****************************/
.content-format {
  line-height: 1.8;
  font-weight: 400;
  letter-spacing: 0.015rem;
  color: #1e293b;
}

.content-format h1,
.content-format h2,
.content-format h3,
.content-format h4,
.content-format h5,
.content-format h6 {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  color: #0f172a;
  margin-top: 2.5rem;
}

.content-format h1 a,
.content-format h2 a,
.content-format h3 a,
.content-format h4 a,
.content-format h5 a,
.content-format h6 a {
  color: #1d4ed8;
}

.content-format h2 {
  font-size: 2.25rem;
  line-height: 1.2;
  margin-bottom: 1rem;
  border-bottom: 3px solid #e5e7eb;
}

.content-format h3 {
  font-size: 1.75rem;
  line-height: 1.3;
  margin-bottom: 0.75rem;
}

.content-format h4 {
  font-size: 1.5rem;
  line-height: 1.4;
  margin-bottom: 0.5rem;
}

.content-format h5 {
  font-size: 1.25rem;
  line-height: 1.5;
  margin-bottom: 0.5rem;
}

.content-format h6 {
  font-size: 1.125rem;
  line-height: 1.5;
  margin-bottom: 0.5rem;
}

.content-format strong {
  font-weight: 700;
}

.content-format ul:not(.social-awesome) {
  list-style: disc;
  margin: 1.5rem 0;
  padding-left: 2rem;
}

.content-format ul:not(.social-awesome) li {
  margin-bottom: 0.5rem;
}

.content-format ul:not(.social-awesome).list-unstyled {
  list-style: none;
  padding-left: 1rem;
}

.content-format em {
  font-style: italic;
}

.content-format p {
  margin-bottom: 1.5rem;
}

.content-format figure {
  margin-bottom: 2rem;
}

.content-format figure .caption {
  color: #64748b;
  font-size: 0.875rem;
}

.content-format img {
  border-radius: 10px;
  max-width: 100%;
  height: auto;
}

.content-format .fa {
  color: #1d4ed8;
  margin-right: 0.75rem;
}

.content-format blockquote {
  border-left: 4px solid #1d4ed8;
  background: #f1f5f9;
  padding: 1.5rem;
  border-radius: 0 10px 10px 0;
  font-size: 1.125rem;
  color: #475569;
  margin: 1.5rem 0;
}

.content-format blockquote.double-quote {
  border-left: none;
  padding-left: 1rem;
}

.content-format pre {
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  color: #1e293b;
  font-family: 'Consolas', 'Monaco', monospace;
  font-size: 0.875rem;
  padding: 1rem;
  border-radius: 10px;
  overflow-x: auto;
}

.content-format ol {
  list-style: decimal;
  margin: 1.5rem 0;
  padding-left: 2rem;
}

.content-format img.wp-smiley,
.content-format img.emoji {
  display: inline !important;
  border: none !important;
  box-shadow: none !important;
  height: 1rem !important;
  width: 1rem !important;
  margin: 0 0.1rem !important;
  vertical-align: -0.1rem !important;
  background: none !important;
  padding: 0 !important;
}

/****************************
* Theme Struck - Harmony *
****************************/
ul,
li {
  margin: 0;
  padding: 0;
  list-style: none;
}

.btn-social {
  padding-left: 3.5rem;
}

.btn-social> :first-child {
  width: 2.75rem;
  line-height: 2.75rem;
}

.btn-circle {
  width: 2rem;
  height: 2rem;
  padding: 0.375rem;
  border-radius: 50%;
  text-align: center;
  font-size: 0.875rem;
}

.btn-circle.btn-lg {
  width: 3rem;
  height: 3rem;
  padding: 0.625rem;
  font-size: 1.125rem;
}

.btn-circle.btn-xl {
  width: 4rem;
  height: 4rem;
  padding: 0.75rem;
  font-size: 1.5rem;
}

.chart-dot-list {
  margin-top: 3rem;
  margin-left: 1.5rem;
}

.chart-dot-list li {
  margin-bottom: 0.5rem;
}

.chart-dot-list li:before {
  content: '';
  height: 0.75rem;
  width: 0.75rem;
  margin-right: 0.5rem;
  background: #1d4ed8;
  border-radius: 50%;
  display: inline-block;
}

.chart-dot-list li.a1:before {
  background: #1d4ed8;
}

.chart-dot-list li.a2:before {
  background: #3b82f6;
}

.chart-dot-list li.a3:before {
  background: #60a5fa;
}

.chart-doughnut {
  padding: 2.5rem 0;
}

.page-title {
  padding-bottom: 0.5rem;
  margin-bottom: 0.5rem;
  border-bottom: 1px solid #e5e7eb;
  text-align: center;

}

/****************************
* Brand Header *
****************************/
.brand {
  background: white;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  box-shadow: 0 3px 10px rgba(77, 76, 76, 0.1);
  margin-bottom: 0;
  /* Added space below header */
}

.brand .logo {
  padding: 1.25rem;
  float: left;
  width: 180px;
}

@media only screen and (min-width: 992px) {
  .brand .logo {
    width: 220px;
  }
}

.brand .logo img {
  height: 28px;
}

.brand .menu-btn {
  float: right;
  background: #0a3de8;
  color: #f6f7f9;
  padding: 1rem;
  cursor: pointer;
  border-radius: 8px;
  transition: background 0.3s ease;
}

.brand .menu-btn:hover {
  background: #1d4ed8;
}

@media only screen and (min-width: 992px) {
  .brand .menu-btn {
    display: none;
  }
}

.brand .ts-profile-nav {
  float: right;
  display: none;
}

.brand .ts-profile-nav li {
  float: left;
}

.brand .ts-profile-nav li a {
  padding: 1.25rem;
  color: black;
  transition: background 0.3s ease;
}

.brand .ts-profile-nav li a:hover {
  background: rgba(255, 255, 255, 0.15);
}

.brand .ts-profile-nav li ul {
  visibility: hidden;
  opacity: 0;
  position: absolute;
  right: 0;
  background: #eeeff1;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.brand .ts-profile-nav li ul li {
  float: none;
  width: 200px;
}

.brand .ts-profile-nav li ul li a {
  padding: 0.75rem 1.25rem;
}

.brand .ts-profile-nav .ts-account .fa-angle-down {
  margin-left: 0.5rem;
}

.brand .ts-profile-nav .ts-account>a {
  width: 200px;
}

.brand .ts-profile-nav .ts-account .ts-avatar {
  border-radius: 50%;
  height: 32px;
  margin-right: 0.75rem;
  margin-top: 15px;
}

.brand .ts-profile-nav .ts-account:hover ul {
  visibility: visible;
  opacity: 1;
}

@media only screen and (min-width: 992px) {
  .brand .ts-profile-nav {
    display: block;
  }
}

/****************************
* Sidebar Styles *
****************************/
.ts-sidebar::-webkit-scrollbar-track {
  background-color: transparent;
}

.ts-sidebar::-webkit-scrollbar {
  width: 5px;
  background-color: transparent;
}

.ts-sidebar::-webkit-scrollbar-thumb {
  background-color: #d4dee9;
}

.ts-sidebar {
  background: white;
  max-height: 0;
  transition: max-height 0.3s;
  overflow: hidden;
  position: fixed;
  z-index: 2;
  width: 100%;
  bottom: 0;
  top: 60px;
  overflow-y: auto;
  box-shadow: 0 3px 10px rgba(77, 76, 76, 0.1);
}

.ts-sidebar .hidden-side {
  display: none;
}

.ts-sidebar .ts-sidebar-search {
  width: 100%;
  background: white;
  border: none;
  padding: 10px 15px;
  color: #070707;
}

@media only screen and (min-width: 992px) {
  .ts-sidebar .ts-profile-nav {
    display: none;
  }
}

@media only screen and (min-width: 992px) {
  .ts-sidebar {
    max-height: 100%;
    bottom: 0;
  }
}

.ts-sidebar-menu .ts-label {
  color: #0a0a0a;
  font-weight: bold;
  padding: 8px 15px;
  text-transform: uppercase;
  font-size: 10px;
  letter-spacing: 3px;
  margin-top: 10px;
}

/* Sidebar Links */
.ts-sidebar-menu a {
  display: block;
  text-decoration: none;
  padding: 12px 15px;
  color: #050505;
  transition: all 0.3s ease;
  border-left: 3px solid transparent;
  /* for active highlight */
}

/* Hover Effect */
.ts-sidebar-menu a:hover {


  font-weight: bold;
}

/* Active State */
.ts-sidebar-menu li.active {
  background: #eaf2ff;
  /* light blue background */
  color: #0b63b8;
  /* blue text */
  font-weight: bold;
  border-left: 3px solid #0b63b8;
  /* blue left border */
}

.ts-sidebar-menu li {
  position: relative;
}

.ts-sidebar-menu li i {
  color: #090909;
  margin-right: 10px;

}

.ts-sidebar-menu li ul {
  display: block;
  background: white;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
}

.menu-open,
.ts-sidebar-menu .open>ul {
  max-height: 2000px;
  background-color: #dbdcdf;
}

.ts-sidebar-menu .open>a {
  background: rgba(255, 255, 255, 0.15);
}

.ts-sidebar-menu>.open>a {
  background: white;
  border-left: 3px solid #f1eff4;
}

.ts-sidebar-menu .open>.more i {
  transform: rotate(180deg);
}

.more i {
  color: #0d0d0d;
  padding: 15px;
  transition: transform 0.3s;
}

.more {
  float: right;
  min-width: 10%;
  cursor: pointer;
}

.ts-main-content .content-wrapper {
  padding-top: 15px;
  margin-top: 60px;
}

@media only screen and (min-width: 992px) {
  .ts-main-content .ts-sidebar {
    width: 250px;
    float: left;
  }

  .ts-main-content .content-wrapper {
    margin-left: 250px;
  }
}

/****************************
* Login Page *
****************************/
.login-page {
  position: fixed;
  height: 100vh;
  width: 100%;
  background: linear-gradient(135deg, #1d4ed8 0%, #3b82f6 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

/****************************
* Form Elements *
****************************/
input,
textarea,
select {
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  padding: 0.75rem 1rem;
  transition: all 0.3s ease;
  font-size: 1rem;
}

input:focus,
textarea:focus,
select:focus {
  border-color: #1d4ed8;
  box-shadow: 0 0 0 4px rgba(29, 78, 216, 0.1);
  outline: none;
}

/****************************
* Table Styling *
****************************/
table {
  width: 100%;
  border-collapse: collapse;
  background: #ffffff;
  border-radius: 10px;
  overflow: hidden;
}

th {
  background: #f1f5f9;
  padding: 1rem;
  font-weight: 600;
  color: #1e293b;
}

td {
  padding: 1rem;
  border-bottom: 1px solid #e5e7eb;
}

/****************************
* Card Styling *
****************************/
.card {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.07);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  border: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.1);
}

/* Icons inside menu links */
li a .fa {
  color: black !important;
  margin-right: 5px;
  /* optional: space between icon & text */
}

/* ===== Modal Close Button ===== */
.modal-header .close {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 26px;
  font-weight: 700;
  color: #333;
  background: none;
  border: none;
  outline: none;
  cursor: pointer;
  line-height: 1;
  transition: all 0.2s ease;
}

.modal-header .close:hover {
  color: #000;
  transform: scale(1.1);
}

.control-label {
  font-size: 14px;
  /* Adjust the value as needed, e.g., 10px or 0.8em */
}


select,
input[type="text"],
input[type="number"],
textarea {
  height: 30px !important;
  /* हाइट कम करें */
  padding: 4px 4px;
  /* पैडिंग एडजस्ट */
  font-size: 14px;
  /* फॉन्ट छोटा */
  box-sizing: border-box;
  /* बॉर्डर इनक्लूड */
}

textarea {
  height: 32px !important;
  /* Description के लिए थोड़ा बड़ा */
  width: 100% !important;
  /* फुल विड्थ कॉलम में */
}