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;
}

.fancy-btn {
    display: inline-flex;
    align-items: center;
    padding: 8px 20px;
    background: #0d6efd;
    color: #fff;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.3s ease, transform 0.2s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    font-family: 'Segoe UI', sans-serif;
}

    .fancy-btn .arrow {
        font-size: 18px;
        margin-right: 10px;
        transition: transform 0.2s ease;
    }

    .fancy-btn:hover {
        background: linear-gradient(135deg, #5a67d8, #6b46c1);
        transform: translateY(-2px);
        text-decoration: none;
    }

    .fancy-btn:hover .arrow {
        transform: translateX(-4px);
    }

    .fancy-btn:active {
        transform: scale(0.98);
    }

#settings-panel {
    position: fixed;
    top: 60px; /* Stick to top */
    bottom: 0; /* Stretch to bottom */
    right: 0; /* Stick to right */
    z-index: 999;
    overflow-y: auto;
    width: 300px;
    background-color: #f8f9fa;
    border-left: 1px solid #ccc;
    padding: 15px;
    border-radius: 0;
    box-shadow: -2px 0 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    transform: translateX(0); /* Start visible */
}

    /* When hidden */
    #settings-panel.hidden {
        transform: translateX(100%);
    }