/*
 * Layout trang trống (modules/Layout/blank.blade.php) — không có CSS của theme, nên tự đặt nền
 * tối thiểu: hộp tính cả viền, bỏ lề body, phông hệ thống (đủ dấu tiếng Việt, không tải thêm).
 */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
}

body.blank-page {
    margin: 0;
    color: #1f2937;
    background: #fff;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 15px;
    line-height: 1.5;
}

.blank-page img {
    max-width: 100%;
}

/* Tiêu đề trang ẩn cho trình đọc màn hình (Bootstrap không có ở đây). */
.blank-page .visually-hidden,
.blank-page .sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

/* ── Thanh quản trị (Layout::parts.blank-adminbar) — cùng kiểu thanh admin của theme ── */
.blank-adminbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 8px 16px;
    background: #212529;
    font-size: 12px;
    line-height: 1.5;
}

.blank-adminbar__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    max-width: 1320px;
    margin: 0 auto;
}

.blank-adminbar__group {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.blank-adminbar__btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border: 0;
    border-radius: 4px;
    color: #fff !important;
    background: #6c757d;
    font-size: 12px;
    text-decoration: none !important;
    white-space: nowrap;
    cursor: pointer;
    list-style: none;
}

.blank-adminbar__btn:hover {
    background: #5c636a;
}

.blank-adminbar__btn svg {
    flex: none;
    width: 14px;
    height: 14px;
}

.blank-adminbar__btn .blank-adminbar__caret {
    width: 8px;
    height: 5px;
}

summary.blank-adminbar__btn::-webkit-details-marker,
summary.blank-adminbar__btn::marker {
    display: none;
    content: "";
}

.blank-adminbar__menu {
    position: relative;
}

.blank-adminbar__dropdown {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    min-width: 240px;
    max-height: 500px;
    overflow-y: auto;
    padding: 6px 0;
    border-radius: 6px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .25);
}

.blank-adminbar__dropdown a {
    display: block;
    padding: 6px 16px;
    color: #212529 !important;
    font-size: 13px;
    text-decoration: none !important;
    white-space: nowrap;
}

.blank-adminbar__dropdown a:hover {
    background: #f1f3f5;
}

/* Tiêu đề nhóm cài đặt trong menu thả xuống (Settings::SECTIONS) */
.blank-adminbar__heading {
    padding: 10px 16px 4px;
    color: #8a94a6;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    white-space: nowrap;
}

.blank-adminbar__heading:first-child {
    padding-top: 4px;
}
