﻿html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    margin: 0;
    padding: 0;
    height: 100%;
}

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-boundary::after {
    content: "An error has occurred.";
}

.darker-border-checkbox.form-check-input {
    border-color: #929292;
}

.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;
}

/* ---------------------------
   ✅ Sticky Layout (Radzen)
----------------------------*/
.radzen-full-height {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.radzen-sticky-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.radzen-scroll-content {
    flex: 1;
    overflow-y: auto;
    padding: 1rem;
    padding-bottom: 60px; /* Prevent overlap with footer */
}

.radzen-sticky-footer {
    position: sticky;
    bottom: 0;
    background-color: #f8f9fa;
    text-align: center;
    padding: 1rem;
    box-shadow: 0 -2px 4px rgba(0, 0, 0, 0.05);
}

/* ---------------------------
   ✅ Login Card Styling
----------------------------*/

.login-background {
    background: linear-gradient(to bottom right, #f0f4f8, #dfe9f3);
    height: 85vh;
    width: 97vw;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0px;
}

/*for customized RadzenProfileMenu*/

.rz-profile-menu-item {
    padding: 8px 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
}

.rz-profile-menu-item:hover {
    background-color: rgba(0,0,0,0.05);
}

/* Force single column below 1200px */
/*@media (max-width: 1199px) {
    .person-card, .family-card {
        max-width: 100% !important;
    }
}*/

/* Also force single column on mobile/tablets (even if wide) */
/*@media (hover: none) and (pointer: coarse) {
    .person-card, .family-card {
        max-width: 100% !important;
    }
}*/

