@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.13.1/font/bootstrap-icons.css");

@font-face {
  font-family: 'Montserrat Regular';
  /* Choose a descriptive name for your font */
  src: url("../assets/Montserrat-Regular.ttf") format('truetype');
  /* Specify the path to your TTF file and its format */
  font-weight: normal;
  /* Optional: Define font weight if needed */
  font-style: normal;
  /* Optional: Define font style if needed */
}

@font-face {
  font-family: 'Montserrat Bold';
  src: url("../assets/Montserrat-Bold.ttf") format('truetype');
  font-weight: bold;
  font-style: normal;
}

body {
  font-family: 'Montserrat Regular', sans-serif !important;
}


:root {
  --bs-blue: #9975f3;
  --bs-indigo: #7b4cf0;
  --bs-purple: #9975f3;
  /* 9975F3 */
  --bs-pink: #f5aef8;
  --bs-red: #dc3545;
  --bs-orange: #fd7e14;
  --bs-yellow: #ffc107;
  --bs-green: #198754;
  --bs-teal: #20c997;
  --bs-cyan: #0dcaf0;
  --bs-white: #fff;
  --bs-gray: #6c757d;
  --bs-gray-dark: #343a40;
  --bs-primary: #9975f3;
  --bs-secondary: #f5aef8;
  --bs-success: #198754;
  --bs-info: #0dcaf0;
  --bs-warning: #ffc107;
  --bs-danger: #dc3545;
  --bs-light: #f8f9fa;
  --bs-dark: #212529;
  --bs-font-sans-serif: "Montserrat", sans-serif;
  --bs-font-monospace: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono",
    "Courier New", monospace;
  --bs-gradient: linear-gradient(180deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0));
}

body {
  font-family: "Montserrat", sans-serif;
}

h3 {
  font-family: "Montserrat Bold", sans-serif;
}

.text-purple {
  color: #9975F3 !important;
}

.bg-purple {
  background-color: #9975F3;
  color: white !important;
}

.bg-pink {
  background-color: #F5AEF8;
  color: #212529 !important;
}

.cl-purple {
  background-color: var(--bs-purple);
  color: white !important;
}

.text-pink {
  color: var(--bs-pink) !important;
}

.link-pink {
  color: var(--bs-pink);
  text-decoration: none;
}

.link-purple {
  color: var(--bs-purple);
  text-decoration: none;
}

.link-purple:hover {
  color: var(--bs-indigo);
  text-decoration: none;
}

.testimonial-slider .carousel-indicators button {
  width: 10px;
  height: 10px;
  background-color: var(--bs-danger);
  border-radius: 100%;
}



.bgpur-gradient {
  background-image: linear-gradient(45deg, var(--bs-purple), var(--bs-pink)) !important;
}

.text-gradient {
  background-image: linear-gradient(45deg, var(--bs-purple), var(--bs-pink)) !important;
  background-size: 100%;
  background-repeat: repeat;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  -moz-background-clip: text;
  -moz-text-fill-color: transparent;
}

.card-bg-purple {
  background-color: #9975f3;
  color: white;
  border-radius: 11px !important;
}

.card-bg-pink {
  background-color: #f5aef8;
  color: #212529;
  border-radius: 11px !important;
}

.btn-outline-secondary {
  /* background-color: #f5aef8 !important; */
  border-color: #f5aef8;
  color: #f5aef8;
}

.btn-outline-secondary:hover {
  background-color: #f5aef8 !important;
  /* border-width: 1rem !important; */
  border-color: #f5aef8 !important;
  color: #212529;
}

.btn-primary {
  background-color: #9975f3 !important;
  border-color: #7b4cf0 !important;
}

.btn-primary:hover {
  outline: none !important;
}

.btn-primary:focus {
  border-width: 1px !important;
  border-color: #7b4cf0 !important;
}

.btn-outline-primary {
  border-color: #9975f3 !important;
  color: #9975f3 !important;
  background-color: transparent !important;
}

.btn-outline-primary:hover {
  background-color: #9975f3 !important;
  color: #fff !important;
}

.btn-outline-primary:focus {
  border-width: 1px !important;
  border-color: #9975f3 !important;
}

.btn-outline-secondary {
  border-color: #f5aef8 !important;
  color: #f5aef8 !important;
  background-color: transparent !important;
}

.btn-outline-secondary:hover {
  background-color: #f5aef8 !important;
  color: #212529 !important;
}

.btn-outline-secondary:focus {
  border-width: 1px !important;
  border-color: #f5aef8 !important;
}

.bg-marquee {
  background-color: #7b4cf0;
}

.btn-secondary {
  background-color: #f5aef8 !important;
  color: currentColor;
  border-color: #f5aef8 !important;
}

.btn-secondary:hover {
  color: currentColor;
  outline: none !important;
}

.btn-secondary:focus {
  border-width: 1px !important;
  color: currentColor;
  border-color: #f5aef8 !important;
}

.table-purple {
  background-color: #9975f3 !important;
  color: #fff !important;
}

.b-example-divider {
  height: 3rem;
  background-color: rgba(0, 0, 0, 0.1);
  border: solid rgba(0, 0, 0, 0.15);
  border-width: 1px 0;
  box-shadow: inset 0 0.5em 1.5em rgba(0, 0, 0, 0.1),
    inset 0 0.125em 0.5em rgba(0, 0, 0, 0.15);
}

.bi {
  vertical-align: -0.125em;
  fill: currentColor;
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 4rem;
  height: 4rem;
  margin-bottom: 1rem;
  font-size: 2rem;
  color: #fff;
  border-radius: 0.75rem;
}

.icon-link {
  display: inline-flex;
  align-items: center;
}

.icon-link>.bi {
  margin-top: 0.125rem;
  margin-left: 0.125rem;
  transition: transform 0.25s ease-in-out;
  fill: currentColor;
}

.icon-link:hover>.bi {
  transform: translate(0.25rem);
}

.icon-square {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  font-size: 1.5rem;
  border-radius: 0.75rem;
}

.rounded-4 {
  border-radius: 0.5rem;
}

.rounded-5 {
  border-radius: 1rem;
}

.text-shadow-1 {
  text-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.25);
}

.text-shadow-2 {
  text-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.25);
}

.text-shadow-3 {
  text-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.25);
}

.card-cover {
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
}

.nav-pills .nav-link {
  background-color: #9975f3 !important;
  color: white !important;
}

.nav-pills .nav-link.active {
  background-color: #7b4cf0 !important;
  color: white !important;
}

.alert-purple {
  background-color: #9975f3 !important;
  color: white !important;
}

/* Clickable Table Rows */
.clickable-row {
  cursor: pointer;
  transition: background-color 0.15s ease-in-out;
}

.clickable-row:hover {
  background-color: rgba(var(--bs-purple-rgb), 0.05) !important;
}

.clickable-row:hover td {
  color: var(--bs-purple);
}

.clickable-row:hover td .text-muted {
  color: #6c757d !important;
  /* Keep dates/secondary info muted even on hover */
}

.hr-with-text {
  border: 0;
  border-top: 1px solid #ccc;
  text-align: center;
  margin: 1.5rem 0;
  position: relative;
}

.pagination .page-item .page-link {
  color: #212529 !important;
  background-color: transparent !important;
  border-color: #dee2e6 !important;
}

.pagination .page-item.active .page-link {
  background-color: #7b4cf0 !important;
  color: white !important;
}

/* =========================================
   NEW UI/UX ENHANCEMENTS (2025 Refactor)
   ========================================= */

/* --- Shadows & Depth --- */
.shadow-soft {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.025) !important;
}

.shadow-hover {
  transition: all 0.3s ease;
}

.shadow-hover:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04) !important;
}

/* --- Cards --- */
.card {
  border: none;
  border-radius: 1rem;
  /* smoother rounded corners */
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hover-lift:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
}

.card-header {
  background-color: white;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  font-weight: 600;
  border-top-left-radius: 1rem !important;
  border-top-right-radius: 1rem !important;
}

/* --- Tables --- */
.table-responsive {
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
  background: white;
}

.table thead th {
  background-color: #F8F9FA;
  color: #6C757D;
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  font-weight: 700;
  border-bottom: 2px solid #edf2f7;
  padding: 1rem;
}

.table tbody td {
  padding: 1rem;
  vertical-align: middle;
  border-bottom: 1px solid #edf2f7;
}

.table-hover tbody tr:hover {
  background-color: rgba(153, 117, 243, 0.05);
  /* very light purple tint */
}

/* --- Buttons --- */
.btn {
  border-radius: 0.5rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  padding: 0.5rem 1.25rem;
  transition: all 0.2s ease;
}

.btn-sm {
  padding: 0.25rem 0.75rem;
  font-size: 0.875rem;
}

/* --- Navbar Adjustments --- */
.navbar {
  box-shadow: 0 4px 12px rgba(153, 117, 243, 0.15);
  /* Purple tint shadow */
}

.nav-link {
  font-weight: 500;
  position: relative;
  transition: color 0.2s ease;
}

.nav-link.active {
  font-weight: 600;
}

/* --- Footer --- */
.main-footer {
  color: #6c757d;
  font-size: 0.875rem;
  border-top: 1px solid #dee2e6;
  background-color: #fff;
}

/* --- Utilities --- */
.text-xs {
  font-size: 0.75rem;
}

.text-sm {
  font-size: 0.875rem;
}

.font-medium {
  font-weight: 500;
}

.font-bold {
  font-weight: 700;
}

.bg-light-purple {
  background-color: rgba(153, 117, 243, 0.1);
  color: var(--bs-purple);
}

/* Login Page Specifics */
.login-wrapper {
  height: 100vh;
  width: 100%;
  overflow-y: auto;
  /* Allow scroll on small screens */
  overflow-x: hidden;
}

@media (min-width: 768px) {
  .login-wrapper {
    overflow-y: hidden;
    /* Force no scroll on desktop */
  }
}

/* Page Header & Actions Refactor */
.page-header {
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  gap: 1rem !important;
  margin-bottom: 1.5rem !important;
  margin-top: 0.5rem !important;
}

@media (min-width: 768px) {
  .page-header {
    flex-direction: row !important;
    align-items: center !important;
  }
}

.page-header-actions {
  display: flex !important;
  flex-direction: column !important;
  gap: 0.5rem !important;
  width: 100% !important;
}

@media (min-width: 576px) {
  .page-header-actions {
    flex-direction: row !important;
  }
}

@media (min-width: 768px) {
  .page-header-actions {
    width: auto !important;
  }
}

.page-header-actions .btn {
  flex: 1 1 auto !important;
}

@media (min-width: 768px) {
  .page-header-actions .btn {
    flex: 0 0 auto !important;
  }
}