
:root {
  --color-default: #2c3e50;
  --color-primary: #1e293b;
  --color-primary-hover: #0f172a;
  --color-secondary: #475569;
  --color-accent: #64748b;
  --color-neutral: #ffffff;
  --color-bg-light: #f8fafc;
  --color-bg-dark: #1e293b;
  --color-text-primary: #1e293b;
  --color-text-secondary: #64748b;
  --color-border: #e2e8f0;
  --sidebar-bg: linear-gradient(135deg, #1e293b 0%, #334155 100%);
  --sidebar-active: rgba(255, 255, 255, 0.1);
  --sidebar-hover: rgba(255, 255, 255, 0.05);
}


body {
  box-sizing: border-box;
  margin: 0;
  background-color: var(--color-bg-light);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.card {
  border: none;
  border-radius: 12px;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
}

.card:hover {
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.card-header {
  background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
  color: white;
  border-radius: 12px 12px 0 0 !important;
  border: none;
  padding: 1.25rem;
}

.btn {
  border-radius: 8px;
  font-weight: 500;
  padding: 0.625rem 1.25rem;
  transition: all 0.3s ease;
}

.btn-primary {
  background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
  border: none;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  transform: translateY(-2px);
  box-shadow: 0 4px 6px -1px rgba(30, 41, 59, 0.3);
}

.btn-success {
  background: linear-gradient(135deg, #475569 0%, #334155 100%);
  border: none;
}

.btn-success:hover {
  background: linear-gradient(135deg, #334155 0%, #1e293b 100%);
  transform: translateY(-2px);
  box-shadow: 0 4px 6px -1px rgba(71, 85, 105, 0.3);
}

.badge {
  border-radius: 6px;
  font-weight: 500;
  padding: 0.375rem 0.75rem;
}

.form-control, .form-select {
  border-radius: 8px;
  border: 1px solid var(--color-border);
  padding: 0.625rem 0.875rem;
  transition: all 0.3s ease;
}

.form-control:focus, .form-select:focus {
  border-color: var(--color-secondary);
  box-shadow: 0 0 0 3px rgba(71, 85, 105, 0.1);
}

.table {
  border-radius: 12px;
  overflow: hidden;
}

.table thead th {
  background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
  border: none;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.5px;
  color: var(--color-text-secondary);
}

.list-group-item {
  border: 1px solid var(--color-border);
  transition: all 0.3s ease;
}

.list-group-item:hover {
  background-color: var(--color-bg-light);
  transform: translateX(4px);
}

/* Custom Checkbox and Radio */
@supports (-webkit-appearance: none) or (-moz-appearance: none) {

  input[type=checkbox],
  input[type=radio] {
    --active: #00A699;
    --active-inner: #fff;
    --focus: 2px #00A6994d;
    --border: #BBC1E1;
    --border-hover: #00A699;
    --background: #fff;
    --disabled: #F6F8FF;
    --disabled-inner: #E1E6F9;
    -webkit-appearance: none;
    -moz-appearance: none;
    height: 21px;
    outline: none;
    display: inline-block;
    vertical-align: top;
    position: relative;
    margin: 0;
    cursor: pointer;
    border: 1px solid var(--bc, var(--border));
    background: var(--b, var(--background));
    transition: background 0.3s, border-color 0.3s, box-shadow 0.2s;
    margin-right: 0.25rem;
  }

  input[type=checkbox]:after,
  input[type=radio]:after {
    content: "";
    display: block;
    left: 0;
    top: 0;
    position: absolute;
    transition: transform var(--d-t, 0.3s) var(--d-t-e, ease), opacity var(--d-o, 0.2s);
  }

  input[type=checkbox]:checked,
  input[type=radio]:checked {
    --b: var(--active);
    --bc: var(--active);
    --d-o: .3s;
    --d-t: .6s;
    --d-t-e: cubic-bezier(.2, .85, .32, 1.2);
  }

  input[type=checkbox]:disabled,
  input[type=radio]:disabled {
    --b: var(--disabled);
    cursor: not-allowed;
    opacity: 0.9;
  }

  input[type=checkbox]:disabled:checked,
  input[type=radio]:disabled:checked {
    --b: var(--disabled-inner);
    --bc: var(--border);
  }

  input[type=checkbox]:disabled+label,
  input[type=radio]:disabled+label {
    cursor: not-allowed;
  }

  input[type=checkbox]:hover:not(:checked):not(:disabled),
  input[type=radio]:hover:not(:checked):not(:disabled) {
    --bc: var(--border-hover);
  }

  input[type=checkbox]:focus,
  input[type=radio]:focus {
    box-shadow: 0 0 0 var(--focus);
  }

  input[type=checkbox]:not(.switch),
  input[type=radio]:not(.switch) {
    width: 21px;
  }

  input[type=checkbox]:not(.switch):after,
  input[type=radio]:not(.switch):after {
    opacity: var(--o, 0);
  }

  input[type=checkbox]:not(.switch):checked,
  input[type=radio]:not(.switch):checked {
    --o: 1;
  }

  input[type=checkbox]+label,
  input[type=radio]+label {
    font-size: 14px;
    line-height: 21px;
    display: inline-block;
    vertical-align: top;
    cursor: pointer;
    margin-left: 4px;
  }

  input[type=checkbox]:not(.switch) {
    border-radius: 4px;
  }

  input[type=checkbox]:not(.switch):after {
    width: 5px;
    height: 9px;
    border: 2px solid var(--active-inner);
    border-top: 0;
    border-left: 0;
    left: 7px;
    top: 4px;
    transform: rotate(var(--r, 20deg));
  }

  input[type=checkbox]:not(.switch):checked {
    --r: 43deg;
  }

  input[type=checkbox].switch {
    width: 38px;
    border-radius: 11px;
  }

  input[type=checkbox].switch:after {
    left: 2px;
    top: 2px;
    border-radius: 50%;
    width: 15px;
    height: 15px;
    background: var(--ab, var(--border));
    transform: translateX(var(--x, 0));
  }

  input[type=checkbox].switch:checked {
    --ab: var(--active-inner);
    --x: 17px;
  }

  input[type=checkbox].switch:disabled:not(:checked):after {
    opacity: 0.6;
  }

  input[type=radio] {
    border-radius: 50%;
  }

  input[type=radio]:after {
    width: 19px;
    height: 19px;
    border-radius: 50%;
    background: var(--active-inner);
    opacity: 0;
    transform: scale(var(--s, 0.7));
  }

  input[type=radio]:checked {
    --s: .5;
  }
}

/* End Custom Checkbox and Radio */


.toggle-password {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
}


.accordion-button:not(.collapsed) {
  color: var(--color-primary);
  background-color: var(--color-neutral);
  box-shadow: inset 0 calc(-1* var(--bs-accordion-border-width)) 0 var(--color-neutral);
}


blockquote {
  border-left: 3px solid #e88700;
  color: #1a1a1a;
  font-family: Georgia, Times, "Times New Roman", serif;
  font-size: 1.1rem;
  font-style: italic;
  line-height: 1.8rem;
  margin: 1.1rem 4rem;
  padding: 1em 2rem;
  position: relative;
  transition: 0.2s border ease-in-out;
  z-index: 0;
}

blockquote:before {
  content: "";
  position: absolute;
  top: 50%;
  left: -4px;
  height: 2rem;
  background-color: #fff;
  width: 5px;
  margin-top: -1rem;
}
blockquote:after {
  font: var(--fa-font-solid);
  content: "\f10e";
  position: absolute;
  top: 50%;
  left: -0.5rem;
  color: #e88700;
  font-family: "Font Awesome 6 Free";
  line-height: 1rem;
  text-align: center;
  text-indent: -2px;
  width: 1rem;
  margin-top: -0.5rem;
  transition: 0.2s all ease-in-out, 0.4s transform ease-in-out;
  display: inline-block;
  font-style: normal;
  font-variant: normal;
  text-rendering: auto;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
}


@media (max-width: 1200px) {
  body, html {
    font-size: 18px;
  }
}
@media (max-width: 980px) {
  body, html {
    font-size: 16px;
  }

  blockquote {
    font-size: 1.1rem;
    margin: 1.1em -2rem;
  }
}
@media (max-width: 767px) {
  body, html {
    font-size: 16px;
  }

  blockquote {
    border-top: 2px solid #e88700;
    border-bottom: 2px solid #e88700;
    border-left: none;
    margin: 1.5em 0;
    padding: 1.5em 1rem;
  }
  blockquote:before {
    left: 50%;
    top: 0;
    height: 4px;
    margin-top: -3px;
    margin-left: -1rem;
    width: 2rem;
  }
  blockquote:after {
    font-size: 0.75rem;
    left: 50%;
    top: 0;
    margin-top: -0.5rem;
    margin-left: -0.5rem;
  }
  blockquote cite {
    text-align: right;
  }
}


.icon-container {
  width: 1.25rem;
  display: inline-block;
}


.page-link {
  color: var(--color-secondary);
  background-color: #ffffff;
  border-radius: 8px;
  margin: 0 0.125rem;
  border: 1px solid var(--color-border);
  transition: all 0.3s ease;
}

.page-link:hover {
  background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
  border-color: var(--color-primary);
  color: white;
  transform: translateY(-2px);
}

.active>.page-link, .page-link.active {
  z-index: 3;
  background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
  border-color: var(--color-primary);
  box-shadow: 0 4px 6px -1px rgba(30, 41, 59, 0.3);
}


.event-card {
  padding: 1rem 0;
}

.event-card .event-date {
  padding: 1rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  background-color: #bad8d6;
}

.event-card .event-date .day {
  font-size: 1.25rem;
  font-weight: 600;
}

.event-card .event-date .date {
  font-size: 1.75rem;
  font-weight: 900;
}

.event-card .event-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 1.5rem;
}

.event-card .event-content .event-title {
  font-weight: 600;
  font-size: 1.25rem;
  margin-bottom: 0.25rem;
}

.event-card .event-content .event-desc {
  font-size: 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  /* Number of lines */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 0.25rem;
}

.event-card .event-content .calendar-date {
  color: var(--color-secondary-text);
}

/* Modern UI Enhancements */
h1, h2, h3, h4, h5, h6 {
  color: var(--color-text-primary);
  font-weight: 700;
}

.content {
  padding: 2rem;
}

.breadcrumb {
  background: transparent;
  padding: 0;
  margin-bottom: 1rem;
}

.breadcrumb-item + .breadcrumb-item::before {
  color: var(--color-text-secondary);
}

/* Card animations */
@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.card {
  animation: slideIn 0.3s ease-out;
}

/* Smooth scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: var(--color-bg-light);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, #475569 0%, #64748b 100%);
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(135deg, #334155 0%, #475569 100%);
}

/* Status badges */
.badge-status {
  padding: 0.5rem 1rem;
  font-size: 0.75rem;
  border-radius: 20px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
