/* ===============================
   DESIGN TOKENS
================================ */
:root {
  --primary-color: #0056b3;
  --secondary-color: #2a7fba;
  --success-color: #28a745;
  --danger-color: #dc3545;
  --warning-color: #ffc107;
  --bg-color: #f4f7f6;
  --text-color: #212529;
  --white: #ffffff;

  --font-regular: "mouse-300", Arial, sans-serif;
  --font-bold: "mouse-500", Arial, sans-serif;
  --radius: 6px;
  --shadow: 0 4px 15px rgba(0,0,0,.08);
  --primary: #0056b3; /*#D4AA70;*/
  --primary-light: #86b7fe;/*#E6C89A;*/
  --secondary: #2a7fba; /*#C19A5E;   slightly darker */
  --secondary-light: #E0C49A;
 
 
  --color1: #0056b3;/*#D4AA70;*/
  --color2: #2a7fba;/*#F6EEE2;*/
  --space-xs: 6px;
  --space-sm: 12px;
  --space-md: 20px;
  --space-lg: 40px;
  --space-xl: 80px;
  
  --default:   #adb5bd;
  --dark: #0056b3;/*#8A6A3E;*/       
  --light: #fff;/*#ead3b021;*/
  --text: #3A2E1F;       
  --white: #ffffff;
  --success:   #198754;
  --info:      #0dcaf0;
  --warning:   #ffc107;
  --danger:    #dc3545;
  --success-light: #6fd19c;
  --info-light: #6edff6;
  --warning-light: #ffe08a;
  --danger-light: #f1999f;

    --success-gradient: linear-gradient(135deg, #6fd19c, #198754);
    --info-gradient: linear-gradient(135deg, #6edff6, #0dcaf0);
    --warning-gradient: linear-gradient(135deg, #ffe08a, #ffc107);
    --danger-gradient: linear-gradient(135deg, #f1999f, #dc3545);

}

/* ===============================
   RESET & BASE
================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-regular);
  background: var(--light);
  color: var(--text);
  line-height: 1.6;
  font-size: 12px;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--dark);
  text-decoration: none;
}

ul {
  list-style: none;
}

/* ===============================
   TYPOGRAPHY
================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-bold);
  color: var(--dark);
}

h1 { font-size: 0.25rem; }
h2 { font-size: 0.5rem; }
h3 { font-size: .75rem; }
h4 { font-size: 1rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1.5rem; }

p {
  font-size: 1rem;
}

/* ===============================
   LAYOUT SECTIONS
================================ */
.section {
  padding: var(--space-xl) var(--space-lg);
}

.section-white {
  background: var(--white);
}

.section-light {
  background: #fafafa;
}

.section-title {
  text-align: center;
  margin-bottom: var(--space-lg);
}

@media (max-width: 768px) {
  .section {
    padding: var(--space-lg) var(--space-md);
  }
}

/* ===============================
   HEADER / NAVBAR
================================ */
header {
  background: var(--white);
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 999;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .2rem;
}

.navbar ul {
  display: flex;
  gap: var(--space-lg);
}

.navbar li {
  font-family: var(--font-bold);
}

/* ===============================
   BUTTONS
================================ */
.btn {
  padding: .25rem 0.5rem;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  font-weight: 400;
  font-size: 12px;
  transition: .3s;
}

.btn-primary {
  background-color: var(--primary-light);
  border-color: var(--primary);
  color: #fff;
}

.btn-secondary {
  background-color: var(--secondary-light);
  border-color: var(--secondary);
  color: #fff;
}

.btn-success {
  background-color: var(--success-light);
  border-color: var(--success);
  color: #fff;
}

.btn-info {
  background-color: var(--info-light);
  border-color: var(--info);
  color: #fff;
}

.btn-warning {
  background-color: var(--warning-light);
  border-color: var(--warning);
  color: #fff;
}

.btn-danger {
  background-color: var(--danger-light);
  border-color: var(--danger);
  color: #fff;
}

.btn-light {
  background-color: var(--light);
  border-color: var(--light);
  color: #fff;
}

.btn-dark {
  background-color: var(--dark);
  border-color: var(--dark);
  color: #fff;
}

/* Bootstrap 3 / custom */
.btn-default {
  background-color: var(--default);
  border-color: var(--default);
  color: #fff;
}


.btn:hover {
  opacity: .9;
}

/* ===============================
   CARDS (Blog, Features, Gallery)
================================ */
.card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: var(--space-sm);
  text-align: center;
}

.card img {
  border-radius: var(--radius);
  margin-bottom: var(--space-md);
}

/* ===============================
   FORMS
================================ */
.form-control {
  width: 100%;
  height: 30px;
  font-size: 12px;
  /*background: #f1f1f1;*/
  border: 1px solid #ccc;
  border-radius: var(--radius);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  background: #fff;
}

/* ===============================
   FOOTER
================================ */
.footer {
  background: var(--dark);
  color: #fff;
  padding: var(--space-lg);
}

.footer a {
  color: #fff;
  opacity: .8;
}

.footer a:hover {
  opacity: 1;
}

.copy {
  background: #1f1f1f;
  color: #fff;
  text-align: center;
  padding: var(--space-sm);
}

.tab button {
    font-size: x-small;
  display: block;
  background-color: inherit;
  color: black;
  padding: 5px;
  width: 90%;
  border: none;
  outline: none;
  text-align: left;
  cursor: pointer;
  transition: 0.3s;
  margin: 5%;
  border-radius: 4px;
}

.tab button:hover {
  background-color: #bee9f7;
}

.tab button.active {
  background-color: #dfe8eb;
}

.tabcontent {
  float: left;
  padding: 5px;
  border: 1px solid #FFF;
  width: 100%;
  border-left: none;
  height: 100%;
  border-radius: 0 10px 10px 0;
}

@media (max-width: 768px) {
    table { font-size: 12px; }
    textarea, input, select { min-width: 120px; }
}
/* Sidebar link text color */
#sidebar .nav-link span {
    color: #288; /* Your desired color */
}

/* Active link */
#sidebar .nav-link.active span {
    color: #288; /* Keep same color for active link */
    font-weight: 500; /* optional: make it slightly bolder */
}

/* Optional: hover effect for links */
#sidebar .nav-link:hover span {
    color: #99F2F2; /* a lighter shade on hover if you want */
}

/* Ensure icons are unaffected */
#sidebar .nav-link i {
    color: #288; /* make icon same color as text */
}

.table-responsive {
  width: 100%;
  overflow-x: auto;
}


/* Fix select text vertical alignment */
select.form-control,
select.form-select {
    padding-top: 6px;
    padding-bottom: 6px;
}

/* Input group button height match */
.input-group .btn {
    height: 30px;
}


.form-control,
.form-select {
    height: 30px;
    font-size: 12px;
     line-height: 1.5;
    text-align: left;
}

/* Reduce Select2 height */
.select2-container--bootstrap-5 .select2-selection--single {
    height: 30px !important;
    min-height: 30px !important;
    padding: 4px 10px;
    font-size: 12px !important;
}

/* Align selected text vertically */
.select2-container--bootstrap-5 
.select2-selection__rendered {
    line-height: 1;
    padding-left: 0;
    padding-right: 0;
    font-size: 12px !important;
    text-align: left;
}

/* Arrow center alignment */
.select2-container--bootstrap-5 
.select2-selection__arrow {
    height: 30px !important;
}

/* Clear (×) button size */
.select2-container--bootstrap-5 
.select2-selection__clear {
    font-size: 10px !important;
    line-height: 1;
     width: 0px !important;
}

/* Dropdown item font size */
.select2-container--bootstrap-5 
.select2-results__option {
    font-size: 12px !important;
    padding: 6px 10px;
}
input:disabled {
    background-color: #f5f5f5;
    cursor: not-allowed;
}
.auto-expand {
    resize: none;        /* prevent manual resize */
    overflow: hidden;    /* hide scrollbar */
    height: auto !important;
}
.card-header {
    background-color: #ffffff !important;

    /* Gradient border (light secondary) */
    border-bottom: none !important;
    border-image: linear-gradient(
        90deg,
        var(--secondary-light),
        var(--secondary)
    ) 1;
}




