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;
}

/* ===== Toast Notification Styles ===== */

/* Toast container positioning */
.toast-container {
    z-index: 1090;
    padding: 1rem;
}

/* Success toast - green */
.toast.toast-success {
    border-left: 4px solid #315320;
    background-color: rgba(40, 167, 69, 0.1);
    backdrop-filter: blur(10px);
}

.toast.toast-success .toast-header {
    background-color: #191715;
    color: #315320;
    font-weight: 600;
}

/* Error toast - danger red */
.toast.toast-error {
    border-left: 4px solid #bc8888;
    background-color: rgba(220, 53, 69, 0.1);
    backdrop-filter: blur(10px);
}

.toast.toast-error .toast-header {
    background-color: #191715;
    color: #bc8888;
    font-weight: 600;
}

/* Toast body styling */
.toast-body {
    color: #D8D8D8;
    background-color: rgba(0, 0, 0, 0.85);
    font-family: 'Kanit', sans-serif;
}

/* Icon styling */
.toast .toast-icon {
    font-size: 1.25rem;
    margin-right: 0.5rem;
}

/* Toast close button */
.toast .btn-close-white {
    filter: brightness(1);
}