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;
}

.shepherd-theme-dark {
    background: rgba(37, 38, 54, .8) !important;
    color: #fff;
    border-radius: 1rem;
    backdrop-filter: blur(15px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 9999999 !important;
}

.shepherd-text {
    font-size: 0.95rem;
    line-height: 1.4;
    color: #999 !important;
}

.shepherd-title {
    font-weight: 600;
    font-size: 1.2rem;
    color: #999;
}

.shepherd-header {
    background: rgba(0, 0, 0, 0) !important;
    color: #fff !important;
}

.shepherd-content {
    padding: 2rem;
    color: #999 !important;
}

.shepherd-element {
    background: rgba(37, 38, 54, 0.8) !important;
    width: 100% !important;
    z-index: 99999999 !important;
}

.shepherd-cancel-icon {
    padding-left: 1.5rem;
}

.shepherd-modal-overlay-container {
    backdrop-filter: blur(15px) !important;
}

/* Glassy dark tooltip */
.shepherd-element.shepherd-theme-shabarber {
    background: rgba(30, 30, 40, 1) !important;
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    color: #f5f5f5;
    max-width: 320px;
    transition: all 0.3s ease;
}

/* Header */
.shepherd-theme-shabarber .shepherd-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 0.75rem 1rem;
}

.shepherd-theme-shabarber .shepherd-title {
    font-weight: 600;
    font-size: 1.1rem;
    color: #ffcb74;
}

/* Cancel (X) button */
.shepherd-theme-shabarber .shepherd-cancel-icon {
    color: #ccc;
    background: transparent;
    border: none;
    font-size: 1.2rem;
    transition: color 0.2s;
}

    .shepherd-theme-shabarber .shepherd-cancel-icon:hover {
        color: #fff !important;
    }

/* Body text */
.shepherd-theme-shabarber .shepherd-text {
    padding: 0.75rem 1rem;
    line-height: 1.4;
    font-size: 0.95rem;
}

/* Footer (buttons) */
.shepherd-theme-shabarber .shepherd-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 0.75rem 1rem;
    display: flex;
    justify-content: flex-end;
    gap: 0.5rem;
}

/* Buttons */
.shepherd-theme-shabarber .shepherd-button {
    background-color: #aacb74;
    color: #000;
    border: none;
    border-radius: 8px;
    padding: 0.5rem 1rem;
    font-weight: 600;
    transition: background 0.3s;
}

    .shepherd-theme-shabarber .shepherd-button:hover {
        background-color: #22e4b3;
    }

.shepherd-theme-shabarber .shepherd-button-secondary {
    background-color: transparent;
    color: #ccc;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

    .shepherd-theme-shabarber .shepherd-button-secondary:hover {
        color: #fff;
        border-color: #fff;
    }

/* Arrow color */
.shepherd-theme-shabarber .shepherd-arrow::before {
    background-color: rgba(30, 30, 40, 0.9);
}

/* Overlay */
.shepherd-modal-overlay-container {
    background: rgba(255, 255, 255, .7);
    backdrop-filter: blur(15px);
    transition: opacity 0.3s ease-in-out;
}