html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
}

/* Endpoint management styles */
.endpoint-block-header {
  cursor: pointer;
  background-color: #f8f9fa;
}

.endpoint-block-header:hover {
  background-color: #e9ecef;
}

/* Fixed action bar for endpoints management */
.fixed-action-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: #ffffff;
  border-top: 1px solid #dee2e6;
  padding: 1rem;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
  z-index: 1030;
}

/* Add padding to content when fixed action bar is present */
.has-fixed-action-bar {
  padding-bottom: 80px;
}


/* Navbar brand icon */
.navbar-brand-icon {
  height: 32px;
  width: 32px;
  margin-right: 8px;
  vertical-align: middle;
}

/* Layout styles - consolidated from _Layout.cshtml.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. */

a.navbar-brand {
  white-space: normal;
  text-align: center;
  word-break: break-all;
}

a {
  color: #0077cc;
}

.btn-primary {
  color: #fff;
  background-color: #1b6ec2;
  border-color: #1861ac;
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
  color: #fff;
  background-color: #1b6ec2;
  border-color: #1861ac;
}

.border-top {
  border-top: 1px solid #e5e5e5;
}
.border-bottom {
  border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
  box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

button.accept-policy {
  font-size: 1rem;
  line-height: inherit;
}

.footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  white-space: nowrap;
  line-height: 60px;
}

/* Toast notification styles */
.toast-container {
  position: fixed;
  bottom: 20px;
  left: 20px;
  z-index: 1055;
}

.toast {
  min-width: 300px;
  max-width: 500px;
  animation: slideDown 0.3s ease-out;
}

/* Slide down animation from top */
@keyframes slideDown {
  from {
    transform: translateY(-100px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Fade out animation when hiding */
.toast.hiding {
  animation: fadeOut 0.3s ease-out;
}

@keyframes fadeOut {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}

.toast-header {
  font-weight: 600;
}

.toast-success .toast-header {
  background-color: #d1e7dd;
  color: #0f5132;
}

.toast-error .toast-header {
  background-color: #f8d7da;
  color: #842029;
}

.toast-info .toast-header {
  background-color: #cfe2ff;
  color: #084298;
}

.toast-warning .toast-header {
  background-color: #fff3cd;
  color: #997404;
}

/* Confirmation modal styles */
.confirmation-modal .modal-header {
  border-bottom: 1px solid #dee2e6;
}

.confirmation-modal .modal-footer {
  border-top: 1px solid #dee2e6;
}