body {
    background: linear-gradient(180deg, #f5f7fb 0%, #eef2f9 100%);
}

.az-logo {
    text-transform: none;
    letter-spacing: 0.02em;
}

.az-logo span {
    margin-right: 8px;
}

.az-header {
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
}

.app-shell-header {
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 18px;
    padding: 18px 22px;
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: 16px;
    background: linear-gradient(135deg, #ffffff 0%, #f8fbff 55%, #eef4ff 100%);
    box-shadow: 0 12px 30px rgba(30, 41, 59, 0.06);
}

.app-kicker {
    display: inline-block;
    margin-bottom: 10px;
    color: #5b6c8f;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.app-main-title {
    max-width: 900px;
    margin-bottom: 0;
    font-size: 26px;
    line-height: 1.25;
    color: #1f2937;
}

.app-subtitle {
    max-width: 780px;
    margin-bottom: 0;
    color: #667085;
    font-size: 15px;
}

.app-header-meta .media {
    min-width: 220px;
    padding: 12px 14px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(226, 232, 240, 0.95);
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.05);
}

.app-header-meta label {
    margin-bottom: 6px;
    color: #64748b;
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.app-header-meta h6 {
    margin-bottom: 0;
    font-size: 14px;
    color: #1e293b;
}

.app-page-content > .container,
.app-page-content > .container-fluid {
    padding-right: 0;
    padding-left: 0;
}

.app-page-shell {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.app-page-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.app-page-title {
    margin: 0;
    color: #1f2937;
    font-size: 22px;
    font-weight: 700;
}

.app-page-subtitle {
    margin: 4px 0 0;
    color: #667085;
    font-size: 13px;
}

.app-page-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.app-panel-header .app-page-actions {
    margin-left: auto;
}

.app-panel {
    border: 1px solid #e6ebf4;
    border-radius: 16px;
    background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.05);
}

.app-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 18px 0;
}

.app-panel-title {
    margin: 0;
    color: #1f2937;
    font-size: 18px;
    font-weight: 700;
}

.app-panel-subtitle {
    margin: 4px 0 0;
    color: #667085;
    font-size: 13px;
}

.app-panel-body {
    padding: 16px 18px 18px;
}

.app-form-stack {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.app-section-heading {
    margin: 0 0 12px;
    color: #1f2937;
    font-size: 16px;
    font-weight: 700;
}

.app-inline-note {
    color: #667085;
    font-size: 13px;
}

.app-submit-row {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.option-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.option-grid-compact {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.option-chip {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    padding: 0.8rem 0.9rem;
    border: 1px solid #e6ebf4;
    border-radius: 14px;
    background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
    color: #334155;
    font-size: 14px;
    font-weight: 600;
}

.option-chip input {
    flex: 0 0 auto;
}

.option-chip span {
    min-width: 0;
    word-break: break-word;
}

.app-list {
    border: 1px solid #e6ebf4;
    border-radius: 14px;
    overflow: hidden;
}

.app-list .list-group-item {
    padding: 0.85rem 1rem;
    border-color: #edf2f7;
}

.app-table-card {
    border: 1px solid #e6ebf4;
    border-radius: 14px;
    overflow: hidden;
    background: #fff;
}

.app-table-card .table {
    margin-bottom: 0;
}

.app-table-card .table thead th {
    background: #f8fbff;
}

.family-list-table {
    margin-bottom: 0;
}

.family-list-table thead th {
    padding: 0.7rem 0.9rem;
    border-top: 0;
    border-bottom: 1px solid #e6ebf4;
    color: #64748b;
    background: #f8fbff;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.family-list-table tbody td {
    padding: 0.8rem 0.9rem;
    border-top: 0;
    border-bottom: 1px solid #eef2f7;
    background: #fff;
    vertical-align: middle;
}

.family-list-table tbody tr:hover td {
    background: #fbfdff;
}

.family-list-table tbody tr:last-child td {
    border-bottom: 0;
}

.family-list-index {
    width: 56px;
    color: #64748b;
    font-weight: 700;
}

.family-list-id {
    color: #334155;
    font-weight: 700;
}

.family-list-name {
    color: #0f172a;
    font-weight: 600;
}

.family-list-view-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.38rem;
    min-height: 28px;
    padding: 0.26rem 0.62rem;
    border-radius: 999px;
    background: #eef4ff;
    color: #111827;
    font-size: 12px;
    font-weight: 800;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
}

.family-list-view-link i {
    font-size: 14px;
    font-weight: 800;
    line-height: 1;
}

.family-list-view-link:hover {
    background: #dbeafe;
    color: #111827;
    text-decoration: none;
}

.family-show-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.detail-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.detail-item {
    min-width: 0;
    padding: 0.85rem 0.9rem;
    border: 1px solid #e8edf5;
    border-radius: 14px;
    background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
}

.detail-label {
    display: block;
    margin-bottom: 0.35rem;
    color: #64748b;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.detail-value {
    color: #111827;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.35;
    word-break: break-word;
}

.address-summary-card {
    margin-bottom: 14px;
    padding: 1rem 1.05rem;
    border: 1px solid #e8edf5;
    border-radius: 16px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.address-summary-lines {
    display: grid;
    gap: 0.22rem;
}

.address-summary-line {
    color: #0f172a;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.4;
    word-break: break-word;
}

.address-meta-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.family-background-grid {
    margin-top: 14px;
}

.compact-summary-sections {
    display: grid;
    gap: 16px;
}

.compact-summary-section {
    border: 1px solid #e8edf5;
    border-radius: 16px;
    background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
    overflow: hidden;
}

.compact-summary-section-title {
    margin: 0;
    padding: 0.8rem 1rem;
    border-bottom: 1px solid #e8edf5;
    color: #334155;
    font-size: 13px;
    font-weight: 800;
}

.compact-summary-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.compact-summary-item {
    display: grid;
    gap: 0.15rem;
    min-width: 0;
    padding: 0.72rem 1rem;
    border-bottom: 1px solid #eef2f7;
}

.compact-summary-item:nth-child(odd) {
    border-right: 1px solid #eef2f7;
}

.compact-summary-label {
    color: #64748b;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.compact-summary-value {
    color: #111827;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.35;
    word-break: break-word;
}

@media (max-width: 768px) {
    .compact-summary-grid,
    .address-meta-grid {
        grid-template-columns: 1fr;
    }

    .compact-summary-item:nth-child(odd) {
        border-right: 0;
    }
}

.family-members-table thead th {
    padding: 0.7rem 0.9rem;
    border-top: 0;
    border-bottom: 1px solid #e6ebf4;
    background: #f8fbff;
    color: #64748b;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.family-members-table tbody td {
    padding: 0.8rem 0.9rem;
    border-top: 0;
    border-bottom: 1px solid #eef2f7;
    vertical-align: middle;
}

.family-members-table tbody tr:last-child td {
    border-bottom: 0;
}

.family-member-index {
    width: 56px;
    color: #64748b;
    font-weight: 700;
}

.family-member-name {
    color: #0f172a;
    font-weight: 700;
}

.family-member-actions {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.family-delete-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border: 0;
    border-radius: 999px;
    background: #fee2e2;
    color: #b91c1c;
}

.family-delete-link i {
    font-size: 13px;
    line-height: 1;
}

.family-delete-link:hover {
    background: #fecaca;
}

.member-section-heading {
    margin: 0 0 12px;
    color: #334155;
    font-size: 15px;
    font-weight: 800;
}

.report-section {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.report-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.report-section-title {
    margin: 0;
    color: #1f2937;
    font-size: 18px;
    font-weight: 800;
}

.report-section-subtitle {
    margin: 4px 0 0;
    color: #667085;
    font-size: 13px;
}

.report-summary-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.report-stat-card {
    padding: 1rem 1.1rem;
    border: 1px solid #e6ebf4;
    border-radius: 16px;
    background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
}

.report-stat-label {
    display: block;
    color: #64748b;
    font-size: 12px;
    font-weight: 700;
}

.report-stat-value {
    margin-top: 8px;
    color: #0f172a;
    font-size: 2rem;
    font-weight: 800;
    line-height: 1;
}

.report-stat-meta {
    margin-top: 10px;
    color: #667085;
    font-size: 13px;
    font-weight: 600;
}

.report-stat-actions {
    margin-top: 12px;
}

.report-stat-card.blue .report-stat-value { color: #2563eb; }
.report-stat-card.green .report-stat-value { color: #059669; }
.report-stat-card.sky .report-stat-value { color: #0284c7; }
.report-stat-card.rose .report-stat-value { color: #e11d48; }

.report-table-card {
    overflow: hidden;
}

.report-summary-table thead th {
    background: #f8fbff;
    border-top: 0;
}

.report-summary-table tbody tr:last-child td {
    border-bottom: 0;
}

.report-chart-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.report-chart-grid-two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.report-chart-card {
    border: 1px solid #e6ebf4;
    border-radius: 16px;
    background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
    overflow: hidden;
}

.report-chart-card-wide {
    min-height: 320px;
}

.report-chart-header {
    padding: 14px 16px 0;
}

.report-chart-header h4 {
    margin: 0;
    color: #334155;
    font-size: 15px;
    font-weight: 700;
}

.report-chart-body {
    padding: 14px 16px 16px;
}

.search-results-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 14px;
    margin-top: 8px;
    color: #64748b;
    font-size: 13px;
}

.search-filter-pill {
    display: inline-flex;
    align-items: center;
    padding: 0.3rem 0.65rem;
    border-radius: 999px;
    background: #0f172a;
    color: #fff;
    font-weight: 700;
}

.search-results-table thead th {
    padding: 0.7rem 0.9rem;
    border-top: 0;
    border-bottom: 1px solid #e6ebf4;
    background: #f8fbff;
    color: #64748b;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.search-results-table tbody td {
    padding: 0.8rem 0.9rem;
    border-top: 0;
    border-bottom: 1px solid #eef2f7;
    background: #fff;
    vertical-align: middle;
}

.search-results-table tbody tr:hover td {
    background: #fbfdff;
}

.search-results-table tbody tr:last-child td {
    border-bottom: 0;
}

.search-results-index {
    width: 72px;
    color: #64748b;
    font-weight: 700;
}

.search-results-family {
    color: #334155;
    font-weight: 700;
}

.search-results-member {
    color: #0f172a;
    font-weight: 700;
}

.app-alert {
    border: 0;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
}

.az-profile-avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #4f46e5, #2563eb);
    color: #fff;
    font-weight: 700;
}

.az-profile-avatar span {
    font-size: 15px;
    line-height: 1;
}

.card,
.list-group-item,
.table,
.form-control,
.dropdown-menu,
.modal-content {
    border-color: #e2e8f0;
}

.card {
    border: 1px solid #e6ebf4;
    border-radius: 14px;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.05);
}

.card .card-body {
    padding: 0.85rem;
}

.tile {
    overflow: hidden;
    min-height: 112px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.tile:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 42px rgba(37, 99, 235, 0.14);
}

.tile .card-title {
    margin-bottom: 4px;
    color: #667085;
    font-size: 12px;
    font-weight: 600;
}

.tile .card-text {
    color: #111827;
    font-size: 1.45rem;
    line-height: 1.1;
}

.tile .buttons-container,
.tile .eye-btn,
.tile .plus-btn {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.dashboard-page {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.dashboard-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.dashboard-panels-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
    gap: 18px;
    align-items: start;
}

.dashboard-action-row {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
}

.dashboard-stat-icon {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    color: #fff;
    box-shadow: 0 10px 24px rgba(37, 99, 235, 0.2);
}

.dashboard-stat-icon.blue {
    background: linear-gradient(135deg, #2563eb, #3b82f6);
}

.dashboard-stat-icon.green {
    background: linear-gradient(135deg, #059669, #10b981);
}

.dashboard-stat-icon.purple {
    background: linear-gradient(135deg, #7c3aed, #8b5cf6);
}

.dashboard-stat-icon.orange {
    background: linear-gradient(135deg, #ea580c, #f97316);
}

.dashboard-panel {
    padding: 0;
    overflow: hidden;
}

.dashboard-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 18px 0;
}

.dashboard-panel-title {
    margin: 0;
    color: #1f2937;
    font-size: 18px;
    font-weight: 700;
}

.dashboard-panel-subtitle {
    margin: 4px 0 0;
    color: #667085;
    font-size: 13px;
}

.dashboard-list {
    padding: 10px;
}

.dashboard-list .list-group-item {
    position: relative;
    margin-bottom: 8px;
    border: 1px solid #e8edf5;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.04);
}

.dashboard-list .list-group-item:last-child {
    margin-bottom: 0;
}

.dashboard-list-item {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 16px;
    align-items: center;
}

.dashboard-list-copy {
    min-width: 0;
}

.dashboard-count {
    color: #0f172a;
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1;
}

.dashboard-table-wrap {
    margin: 10px 12px 12px;
    border: 1px solid #e6ebf4;
    border-radius: 10px;
}

.dashboard-family-table thead th {
    background: #f8fbff;
    padding: 0.38rem 0.55rem;
    font-size: 10px;
    white-space: normal;
    line-height: 1.2;
}

.dashboard-family-table td {
    padding: 0.28rem 0.55rem;
    font-size: 12px;
    white-space: normal;
    line-height: 1.1;
    vertical-align: middle;
}

.dashboard-family-table tbody tr:last-child td {
    border-bottom: 0;
}

.dashboard-anbiam-no {
    width: 58px;
    color: #475467;
    font-weight: 700;
}

.dashboard-family-table .dashboard-anbiam-name {
    color: #111827;
    font-weight: 600;
    line-height: 1.05;
    max-width: 0;
    word-break: break-word;
}

.dashboard-family-count {
    color: #111827;
    font-weight: 800;
}

.dashboard-family-table th:nth-child(3),
.dashboard-family-table td:nth-child(3) {
    width: 72px;
}

.dashboard-family-table th:last-child,
.dashboard-family-table td:last-child {
    width: 54px;
    padding-left: 0.25rem;
    padding-right: 0.25rem;
}

.dashboard-family-table .btn-sm {
    padding: 0.18rem 0.38rem;
    line-height: 1;
}

.table {
    margin-bottom: 0;
    background: #fff;
}

.table thead th {
    border-top: 0;
    border-bottom: 1px solid #e5e7eb;
    color: #475467;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.table td,
.table th {
    padding: 0.95rem 1rem;
    vertical-align: middle;
}

.table.dashboard-family-table thead th {
    padding: 0.38rem 0.55rem;
    font-size: 10px;
    line-height: 1.15;
}

.table.dashboard-family-table td {
    padding: 0.28rem 0.55rem;
    font-size: 12px;
    line-height: 1.1;
    vertical-align: middle;
}

.table.dashboard-family-table .dashboard-anbiam-name {
    line-height: 1.05;
}

.table.dashboard-family-table th:last-child,
.table.dashboard-family-table td:last-child {
    width: 54px;
    padding-left: 0.25rem;
    padding-right: 0.25rem;
}

.table.dashboard-family-table .btn-sm {
    padding: 0.18rem 0.38rem;
    line-height: 1;
}

.dashboard-view-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.38rem;
    min-height: 28px;
    padding: 0.28rem 0.68rem;
    border-radius: 999px;
    background: #eef4ff;
    color: #111827;
    font-size: 12px;
    font-weight: 800;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
}

.dashboard-view-link i {
    font-size: 14px;
    font-weight: 800;
    line-height: 1;
}

.dashboard-view-link:hover {
    color: #1d4ed8;
    text-decoration: none;
    background: #dbeafe;
}

.dashboard-add-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.38rem;
    min-height: 28px;
    padding: 0.28rem 0.68rem;
    border-radius: 999px;
    background: #ecfdf3;
    color: #111827;
    font-size: 12px;
    font-weight: 800;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
}

.dashboard-add-link i {
    font-size: 14px;
    font-weight: 800;
    line-height: 1;
}

.dashboard-add-link:hover {
    color: #047857;
    text-decoration: none;
    background: #d1fae5;
}

.dashboard-table-wrap .dashboard-view-link {
    min-height: 26px;
    padding: 0.24rem 0.56rem;
    font-size: 11px;
}

.dashboard-table-wrap .dashboard-view-link i {
    font-size: 13px;
}

.table-hover tbody tr:hover {
    background-color: #f8fbff;
}

.table-shell {
    padding: 20px 24px 24px;
}

.table-card-title {
    margin: 0 0 18px;
    color: #1f2937;
    font-size: 20px;
    font-weight: 700;
}

.table-responsive {
    border: 1px solid #e6ebf4;
    border-radius: 16px;
    overflow: hidden;
}

.form-control,
.form-select,
select.form-control {
    min-height: 46px;
    border-radius: 12px;
    box-shadow: none;
}

.form-control:focus,
.form-select:focus,
select.form-control:focus {
    border-color: #98b3ff;
    box-shadow: 0 0 0 0.2rem rgba(37, 99, 235, 0.12);
}

.btn {
    border-radius: 12px;
    font-weight: 700;
}

.btn-sm {
    border-radius: 10px;
    padding: 0.28rem 0.5rem;
    font-size: 0.78rem;
}

.btn i {
    font-weight: 700;
}

.btn-primary,
.btn-az-primary {
    background: linear-gradient(135deg, #4f46e5, #2563eb);
    border-color: transparent;
    box-shadow: 0 10px 24px rgba(79, 70, 229, 0.2);
}

.btn-primary:hover,
.btn-az-primary:hover {
    background: linear-gradient(135deg, #4338ca, #1d4ed8);
    border-color: transparent;
}

.btn-outline-primary {
    color: #2563eb;
    border-color: #bfdbfe;
    background: #eff6ff;
}

.btn-outline-success {
    color: #047857;
    border-color: #a7f3d0;
    background: #ecfdf3;
}

.btn-outline-secondary {
    color: #475467;
    border-color: #d0d5dd;
    background: #f8fafc;
}

.dropdown-menu {
    border-radius: 14px;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
}

.custom-btn {
    color: white;
    text-decoration: none;
}

.custom-btn:hover {
    color: #dbeafe;
}

.border-all {
    padding: 1rem 0.75rem;
    border: 1px solid #dbe4f0;
    border-radius: 16px;
    background: linear-gradient(180deg, #ffffff 0%, #f9fbff 100%);
}

.bar {
    fill: #4f46e5;
}

.bar:hover {
    fill: #2563eb;
}

.axis text,
.x-axis text,
.label,
.axis-label {
    fill: #475467;
    font-size: 12px;
}

.axis path,
.axis line,
.x-axis path,
.x-axis line {
    stroke: #cbd5e1;
}

#chart-container {
    width: 100%;
    min-height: 320px;
    max-width: 100%;
    margin: auto;
    padding: 10px 14px 18px;
}

svg {
    width: 100%;
    height: auto;
    display: block;
}

.login-alert-wrap {
    width: min(100%, 420px);
    margin: 0 auto 16px;
}

@media (max-width: 991.98px) {
    .app-shell-header {
        padding: 16px 18px;
    }

    .app-main-title {
        font-size: 22px;
    }

    .dashboard-stats-grid,
    .dashboard-panels-grid {
        grid-template-columns: 1fr 1fr;
    }

    .report-summary-grid,
    .report-chart-grid,
    .report-chart-grid-two {
        grid-template-columns: 1fr 1fr;
    }

    .option-grid,
    .option-grid-compact {
        grid-template-columns: 1fr 1fr;
    }

    .family-show-grid,
    .detail-grid {
        grid-template-columns: 1fr 1fr;
    }

    .app-page-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .tile {
        min-height: 106px;
    }
}

@media (max-width: 767.98px) {
    .dashboard-stats-grid,
    .dashboard-panels-grid {
        grid-template-columns: 1fr;
    }

    .report-summary-grid,
    .report-chart-grid,
    .report-chart-grid-two {
        grid-template-columns: 1fr;
    }

    .option-grid,
    .option-grid-compact {
        grid-template-columns: 1fr;
    }

    .family-show-grid,
    .detail-grid {
        grid-template-columns: 1fr;
    }

    .dashboard-list-item {
        grid-template-columns: 1fr;
        justify-items: start;
    }

    .dashboard-action-row {
        width: 100%;
        justify-content: flex-start;
    }
}
