/* Base font sizing (keep your original behavior) */
html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

/* Focus rings (from your original) */
.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;
}

/* Page geometry (from your original) */
html {
    position: relative;
    min-height: 100%;
}

body {
    margin-bottom: 60px;
}

/* ---------------------------
   Branding & Modern Polish
   --------------------------- */

/* Brand logo: scales your 1191×821 nicely */
.brand-logo {
    height: 64px; /* scales your 1191×821 correctly */
    width: auto;
    object-fit: contain;
    display: inline-block;
}


/* Subtle, friendly background */
body {
    background: radial-gradient(1200px 600px at 10% -10%, rgba(0, 123, 255, .05), transparent 60%), radial-gradient(800px 400px at 100% 0%, rgba(32, 201, 151, .06), transparent 50%), #f7f9fc;
    /* keep the footer gap from your original rule */
}

/* Card elevation */
.card.elevated {
    border: 0;
    box-shadow: 0 6px 30px rgba(16, 24, 40, .08), 0 2px 8px rgba(16, 24, 40, .06);
    border-radius: 1rem;
}

/* Softer rounded controls */
.btn,
.form-control,
.form-select {
    border-radius: .6rem;
}

/* Utility: centered narrow column (great for auth pages) */
.centered-narrow {
    max-width: 440px;
    margin-inline: auto;
}

/* Improve form control hover/focus a touch while keeping your focus ring */
.form-control:hover {
    border-color: rgba(37, 140, 251, .45);
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important;
    }
}
