/* /Views/Shared/_Layout.cshtml.rz.scp.css */
/* Please see documentation at https://learn.microsoft.com/aspnet/core/client-side/bundling-and-minification
for details on configuring this project to bundle and minify static web assets. */

/* ===== Navbar Brand Responsiveness ===== */
a.navbar-brand[b-xktbxijnnh] {
  white-space: normal;
  text-align: center;
  word-break: break-all;
  padding: clamp(0.25rem, 1vw, 0.5rem);
  min-width: 50px;
}

a.navbar-brand img[b-xktbxijnnh] {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ===== Global Link Styles ===== */
a[b-xktbxijnnh] {
  color: #0077cc;
  text-decoration: none;
  transition: color 0.2s ease, text-shadow 0.2s ease;
}

a:hover[b-xktbxijnnh] {
  color: #0056a3;
  text-decoration: underline;
}

a:focus[b-xktbxijnnh] {
  outline: 2px solid #0d6efd;
  outline-offset: 2px;
}

a:focus:not(:focus-visible)[b-xktbxijnnh] {
  outline: none;
}

a:focus-visible[b-xktbxijnnh] {
  outline: 2px solid #0d6efd;
  outline-offset: 2px;
}

/* ===== Primary Button Styles ===== */
.btn-primary[b-xktbxijnnh] {
  color: #fff;
  background-color: #1b6ec2;
  border-color: #1861ac;
  transition: all 0.2s ease;
}

.btn-primary:hover[b-xktbxijnnh] {
  background-color: #1861ac;
  border-color: #15496f;
  transform: translateY(-1px);
  box-shadow: 0 0.25rem 0.75rem rgba(0, 0, 0, 0.1);
}

.btn-primary:focus[b-xktbxijnnh] {
  box-shadow: 0 0 0 0.25rem rgba(27, 110, 194, 0.5);
}

@media (max-width: 576px) {
  .btn-primary[b-xktbxijnnh] {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

/* ===== Active Navigation Styles ===== */
.nav-pills .nav-link.active[b-xktbxijnnh],
.nav-pills .show > .nav-link[b-xktbxijnnh] {
  color: #fff;
  background-color: #1b6ec2;
  border-color: #1861ac;
  border-radius: 0.375rem;
}

.nav-pills .nav-link[b-xktbxijnnh] {
  border-radius: 0.375rem;
  transition: all 0.2s ease;
}

.nav-pills .nav-link:hover[b-xktbxijnnh] {
  background-color: rgba(27, 110, 194, 0.1);
  color: #0d6efd;
}

/* ===== Border Utilities ===== */
.border-top[b-xktbxijnnh] {
  border-top: 1px solid #e5e5e5;
}

.border-bottom[b-xktbxijnnh] {
  border-bottom: 1px solid #e5e5e5;
}

.border-start[b-xktbxijnnh] {
  border-start: 1px solid #e5e5e5;
}

.border-end[b-xktbxijnnh] {
  border-end: 1px solid #e5e5e5;
}

/* ===== Shadow & Elevation Styles ===== */
.box-shadow[b-xktbxijnnh] {
  box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

.box-shadow-sm[b-xktbxijnnh] {
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, .075);
}

.box-shadow-lg[b-xktbxijnnh] {
  box-shadow: 0 1rem 3rem rgba(0, 0, 0, .175);
}

/* ===== Button Accessibility ===== */
button.accept-policy[b-xktbxijnnh] {
  font-size: clamp(0.875rem, 1.2vw, 1rem);
  line-height: inherit;
  min-height: 44px;
  padding: clamp(0.375rem, 1vw, 0.5rem) clamp(0.75rem, 2vw, 1rem);
}

@media (max-width: 576px) {
  button.accept-policy[b-xktbxijnnh] {
    min-height: 48px;
    width: 100%;
  }
}

/* ===== Footer Positioning ===== */
.footer[b-xktbxijnnh] {
  position: static;
  width: 100%;
  white-space: nowrap;
  line-height: clamp(48px, 10vh, 60px);
  margin-top: auto;
  flex-shrink: 0;
}

@media (max-width: 576px) {
  .footer[b-xktbxijnnh] {
    line-height: auto;
    white-space: normal;
    padding: 1rem 0.75rem;
  }
}

/* ===== Form Group Responsiveness ===== */
.form-group[b-xktbxijnnh] {
  margin-bottom: clamp(1rem, 2vw, 1.5rem);
}

.form-group label[b-xktbxijnnh] {
  font-weight: 500;
  margin-bottom: clamp(0.25rem, 1vw, 0.5rem);
}

@media (max-width: 576px) {
  .form-group[b-xktbxijnnh] {
    margin-bottom: 1rem;
  }
}

/* ===== Input Group Responsiveness ===== */
.input-group[b-xktbxijnnh] {
  gap: clamp(0, 0, 0.5rem);
}

.input-group-text[b-xktbxijnnh] {
  font-size: clamp(0.875rem, 1.2vw, 0.95rem);
  padding: clamp(0.375rem, 1vw, 0.5rem) clamp(0.75rem, 2vw, 1rem);
  min-height: 44px;
}

.input-group > .form-control[b-xktbxijnnh] {
  min-height: 44px;
}

@media (max-width: 576px) {
  .input-group > .form-control[b-xktbxijnnh],
  .input-group-text[b-xktbxijnnh] {
    min-height: 48px;
  }
}

/* ===== List & List Item Responsiveness ===== */
ul[b-xktbxijnnh], ol[b-xktbxijnnh] {
  margin-bottom: clamp(1rem, 2vw, 1.5rem);
  padding-left: clamp(1.5rem, 3vw, 2rem);
}

li[b-xktbxijnnh] {
  margin-bottom: clamp(0.25rem, 1vw, 0.5rem);
  line-height: 1.6;
}

@media (max-width: 576px) {
  ul[b-xktbxijnnh], ol[b-xktbxijnnh] {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
  }
}

/* ===== Card Layout Responsiveness ===== */
.card[b-xktbxijnnh] {
  overflow: hidden;
  transition: all 0.2s ease;
}

.card:hover[b-xktbxijnnh] {
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, .1);
}

.card-header[b-xktbxijnnh] {
  background-color: rgba(0, 0, 0, 0.03);
  padding: clamp(0.75rem, 2vw, 1rem);
  font-weight: 600;
  border-bottom: 1px solid rgba(0, 0, 0, 0.125);
}

.card-footer[b-xktbxijnnh] {
  background-color: rgba(0, 0, 0, 0.03);
  padding: clamp(0.75rem, 2vw, 1rem);
  border-top: 1px solid rgba(0, 0, 0, 0.125);
}

/* ===== Progress Bar Responsiveness ===== */
.progress[b-xktbxijnnh] {
  height: clamp(0.5rem, 1vw, 1.5rem);
  background-color: #e9ecef;
  border-radius: 0.375rem;
  overflow: hidden;
}

.progress-bar[b-xktbxijnnh] {
  transition: width 0.3s ease;
}

/* ===== Pagination Responsiveness ===== */
.pagination[b-xktbxijnnh] {
  gap: clamp(0.25rem, 0.5vw, 0.5rem);
}

.page-link[b-xktbxijnnh] {
  min-height: 40px;
  padding: clamp(0.375rem, 0.8vw, 0.5rem) clamp(0.75rem, 1.5vw, 1rem);
  font-size: clamp(0.875rem, 1.2vw, 0.95rem);
}

@media (max-width: 576px) {
  .page-link[b-xktbxijnnh] {
    min-height: 40px;
    padding: 0.375rem 0.75rem;
    font-size: 0.875rem;
  }

  .pagination[b-xktbxijnnh] {
    flex-wrap: wrap;
    justify-content: center;
  }
}

/* ===== Breadcrumb Responsiveness ===== */
.breadcrumb[b-xktbxijnnh] {
  font-size: clamp(0.8rem, 1vw, 0.95rem);
  margin-bottom: clamp(1rem, 2vw, 1.5rem);
  flex-wrap: wrap;
  gap: clamp(0.25rem, 1vw, 0.5rem);
}

.breadcrumb-item[b-xktbxijnnh] {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

/* ===== Badge Responsiveness ===== */
.badge[b-xktbxijnnh] {
  font-size: clamp(0.7rem, 1vw, 0.85rem);
  padding: clamp(0.25rem, 0.8vw, 0.35rem) clamp(0.5rem, 1.5vw, 0.75rem);
  word-break: break-word;
}

/* ===== Alert Box Responsiveness ===== */
.alert[b-xktbxijnnh] {
  font-size: clamp(0.875rem, 1.2vw, 0.95rem);
  padding: clamp(0.75rem, 2vw, 1rem) clamp(1rem, 2.5vw, 1.5rem);
  border-radius: 0.375rem;
}

.alert-dismissible[b-xktbxijnnh] {
  position: relative;
}

.alert-dismissible .btn-close[b-xktbxijnnh] {
  transition: opacity 0.2s ease;
}

.alert-dismissible .btn-close:hover[b-xktbxijnnh] {
  opacity: 0.75;
}

@media (max-width: 576px) {
  .alert[b-xktbxijnnh] {
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
  }

  .alert-dismissible .btn-close[b-xktbxijnnh] {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    padding: 0.25rem;
  }
}

/* ===== Spinner / Loading ===== */
.spinner-border[b-xktbxijnnh],
.spinner-grow[b-xktbxijnnh] {
  width: clamp(1rem, 4vw, 3rem);
  height: clamp(1rem, 4vw, 3rem);
}

/* ===== Placeholder Responsiveness ===== */
.placeholder[b-xktbxijnnh] {
  height: clamp(1rem, 2vw, 1.5rem);
}

.placeholder-glow .placeholder[b-xktbxijnnh] {
  animation: placeholder-glow-b-xktbxijnnh 2s ease-in-out infinite;
}

@keyframes placeholder-glow-b-xktbxijnnh {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
  100% {
    opacity: 1;
  }
}

/* ===== Utility Class Additions ===== */
.text-truncate-responsive[b-xktbxijnnh] {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (max-width: 576px) {
  .text-truncate-responsive[b-xktbxijnnh] {
    white-space: normal;
    word-break: break-word;
  }
}

/* ===== Responsive Visibility Helpers ===== */
@media (max-width: 575.98px) {
  .d-sm-none[b-xktbxijnnh] {
    display: none !important;
  }

  .d-sm-inline[b-xktbxijnnh] {
    display: inline !important;
  }
}

@media (min-width: 576px) {
  .d-sm-block[b-xktbxijnnh] {
    display: block !important;
  }
}
