html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

a, .btn-link {
    color: #006bb7;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.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;
}

.content {
    padding-top: 1.1rem;
}

h1:focus {
    outline: none;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid #e50000;
}

.validation-message {
    color: #e50000;
}

#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

.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;
}

/* ============================
   FIXED: this block was broken
   ============================ */
.button-container {
    padding: 8px;
}

.add-display-button {
    width: 120px !important;
    height: 120px !important;
    border-radius: 12px !important;
    background: rgba(200, 200, 200, 0.3) !important;
    border: 1px solid rgba(180, 180, 180, 0.4) !important;
    box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.08), -1px -1px 4px rgba(255, 255, 255, 0.6), inset 1px 1px 2px rgba(255, 255, 255, 0.4), inset -1px -1px 2px rgba(0, 0, 0, 0.05) !important;
    transition: all 0.2s ease !important;
    color: rgba(100, 100, 100, 0.7) !important;
}

    .add-display-button:hover {
        background: rgba(210, 210, 210, 0.4) !important;
        box-shadow: 3px 3px 10px rgba(0, 0, 0, 0.12), -2px -2px 6px rgba(255, 255, 255, 0.7), inset 1px 1px 3px rgba(255, 255, 255, 0.5), inset -1px -1px 3px rgba(0, 0, 0, 0.08) !important;
        transform: translateY(-1px) !important;
        color: rgba(80, 80, 80, 0.8) !important;
    }

    .add-display-button:active {
        background: rgba(190, 190, 190, 0.4) !important;
        box-shadow: inset 2px 2px 6px rgba(0, 0, 0, 0.15), inset -1px -1px 3px rgba(255, 255, 255, 0.4), 1px 1px 3px rgba(0, 0, 0, 0.05) !important;
        transform: translateY(1px) !important;
        color: rgba(120, 120, 120, 0.9) !important;
    }

.button-content {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    height: 100% !important;
    gap: 8px !important;
}

.plus-icon {
    font-size: 32px !important;
    margin-bottom: 4px !important;
}

.button-text {
    font-size: 10px !important;
    font-weight: 600 !important;
    text-align: center !important;
    line-height: 1.2 !important;
    letter-spacing: 0.5px !important;
}

.add-display-button .mud-button-label {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    height: 100% !important;
}

/* ============================
   DominateDocs Theme Helpers
   ============================ */

.dd-header {
    background-color: #0a1929 !important;
    color: white !important;
    font-size: 13px;
}

    .dd-header .mud-icon-root {
        color: white !important;
        font-size: 1.2rem;
    }

#nav-drawer {
    background-color: #3E566E !important;
}

/* ==========================================================
   Nav headings (we don't rely on MudNavGroup header markup)
   ========================================================== */

.dd-nav-heading {
    color: #ffffff !important;
    font-weight: 700;
    font-size: 0.85rem;
    padding: 12px 16px 6px 16px;
    opacity: 0.95;
    letter-spacing: 0.2px;
}

.dd-nav-divider {
    margin: 10px 12px;
    border-color: rgba(255,255,255,0.20) !important;
}

/* Ensure all nav link text/icons are white inside the drawer */
#nav-drawer .mud-nav-link,
#nav-drawer .mud-nav-link * {
    color: #ffffff !important;
    opacity: 1 !important;
}

    #nav-drawer .mud-nav-link .mud-icon-root {
        color: #ffffff !important;
    }

/* Slight indent for links under headings */
.dd-navmenu .mud-nav-link {
    padding-left: 16px !important;
}
