﻿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;
}

.accent7-header {
    background: linear-gradient(90deg, #2e59d9, #4a73f8); /* Accent 7 gradient */
    color: #ffffff;
    font-size: 1.5rem;
    font-weight: 600;
    padding: 12px 20px;
    border-radius: 8px 8px 0 0;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    margin-bottom: 15px;
    letter-spacing: 0.5px;
    display: flex; /* ✅ flexbox for header layout */
    justify-content: space-between; /* left text, right button */
    align-items: center; /* vertical centering */
}

    .accent7-header a.btn {
        font-size: 0.9rem;
        font-weight: 500;
        padding: 6px 14px;
        border-radius: 6px;
    }


/* Region container */
.apex-region {
    border: 1px solid #ddd;
    border-radius: 6px;
    background: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,.1);
    margin-bottom: 20px;
}

/* Region header */
.apex-accent7-header {
    background-color: #3b5998; /* Accent 7 blue */
    color: white;
    font-weight: 600;
    padding: 12px 16px;
    font-size: 1.1rem;
    border-top-left-radius: 6px;
    border-top-right-radius: 6px;
}

/* Region body */
.apex-region-body {
    padding: 12px;
    background: #fff;
}

    /* Table inside region */
    .apex-region-body table {
        margin-bottom: 0; /* no gap below table */
        width: 100%;
        white-space: nowrap; /* prevent text wrapping */
    }

.navbar {
    font-size: 0.95rem;
}

.navbar-brand {
    letter-spacing: 0.5px;
}

.dropdown-menu {
    min-width: 180px;
}

/* Floating QR Button hover effect */
div a div:hover {
    transform: scale(1.1);
}
