:root {
    --bp-dark: #0f172a;
    --bp-violet: #4c1d95;
    --bp-teal: #00b8a9;
    --bp-teal-dark: #008f86;
    --bp-orange: #ff7a1a;
    --bp-orange-dark: #e8660c;
    --bp-muted: #64748b;
    --bp-line: #e2e8f0;
    --bp-soft: #f8fafc;
    --bp-white: #ffffff;
    --bp-green: #25d366;

    --bp-shadow: 0 24px 70px rgba(15, 23, 42, 0.12);
    --bp-shadow-soft: 0 14px 35px rgba(15, 23, 42, 0.08);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background:
        radial-gradient(circle at top left, rgba(0, 184, 169, 0.12), transparent 32rem),
        radial-gradient(circle at top right, rgba(255, 122, 26, 0.10), transparent 30rem),
        var(--bp-soft);
    color: var(--bp-dark);
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

/* =========================================================
   LAYOUT
========================================================= */

.bp-wrap {
    width: min(1120px, calc(100% - 24px));
    margin: 0 auto;
    padding: 32px 0 70px;
}

.bp-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.84);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
}

.bp-header-inner {
    width: min(1120px, calc(100% - 24px));
    min-height: 72px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.bp-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.bp-logo-mark {
    width: 42px;
    height: 42px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, var(--bp-teal), var(--bp-violet));
    color: #fff;
    font-weight: 950;
    box-shadow: 0 14px 30px rgba(0, 184, 169, 0.24);
}

.bp-logo strong {
    display: block;
    line-height: 1.1;
}

.bp-logo small {
    display: block;
    color: var(--bp-muted);
    font-size: 0.78rem;
}

.bp-top-link {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    padding: 0 17px;
    border-radius: 999px;
    background: var(--bp-dark);
    color: #fff;
    font-weight: 900;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.16);
}

/* =========================================================
   HERO CARD
========================================================= */

.bp-hero-card {
    position: relative;
    overflow: hidden;
    padding: clamp(24px, 5vw, 46px);
    border-radius: 34px;
    background:
        radial-gradient(circle at top right, rgba(255, 122, 26, 0.22), transparent 18rem),
        linear-gradient(135deg, var(--bp-dark), var(--bp-violet));
    color: #fff;
    box-shadow: var(--bp-shadow);
    margin-bottom: 22px;
}

.bp-hero-card::after {
    content: "";
    position: absolute;
    right: -90px;
    top: -90px;
    width: 230px;
    height: 230px;
    border-radius: 999px;
    background: rgba(0, 184, 169, 0.24);
}

.bp-badge {
    position: relative;
    z-index: 1;
    display: inline-flex;
    padding: 8px 13px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    color: #a7f3d0;
    font-size: 0.82rem;
    font-weight: 950;
}

.bp-hero-card h1 {
    position: relative;
    z-index: 1;
    max-width: 850px;
    margin: 16px 0 12px;
    font-size: clamp(2.1rem, 8vw, 4.6rem);
    line-height: 0.96;
    letter-spacing: -0.06em;
}

.bp-hero-card p {
    position: relative;
    z-index: 1;
    max-width: 760px;
    color: rgba(255, 255, 255, 0.74);
    font-size: 1.06rem;
}

/* =========================================================
   CARDS / GRIDS
========================================================= */

.bp-card {
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(226, 232, 240, 0.95);
    border-radius: 28px;
    padding: clamp(20px, 4vw, 32px);
    box-shadow: var(--bp-shadow-soft);
    margin-bottom: 18px;
}

.bp-card h2 {
    margin: 0 0 18px;
    font-size: clamp(1.55rem, 4vw, 2.35rem);
    line-height: 1.08;
    letter-spacing: -0.04em;
}

.bp-card h3 {
    margin-top: 0;
}

.bp-card p {
    color: var(--bp-muted);
}

.bp-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

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

/* =========================================================
   FORMS
========================================================= */

.bp-field {
    display: grid;
    gap: 7px;
}

.bp-field.full {
    grid-column: 1 / -1;
}

.bp-field label {
    font-weight: 900;
    color: #1e293b;
}

.bp-field input,
.bp-field textarea,
.bp-field select {
    width: 100%;
    border: 1px solid #cbd5e1;
    border-radius: 17px;
    padding: 14px 15px;
    font: inherit;
    background: #fff;
    color: var(--bp-dark);
    outline: none;
    transition: border .2s ease, box-shadow .2s ease;
}

.bp-field textarea {
    min-height: 104px;
    resize: vertical;
}

.bp-field input:focus,
.bp-field textarea:focus,
.bp-field select:focus {
    border-color: var(--bp-teal);
    box-shadow: 0 0 0 4px rgba(0, 184, 169, 0.13);
}

.bp-field input[type="file"] {
    padding: 12px;
    background: #fff;
}

/* =========================================================
   BUTTONS
========================================================= */

.bp-btn {
    display: inline-flex;
    min-height: 54px;
    align-items: center;
    justify-content: center;
    padding: 0 24px;
    border: 0;
    border-radius: 999px;
    font-weight: 950;
    font-size: 1rem;
    cursor: pointer;
    text-align: center;
    transition: transform .2s ease, box-shadow .2s ease;
}

.bp-btn:hover {
    transform: translateY(-2px);
}

.bp-btn-primary {
    background: linear-gradient(135deg, var(--bp-orange), var(--bp-orange-dark));
    color: #fff;
    box-shadow: 0 18px 38px rgba(255, 122, 26, 0.30);
}

.bp-btn-dark {
    background: var(--bp-dark);
    color: #fff;
}

.bp-btn-soft {
    background: #fff;
    color: var(--bp-dark);
    border: 1px solid var(--bp-line);
}

.bp-btn-whatsapp {
    background: linear-gradient(135deg, #25d366, #128c7e);
    color: #fff;
    box-shadow: 0 18px 38px rgba(37, 211, 102, 0.25);
}

.bp-btn-full {
    width: 100%;
}

/* =========================================================
   ALERTS / NOTES
========================================================= */

.bp-alert {
    border-radius: 20px;
    padding: 16px 18px;
    margin-bottom: 18px;
    font-weight: 800;
}

.bp-alert-error {
    background: #fff1f2;
    border: 1px solid #fecdd3;
    color: #9f1239;
}

.bp-alert-success {
    background: #ecfdf5;
    border: 1px solid #bbf7d0;
    color: #047857;
}

.bp-note {
    padding: 15px 17px;
    border-radius: 20px;
    background: #fff7ed;
    border: 1px solid #fed7aa;
    color: #9a3412;
    font-weight: 750;
}

.bp-ref-box {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 13px 16px;
    border-radius: 18px;
    background: #f1f5f9;
    border: 1px dashed #cbd5e1;
    font-weight: 950;
}

/* =========================================================
   PRODUCT CARD
========================================================= */

.bp-product-card {
    border: 1px dashed #cbd5e1;
    border-radius: 24px;
    padding: 20px;
    background: #f8fafc;
    margin-top: 16px;
}

.bp-product-card h3 {
    margin: 0 0 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.bp-product-number {
    width: 38px;
    height: 38px;
    display: inline-grid;
    place-items: center;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--bp-teal), var(--bp-violet));
    color: #fff;
    font-weight: 950;
}

/* =========================================================
   SUCCESS
========================================================= */

.bp-success-icon {
    width: 76px;
    height: 76px;
    display: grid;
    place-items: center;
    margin: 0 auto 18px;
    border-radius: 28px;
    background: rgba(0, 184, 169, 0.13);
    color: var(--bp-teal-dark);
    font-size: 2.4rem;
    font-weight: 950;
}

.bp-center {
    text-align: center;
}

.bp-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-top: 22px;
}

/* =========================================================
   TABLES ADMIN
========================================================= */

.bp-table-wrap {
    overflow-x: auto;
}

.bp-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: var(--bp-shadow-soft);
}

.bp-table th,
.bp-table td {
    text-align: left;
    padding: 15px;
    border-bottom: 1px solid var(--bp-line);
    vertical-align: top;
}

.bp-table th {
    background: var(--bp-dark);
    color: #fff;
    font-size: 0.9rem;
}

.bp-table td {
    color: #334155;
}

.bp-status {
    display: inline-flex;
    padding: 8px 11px;
    border-radius: 999px;
    background: #ecfdf5;
    color: #047857;
    font-weight: 950;
    font-size: 0.85rem;
}

.bp-admin-nav {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 18px;
}

.bp-admin-nav a {
    padding: 10px 14px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid var(--bp-line);
    font-weight: 900;
    color: var(--bp-dark);
}

.bp-admin-nav a:hover {
    border-color: var(--bp-teal);
}

/* =========================================================
   ADMIN PRODUCT
========================================================= */

.bp-product-admin {
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 16px;
    align-items: start;
    padding: 16px;
    border-radius: 22px;
    border: 1px solid var(--bp-line);
    background: #f8fafc;
}

.bp-product-admin img {
    width: 140px;
    height: 140px;
    object-fit: cover;
    border-radius: 18px;
    background: #e2e8f0;
}

.bp-product-admin h3 {
    margin: 0 0 8px;
}

.bp-product-admin p {
    margin: 8px 0;
}

/* =========================================================
   CHECK LIST
========================================================= */

.clean-check-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 13px;
}

.clean-check-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: #334155;
    font-weight: 750;
}

.clean-check-list li::before {
    content: "✓";
    width: 23px;
    height: 23px;
    display: inline-grid;
    place-items: center;
    flex: 0 0 23px;
    border-radius: 99px;
    background: rgba(0, 184, 169, 0.14);
    color: var(--bp-teal-dark);
    font-weight: 950;
    margin-top: 1px;
}

/* =========================================================
   LOGIN ADMIN
========================================================= */

.bp-login-body {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 24px;
    background:
        radial-gradient(circle at top left, rgba(0, 184, 169, 0.18), transparent 34rem),
        radial-gradient(circle at bottom right, rgba(255, 122, 26, 0.14), transparent 30rem),
        linear-gradient(135deg, #0f172a, #24134f);
}

.bp-login-card {
    width: min(440px, 100%);
    background: #fff;
    color: var(--bp-dark);
    border-radius: 30px;
    padding: 30px;
    box-shadow: var(--bp-shadow);
}

.bp-login-card h1 {
    margin: 0 0 10px;
    font-size: 2rem;
    line-height: 1;
    letter-spacing: -0.04em;
}

.bp-login-card p {
    color: var(--bp-muted);
}

/* =========================================================
   FOOTER
========================================================= */

.bp-footer {
    padding: 28px 0 70px;
    color: var(--bp-muted);
    text-align: center;
}

/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 860px) {
    .bp-grid-2,
    .bp-grid-3 {
        grid-template-columns: 1fr;
    }

    .bp-header-inner {
        min-height: 66px;
    }

    .bp-top-link {
        display: none;
    }

    .bp-product-admin {
        grid-template-columns: 1fr;
    }

    .bp-product-admin img {
        width: 100%;
        height: 240px;
    }
}

@media (max-width: 560px) {
    .bp-wrap {
        width: min(100% - 20px, 1120px);
        padding-top: 22px;
    }

    .bp-hero-card,
    .bp-card {
        border-radius: 24px;
        padding: 22px;
    }

    .bp-actions .bp-btn {
        width: 100%;
    }

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

    .bp-table thead {
        display: none;
    }

    .bp-table tr {
        padding: 12px;
        border-bottom: 1px solid var(--bp-line);
    }

    .bp-table td {
        border: 0;
        padding: 8px;
    }

    .bp-ref-box {
        width: 100%;
        justify-content: center;
    }
}