/* Bootstrap 5.3.2 Core CSS & Icons */
@import url("https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/css/bootstrap.min.css");
@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.3/font/bootstrap-icons.min.css");

/* Custom Bootstrap Overrides */
:root {
  /* Colors */
  --bs-primary: #0d6efd;
  --bs-secondary: #6c757d;
  --bs-success: #198754;
  --bs-info: #0dcaf0;
  --bs-warning: #ffc107;
  --bs-danger: #dc3545;
  --bs-light: #1e1e1e;
  --bs-dark: #121212;

  /* Typography */
  --bs-body-font-family: "Roboto", sans-serif;
  --bs-body-font-size: 1rem;
  --bs-body-font-weight: 400;
  --bs-body-line-height: 1.5;
  --bs-body-color: #ffffff;
  --bs-body-bg: #121212;

  /* Spacing */
  --bs-spacer: 1rem;
  --bs-gutter-x: 1.5rem;
  --bs-gutter-y: 0;

  /* Border Radius */
  --bs-border-radius: 0.375rem;
  --bs-border-radius-sm: 0.25rem;
  --bs-border-radius-lg: 0.5rem;
  --bs-border-radius-xl: 1rem;
  --bs-border-radius-2xl: 2rem;
  --bs-border-radius-pill: 50rem;

  /* Shadows */
  --bs-box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.4);
  --bs-box-shadow-sm: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.3);
  --bs-box-shadow-lg: 0 1rem 3rem rgba(0, 0, 0, 0.5);
}

/* Custom Container Sizes */
@media (min-width: 1400px) {
  .container {
    max-width: 1320px;
  }
}

/* Custom Grid Breakpoints */
@media (min-width: 576px) {
  .container {
    max-width: 540px;
  }
}

@media (min-width: 768px) {
  .container {
    max-width: 720px;
  }
}

@media (min-width: 992px) {
  .container {
    max-width: 960px;
  }
}

@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }
}

/* Custom Component Styles */
.btn {
  border-radius: var(--bs-border-radius);
  transition: all 0.2s ease-in-out;
}

.btn:hover {
  transform: translateY(-1px);
}

.card {
  border-radius: var(--bs-border-radius-lg);
  box-shadow: var(--bs-box-shadow-sm);
  transition: all 0.2s ease-in-out;
}

.card:hover {
  box-shadow: var(--bs-box-shadow);
}

/* Custom Utility Classes */
.shadow-hover {
  transition: box-shadow 0.2s ease-in-out;
}

.shadow-hover:hover {
  box-shadow: var(--bs-box-shadow) !important;
}

.text-gradient {
  background: linear-gradient(45deg, var(--bs-primary), var(--bs-info));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Custom Animation Classes */
.fade-up {
  animation: fadeUp 0.5s ease-out;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Custom Form Styles */
.form-control:focus {
  box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.15);
}

.form-select:focus {
  box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.15);
}

/* Custom Navigation Styles */
.navbar {
  box-shadow: var(--bs-box-shadow-sm);
}

.nav-link {
  position: relative;
}

.nav-link::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: var(--bs-primary);
  transition: width 0.3s ease-in-out;
}

.nav-link:hover::after {
  width: 100%;
}

/* Custom Table Styles */
.table {
  border-radius: var(--bs-border-radius);
  overflow: hidden;
}

.table thead th {
  background-color: var(--bs-light);
  border-bottom: 2px solid var(--bs-border-color);
}

/* Custom Alert Styles */
.alert {
  border: none;
  border-radius: var(--bs-border-radius);
  box-shadow: var(--bs-box-shadow-sm);
}

/* Custom Badge Styles */
.badge {
  padding: 0.5em 0.75em;
  font-weight: 500;
}

/* Custom Progress Bar Styles */
.progress {
  height: 0.75rem;
  border-radius: var(--bs-border-radius-pill);
}

/* Custom Modal Styles */
.modal-content {
  border: none;
  border-radius: var(--bs-border-radius-lg);
  box-shadow: var(--bs-box-shadow-lg);
}

.modal-header {
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.modal-footer {
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

/* Dark Mode Component Overrides */
.bg-light {
  background-color: #1e1e1e !important;
}

.text-dark {
  color: #ffffff !important;
}

.border {
  border-color: #2d2d2d !important;
}
