/* BTCL Domain Portal theme — clean white + blue SaaS registry look. */
:root {
    --bd-blue: #1565c0;
    --bd-blue-dark: #0d4ea3;
    --bd-blue-darker: #0a3b7a;
    --bd-blue-pale: #eaf2fc;
    --bd-green: #0b5e21;
    --bd-green-dark: #08461a;
    --bd-green-pale: #e8f4ea;
    --bd-orange: #f5a623;
    --bd-orange-dark: #d6890f;
    --bd-bg: #ffffff;
    --bd-ink: #1a202c;
    --bd-muted: #6b7280;
}

html, body {
    margin: 0;
    padding: 0;
}
body {
    background-color: var(--bd-bg);
    color: var(--bd-ink);
}

a { color: var(--bd-blue); }
a:hover { color: var(--bd-blue-dark); }

.btn-primary {
    background-color: var(--bd-blue);
    border-color: var(--bd-blue-dark);
}
.btn-primary:hover, .btn-primary:focus, .btn-primary:active {
    background-color: var(--bd-blue-dark);
    border-color: var(--bd-blue-dark);
}
.btn-success {
    background-color: var(--bd-orange);
    border-color: var(--bd-orange-dark);
    color: #fff;
}
.btn-success:hover, .btn-success:focus, .btn-success:active {
    background-color: var(--bd-orange-dark);
    border-color: var(--bd-orange-dark);
    color: #fff;
}
.label-success { background-color: var(--bd-blue); }
.label-danger { background-color: #e0395b; }
.label-warning { background-color: var(--bd-orange); }

/* ===== Sticky header wrapper (utility bar + main header, guest pages) =====
   "Dynamic" = gains a shadow and tightens up once scrolled past the hero,
   via the .bd-header-scrolled class toggled in layouts/app.blade.php. */
#bd-header-wrap {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: box-shadow 0.2s ease;
}

body.bd-mode-public {
    padding-top: var(--bd-header-offset, 0px);
}
#bd-header-wrap.bd-header-scrolled {
    box-shadow: 0 4px 16px rgba(0,0,0,0.18);
}
#bd-header-wrap.bd-header-scrolled .bd-utility-bar { padding: 4px 0; }
#bd-header-wrap.bd-header-scrolled .bd-public-header { padding: clamp(6px, 1vw, 8px) 0; }
#bd-header-wrap.bd-header-scrolled .bd-public-header .bd-logo img { max-height: clamp(40px, 4vw, 48px); }

/* Edge-anchored header row — fixed side padding instead of Bootstrap's
   centered, max-width .container, so the logo sits flush at the left edge
   and the nav/login flush at the right edge rather than inset toward the
   middle of wide viewports. */
.bd-header-inner {
    width: 100%;
    box-sizing: border-box;
    padding: 0 clamp(12px, 2.4vw, 28px);
    display: flex;
    align-items: center;
}
.bd-utility-bar-inner { justify-content: flex-end; }
.bd-public-header-inner { justify-content: space-between; }

/* ===== Utility bar (guest pages, above the main header) ===== */
.bd-utility-bar {
    background: #ffffff;
    border-bottom: 1px solid #d8e8e2;
    padding: clamp(5px, 0.8vw, 7px) 0;
    font-size: 13px;
    transition: padding 0.2s ease;
}
.bd-utility-bar a {
    color: #1e5a4b;
    text-decoration: none;
    margin-left: 22px;
}
.bd-utility-bar a:first-child { margin-left: 0; }
.bd-utility-bar a:hover { color: #0f6d55; }
.bd-utility-bar i { margin-right: 5px; }
/* ===== Public top header (guest pages) — no white, unified with the blue
   utility bar above it ===== */
.bd-public-header {
    background: #ffffff;
    border-bottom: 1px solid #d8e8e2;
    padding: clamp(8px, 1vw, 10px) 0;
    transition: padding 0.2s ease;
}
.bd-public-header .bd-logo {
    display: flex;
    align-items: center;
    font-size: 20px;
    font-weight: 700;
    color: #1e5a4b;
    text-decoration: none;
}
.bd-public-header .bd-logo .bd-logo-icon {
    width: 36px;
    height: 36px;
    border-radius: 9px;
    background: #fff;
    color: var(--bd-blue);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    font-size: 16px;
}
.bd-public-header .bd-logo img {
    max-height: clamp(42px, 5vw, 64px);
    transition: max-height 0.2s ease;
    display: block;
}
.bd-public-header .bd-logo .bd-logo-accent { color: var(--bd-green); }
.bd-public-nav {
    display: flex;
    align-items: center;
}
.bd-mobile-menu-panel {
    display: none;
}
.bd-nav-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    border: 1px solid #cae4db;
    border-radius: 12px;
    background: #f7fcfa;
    color: #145742;
    font-size: 18px;
}
.bd-nav-toggle:hover,
.bd-nav-toggle:focus {
    color: #145742;
    text-decoration: none;
    background: #eff8f4;
}
.bd-public-header nav a {
    color: #1e5a4b;
    margin-right: 22px;
    font-weight: 500;
    text-decoration: none;
}
.bd-public-header nav a:hover { color: #0f6d55; }
.bd-public-header .bd-btn-pill {
    background: linear-gradient(135deg, #0f765a, #149a75);
    color: #fff !important;
    border-radius: 999px;
    padding: 8px 20px;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 10px 24px rgba(9, 84, 63, 0.22);
}
.bd-public-header .bd-btn-pill:hover { background: linear-gradient(135deg, #0d6a51, #128a69); }

.bd-home-logo-fallback {
    color: var(--bd-green);
}

/* ===== Hero ===== */
.bd-hero {
    background: linear-gradient(135deg, var(--bd-blue-darker), var(--bd-blue));
    color: #fff;
    padding: clamp(44px, 7vw, 70px) 0 clamp(54px, 8vw, 80px);
    text-align: center;
}
.bd-hero .bd-pill-badge {
    display: inline-block;
    border: 1px solid rgba(255,255,255,0.4);
    border-radius: 999px;
    padding: 6px 18px;
    font-size: 12px;
    letter-spacing: 0.5px;
    font-weight: 600;
    margin-bottom: 25px;
}
.bd-hero h1 {
    font-size: clamp(30px, 5vw, 48px);
    font-weight: 800;
    margin: 0;
    line-height: 1.15;
}
.bd-hero h1 .bd-accent { color: var(--bd-orange); }
.bd-hero p.bd-sub {
    font-size: clamp(14px, 1.6vw, 16px);
    opacity: 0.9;
    max-width: 650px;
    margin: clamp(14px, 2vw, 20px) auto clamp(20px, 3vw, 30px);
}
.bd-hero-search {
    background: #fff;
    border-radius: 10px;
    padding: clamp(8px, 1vw, 10px);
    max-width: 650px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: clamp(8px, 1vw, 10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}
.bd-hero-search input[type=text] {
    border: none;
    flex: 1 1 14rem;
    padding: clamp(10px, 1vw, 12px) clamp(12px, 1.4vw, 15px);
    font-size: clamp(14px, 1.4vw, 15px);
    outline: none;
}
.bd-hero-search select {
    border: none;
    border-left: 1px solid #eee;
    background: #fafafa;
    color: var(--bd-blue-dark);
    font-weight: 600;
    padding: 0 clamp(10px, 1vw, 12px);
    flex: 0 1 10rem;
}
.bd-hero-search button {
    background: var(--bd-orange);
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: clamp(10px, 1vw, 12px) clamp(16px, 2vw, 22px);
    font-weight: 700;
    margin-left: 0;
    flex: 0 1 9rem;
}
.bd-hero-search button:hover { background: var(--bd-orange-dark); }
.bd-hero-tlds { margin-top: 20px; }
.bd-hero-tlds span {
    display: inline-block;
    background: rgba(255,255,255,0.15);
    border-radius: 999px;
    padding: 6px 16px;
    margin: 4px;
    font-size: 13px;
}
.bd-hero-result {
    max-width: 650px;
    margin: 20px auto 0;
    text-align: left;
}

/* ===== Public content surface (for pages like Notice Board, FAQ, WHOIS) ===== */
body.bd-mode-public .bd-public-page {
    background:
        radial-gradient(760px 280px at 50% -30%, rgba(11, 109, 85, 0.14), transparent 68%),
        linear-gradient(180deg, #f2faf7 0%, #f7fcfa 100%);
    padding: 24px 0 30px;
}

.bd-public-container {
    width: 100%;
    max-width: 1040px;
    margin: 0 auto;
    padding: 0 14px;
}

.bd-public-shell {
    border: 1px solid #d4e8e0;
    border-radius: 18px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fcfa 100%);
    box-shadow: 0 14px 36px rgba(9, 73, 57, 0.08);
    padding: 20px;
}

.bd-public-head {
    margin-bottom: 14px;
}

.bd-public-head h2 {
    margin: 0;
    color: #175748;
    font-size: clamp(28px, 3vw, 34px);
    font-weight: 800;
    line-height: 1.2;
}

.bd-public-head h2 i {
    color: #0f6d55;
    margin-right: 6px;
}

.bd-public-lead {
    margin: 8px 0 0;
    color: #497064;
    font-size: 14px;
}

.bd-public-card {
    border: 1px solid #d7e9e2;
    border-radius: 14px;
    background: #ffffff;
    padding: 16px;
    box-shadow: 0 8px 24px rgba(6, 64, 49, 0.06);
}

.bd-public-empty {
    border-radius: 12px;
    border: 1px solid #cde2dc;
    background: #edf7f4;
    color: #2f6a5a;
    margin-bottom: 0;
}

.bd-board-notice {
    margin-bottom: 12px;
}

.bd-board-notice:last-child {
    margin-bottom: 0;
}

.bd-board-notice-title {
    margin: 0 0 8px;
    color: #1d5748;
    font-size: 22px;
    font-weight: 800;
    line-height: 1.3;
}

.bd-board-notice-body {
    color: #2f5c4f;
    line-height: 1.75;
    font-size: 16px;
    white-space: pre-line;
}

.bd-board-notice-time {
    margin-top: 12px;
    padding-top: 10px;
    border-top: 1px solid #e3efea;
    color: #5f7a73;
    font-size: 12px;
    font-weight: 700;
}

/* ===== Notice Board parity with domain-search theme (centralized) ===== */
body.bd-page-notice-board #bd-header-wrap .bd-utility-bar,
body.bd-page-notice-board #bd-header-wrap .bd-public-header {
    background: #ffffff;
    border-bottom: 1px solid #d8e8e2;
}

body.bd-page-notice-board #bd-header-wrap .bd-utility-bar a,
body.bd-page-notice-board #bd-header-wrap .bd-public-nav a {
    color: #1e5a4b;
}

body.bd-page-notice-board #bd-header-wrap .bd-public-nav .bd-btn-pill {
    background: linear-gradient(135deg, #0f765a, #149a75);
    color: #ffffff !important;
    border: 0;
    box-shadow: 0 10px 24px rgba(9, 84, 63, 0.22);
}

body.bd-page-notice-board #bd-header-wrap,
body.bd-page-notice-board #bd-header-wrap .bd-utility-bar,
body.bd-page-notice-board #bd-header-wrap .bd-public-header,
body.bd-page-notice-board #bd-header-wrap .bd-public-header .bd-logo img {
    transition: none;
}

body.bd-page-notice-board #bd-header-wrap.bd-header-scrolled {
    box-shadow: none;
}

body.bd-page-notice-board .bd-public-page {
    min-height: auto;
    padding-top: 28px;
    padding-bottom: 30px;
}

body.bd-page-notice-board .bd-public-shell {
    border-radius: 16px;
    border-color: #cfe3db;
    box-shadow: 0 14px 34px rgba(8, 64, 51, 0.1);
}

body.bd-page-notice-board .bd-public-head h2 {
    letter-spacing: -0.01em;
}

body.bd-page-notice-board .bd-public-empty {
    font-weight: 600;
}

body.bd-page-notice-board .bd-site-footer {
    background: linear-gradient(180deg, #0c634c 0%, #074737 100%);
    color: #d8f7ec;
    border-top: 1px solid rgba(255, 255, 255, 0.13);
    margin-top: 0;
}

body.bd-page-notice-board .bd-site-footer h5,
body.bd-page-notice-board .bd-site-footer .bd-footer-brand {
    color: #fff;
}

body.bd-page-notice-board .bd-site-footer .bd-footer-muted,
body.bd-page-notice-board .bd-site-footer .bd-footer-bottom,
body.bd-page-notice-board .bd-site-footer .bd-developed-by {
    color: #c3efe1;
}

body.bd-page-notice-board .bd-site-footer .bd-footer-links a,
body.bd-page-notice-board .bd-site-footer .bd-footer-links li,
body.bd-page-notice-board .bd-site-footer .bd-footer-links i,
body.bd-page-notice-board .bd-site-footer .bd-footer-social a {
    color: #dafcf2;
}

body.bd-page-notice-board .bd-site-footer .bd-footer-links a:hover,
body.bd-page-notice-board .bd-site-footer .bd-footer-social a:hover {
    color: #fff;
}

/* ===== Partners section (public) ===== */
.bd-partners-section { padding: 50px 0; background: var(--bd-blue-pale); }
.bd-partner-card {
    background: #fff;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
    height: 100%;
}
.bd-partner-card .bd-partner-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--bd-blue);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin: 0 auto 12px;
}
.bd-partner-card .bd-partner-name { font-weight: 700; }
.bd-partner-card .bd-partner-category { color: var(--bd-muted); font-size: 13px; }
.bd-verified-badge { color: var(--bd-blue); font-size: 12px; font-weight: 600; }

/* ===== Login / register page ===== */
.bd-auth-bg {
    background: linear-gradient(135deg, var(--bd-blue-darker), var(--bd-blue));
    min-height: calc(100vh - 130px);
    display: flex;
    align-items: center;
    padding: 50px 0;
    position: relative;
    overflow: hidden;
}
.bd-auth-bg::before {
    content: '';
    position: absolute;
    width: 480px;
    height: 480px;
    border-radius: 50%;
    background: #f42a41;
    opacity: 0.10;
    top: -120px;
    right: -120px;
}
.bd-auth-card {
    background: #fff;
    border-radius: 12px;
    padding: 35px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.25);
    max-width: 420px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}
.bd-auth-card .avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--bd-blue);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-size: 26px;
}
.bd-footer {
    text-align: center;
    padding: 18px 0;
    color: rgba(255,255,255,0.85);
    font-size: 13px;
}
.bd-footer .bd-developed-by { display: block; margin-top: 4px; opacity: 0.8; }

/* ===== Pricing table ===== */
.bd-pricing-section { padding: 50px 0; }
.bd-pricing-table thead tr { background: var(--bd-blue); color: #fff; }
.bd-pricing-table th, .bd-pricing-table td { text-align: center; padding: 12px; }
.bd-pricing-table th:first-child, .bd-pricing-table td:first-child { text-align: left; font-weight: 600; }

/* ===== Sidebar layout (admin/client logged-in screens) ===== */
.bd-layout {
    display: flex;
    min-height: 100vh;
    width: 100%;
    overflow-x: visible;
}
.bd-sidebar {
    width: 250px;
    flex-shrink: 0;
    background-color: var(--bd-blue-darker);
    color: #fff;
    padding: 0;
}
.bd-sidebar .bd-brand {
    display: flex;
    align-items: center;
    padding: 14px 20px;
    font-size: 17px;
    font-weight: bold;
    color: var(--bd-ink);
    background: #fff;
    border-bottom: 3px solid var(--bd-orange);
}
.bd-sidebar .bd-brand:hover {
    color: var(--bd-ink);
    text-decoration: none;
}
.bd-sidebar-nav { list-style: none; margin: 0; padding: 0; }
.bd-sidebar-nav > li > a,
.bd-sidebar-nav .bd-parent > a {
    display: block;
    padding: 12px 20px;
    color: #dce9fb;
    text-decoration: none;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.bd-sidebar-nav > li > a i,
.bd-sidebar-nav .bd-parent > a i {
    width: 20px;
    display: inline-block;
    text-align: center;
    margin-right: 8px;
}
.bd-sidebar-nav > li > a:hover,
.bd-sidebar-nav .bd-parent > a:hover,
.bd-sidebar-nav > li.active > a {
    background-color: var(--bd-orange);
    color: #fff;
}
.bd-sidebar-nav .bd-children {
    list-style: none;
    margin: 0;
    padding: 0;
    background-color: var(--bd-blue-dark);
}
.bd-sidebar-nav .bd-children > li > a {
    display: block;
    padding: 10px 20px 10px 36px;
    color: #eaf2fc;
    text-decoration: none;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    font-size: 13px;
}
.bd-sidebar-nav .bd-children > li > a:hover,
.bd-sidebar-nav .bd-children > li.active > a {
    background-color: var(--bd-orange);
    color: #fff;
}
.bd-sidebar-nav .caret {
    float: right;
    margin-top: 6px;
}
.bd-content {
    flex: 1;
    min-width: 0;
    padding: 20px 25px;
    overflow-x: visible;
}
.bd-topbar {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-bottom: 15px;
}
.bd-topbar form {
    margin: 0;
}
.bd-content > .container {
    width: 100%;
    max-width: none;
    padding-left: 15px;
    padding-right: 15px;
}

/* ===== Dashboard widgets ===== */
.bd-stat-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    margin: 20px 0 30px;
}
.bd-stat-card {
    background: #fff;
    border: 1px solid #e9eef5;
    border-left: 4px solid var(--bd-blue);
    border-radius: 8px;
    padding: 18px 20px;
    display: flex;
    align-items: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.bd-stat-card.bd-accent-orange { border-left-color: var(--bd-orange); }
.bd-stat-card.bd-accent-red { border-left-color: #e0395b; }
.bd-stat-card.bd-accent-blue { border-left-color: var(--bd-blue); }
.bd-stat-card .bd-stat-icon {
    width: 46px;
    height: 46px;
    border-radius: 10px;
    background: var(--bd-blue-pale);
    color: var(--bd-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-right: 14px;
    flex-shrink: 0;
}
.bd-stat-card.bd-accent-orange .bd-stat-icon { background: #fdf1de; color: var(--bd-orange); }
.bd-stat-card.bd-accent-red .bd-stat-icon { background: #fbe4e9; color: #e0395b; }
.bd-stat-card .bd-stat-value { font-size: 24px; font-weight: 700; line-height: 1.1; }
.bd-stat-card .bd-stat-label { color: var(--bd-muted); font-size: 13px; }
.bd-stat-card a { color: inherit; display: flex; align-items: center; text-decoration: none; width: 100%; }

.bd-panel {
    background: #fff;
    border: 1px solid #e9eef5;
    border-radius: 8px;
    margin-bottom: 24px;
}
.bd-panel-heading {
    padding: 14px 18px;
    border-bottom: 1px solid #e9eef5;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.bd-panel-heading i { color: var(--bd-blue); margin-right: 8px; }
.bd-panel-body { padding: 16px 18px; }
.bd-quick-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.bd-quick-actions .btn i { margin-right: 6px; }

/* ===== Public site footer (guest pages) ===== */
.bd-site-footer {
    background: linear-gradient(180deg, #0c634c 0%, #074737 100%);
    color: #d8f7ec;
    border-top: 1px solid rgba(255, 255, 255, 0.13);
    padding: 50px 0 0;
    margin-top: 40px;
}
.bd-site-footer h5 {
    color: #fff;
    font-weight: 700;
    margin-bottom: 16px;
}
.bd-footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
}
.bd-footer-brand img { max-height: 36px; background: #fff; border-radius: 6px; padding: 3px; }
.bd-footer-muted { color: #c3efe1; font-size: 13px; line-height: 1.6; }
.bd-footer-social { margin-top: 14px; }
.bd-footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    color: #dafcf2;
    margin-right: 8px;
    text-decoration: none;
}
.bd-footer-social a:hover { background: rgba(255,255,255,0.2); color: #fff; }
.bd-footer-links { list-style: none; margin: 0; padding: 0; }
.bd-footer-links li { margin-bottom: 10px; font-size: 14px; }
.bd-footer-links a { color: #dafcf2; text-decoration: none; }
.bd-footer-links a:hover { color: #fff; }
.bd-footer-links i { width: 18px; color: #dafcf2; }
.bd-footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    margin-top: 30px;
    padding: 18px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: #c3efe1;
    flex-wrap: wrap;
    gap: 8px;
}

.bd-table-scroll {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin-top: 15px;
    border-radius: 14px;
}

.bd-table-scroll > .table {
    margin-bottom: 0;
}

img,
iframe,
video {
    max-width: 100%;
}

@media (max-width: 1199px) {
    .bd-public-header nav a {
        margin-right: 14px;
    }

    .bd-hero {
        padding: clamp(44px, 5.5vw, 56px) 0 clamp(56px, 6vw, 68px);
    }
}

@media (max-width: 991px) {
    .bd-utility-bar {
        display: none;
    }

    .bd-public-header-inner {
        flex-wrap: wrap;
        gap: 12px;
    }

    .bd-public-header-inner {
        justify-content: space-between;
    }

    .bd-nav-toggle,
    .bd-public-nav-toggle {
        display: inline-flex;
    }

    .bd-public-header {
        background: #fff;
        border-bottom: 1px solid #dde5ef;
        padding: clamp(6px, 1vw, 8px) 0;
    }

    .bd-public-header .bd-logo img {
        max-height: clamp(34px, 4vw, 38px);
    }

    .bd-nav-toggle,
    .bd-public-nav-toggle {
        border-color: #d6dde8;
        background: #efefef;
        color: #6a7280;
        box-shadow: none;
    }

    .bd-public-nav {
        display: none !important;
    }

    .bd-mobile-menu-panel {
        display: none;
        background: #fff;
        border-top: 1px solid #e5ecf2;
        border-bottom: 1px solid #e5ecf2;
        padding: clamp(8px, 1vw, 10px) clamp(12px, 1.4vw, 16px) clamp(10px, 1.6vw, 14px);
    }

    .bd-mobile-menu-panel.is-open {
        display: block;
    }

    .bd-mobile-menu-panel a {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: clamp(9px, 1.1vw, 11px) 0;
        color: #6a7280;
        text-decoration: none;
        font-size: clamp(13px, 1.3vw, 14px);
        border-bottom: 1px solid #f0f3f7;
    }

    .bd-mobile-menu-panel a:last-child {
        border-bottom: 0;
    }

    .bd-mobile-menu-panel i {
        width: 22px;
        color: #9aacbe;
        text-align: center;
    }

    .bd-hero h1 {
        font-size: clamp(28px, 4vw, 34px);
    }

    .bd-hero p.bd-sub {
        font-size: clamp(14px, 1.5vw, 15px);
        padding: 0 clamp(10px, 2vw, 12px);
    }

    .bd-hero-search {
        padding: clamp(10px, 1.2vw, 12px);
    }

    .bd-public-shell {
        padding: 16px;
        border-radius: 14px;
    }

    .bd-board-notice-title {
        font-size: 20px;
    }

    .bd-hero-search input[type=text],
    .bd-hero-search select,
    .bd-hero-search button {
        width: 100%;
        border-radius: 8px;
        margin-left: 0;
    }

    .bd-hero-search select {
        border-left: 0;
        border-top: 1px solid #eee;
        padding: clamp(10px, 1vw, 11px) clamp(12px, 1.4vw, 15px);
    }

    .bd-auth-bg {
        min-height: auto;
        padding: 28px 0;
    }

    .bd-auth-card {
        padding: 24px 20px;
        margin: 0 12px;
    }

    .bd-footer-bottom {
        justify-content: center;
        text-align: center;
    }
}

@media (max-width: 767px) {
    .bd-public-header .bd-logo img {
        max-height: clamp(36px, 8vw, 44px);
    }

    .bd-mobile-menu-panel {
        padding: clamp(8px, 2vw, 10px) clamp(12px, 3vw, 14px) clamp(10px, 2vw, 12px);
    }

    .bd-mobile-menu-panel a {
        font-size: 13px;
        padding: 10px 0;
    }

    .bd-hero {
        padding: clamp(36px, 9vw, 42px) 0 clamp(44px, 10vw, 54px);
    }

    body.bd-page-notice-board .bd-public-page {
        padding-top: 16px;
        padding-bottom: 18px;
    }

    body.bd-mode-public .bd-public-page {
        padding: 16px 0 22px;
    }

    .bd-public-container {
        padding: 0 10px;
    }

    .bd-public-shell {
        padding: 14px;
        border-radius: 12px;
    }

    .bd-public-head h2 {
        font-size: clamp(24px, 6.6vw, 29px);
    }

    .bd-board-notice-title {
        font-size: 18px;
    }

    .bd-board-notice-body {
        font-size: 15px;
    }

    .bd-hero h1 {
        font-size: clamp(24px, 7vw, 28px);
    }

    .bd-hero .bd-pill-badge {
        font-size: 11px;
        padding: 6px 12px;
    }

    .bd-site-footer {
        padding-top: clamp(28px, 6vw, 34px);
    }

    .bd-footer-brand {
        justify-content: center;
    }

    .bd-footer-muted,
    .bd-site-footer h5,
    .bd-site-footer,
    .bd-footer-links {
        text-align: center;
    }

    .bd-footer-social {
        text-align: center;
    }

    .bd-table-scroll {
        overflow: visible;
        margin-top: 12px;
    }

    .bd-table-scroll > .table,
    .bd-table-scroll > .table > tbody,
    .bd-table-scroll > .table > tbody > tr,
    .bd-table-scroll > .table > tbody > tr > td {
        display: block;
        width: 100%;
    }

    .bd-table-scroll > .table > thead {
        display: none;
    }

    .bd-table-scroll > .table > tbody > tr {
        margin-bottom: 12px;
        border: 1px solid #dce6f3;
        border-radius: 14px;
        background: #fff;
        box-shadow: 0 10px 24px rgba(15, 33, 63, 0.06);
        overflow: hidden;
    }

    .bd-table-scroll > .table > tbody > tr > td {
        border-top: 1px solid #eef3f9 !important;
        padding: 10px 14px !important;
        max-width: none !important;
        white-space: normal;
        text-align: left;
    }

    .bd-table-scroll > .table > tbody > tr > td:first-child {
        border-top: 0 !important;
    }

    .bd-table-scroll > .table > tbody > tr > td::before {
        content: attr(data-label);
        display: block;
        margin-bottom: 4px;
        color: #66758b;
        font-size: 11px;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: .05em;
    }

    .bd-table-scroll > .table > tbody > tr > td[data-label='Actions'] .btn,
    .bd-table-scroll > .table > tbody > tr > td[data-label='Action'] .btn {
        width: 100%;
        margin: 0 0 8px;
    }

    .bd-table-scroll > .table > tbody > tr > td[data-label='Actions'] form,
    .bd-table-scroll > .table > tbody > tr > td[data-label='Action'] form {
        display: block !important;
    }
}

@media (max-width: 767px) {
    .bd-layout { flex-direction: column; }
    .bd-sidebar { width: 100%; }
    .bd-hero h1 { font-size: 32px; }
    .bd-hero-search { flex-direction: column; }
}
