
/* =========================================
   DISTRITO BRAND LAB
   MAIN APPLICATION STYLES
========================================= */

:root {
    --brand-orange: #FF7700;
    --brand-orange-hover: #E66B00;

    --bg-main: #090A0D;
    --bg-sidebar: #0D0F12;
    --bg-panel: #12151A;
    --bg-card: #15181D;

    --border-color: #292D33;

    --text-primary: #FFFFFF;
    --text-secondary: #BFC1C5;
    --text-muted: #777E88;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--bg-main);
    color: var(--text-primary);

    font-family: Arial, Helvetica, sans-serif;

    min-height: 100vh;
}

button {
    font-family: inherit;
}

.brandlab-app {
    display: flex;
    min-height: 100vh;
    width: 100%;
}

/* =========================================
   SIDEBAR
========================================= */

.brandlab-sidebar {
    width: 265px;
    min-width: 265px;

    min-height: 100vh;
    padding: 30px 22px 22px;

    display: flex;
    flex-direction: column;

    background: var(--bg-sidebar);
    border-right: 1px solid var(--border-color);
}

.brandlab-logo {
    display: block;
    width: 185px;
    max-width: 100%;
}

.brandlab-logo img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
}

/* PRODUCT IDENTITY */

.brandlab-product-name {
    margin-top: 48px;
    padding-bottom: 30px;

    border-bottom: 1px solid var(--border-color);
}

.brandlab-product-name > span {
    display: block;
    margin-bottom: 9px;

    color: var(--text-muted);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1.8px;
}

.brandlab-product-name h2 {
    color: var(--text-primary);
    font-size: 23px;
    font-weight: 900;
    letter-spacing: -0.7px;
}

.brandlab-product-name h2 span {
    color: var(--brand-orange);
}

/* SIDEBAR NAVIGATION */

.brandlab-navigation {
    display: flex;
    flex-direction: column;
    gap: 7px;

    margin-top: 35px;
}

.brandlab-nav-heading {
    margin: 20px 0 9px 10px;

    color: var(--text-muted);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.7px;
}

.brandlab-nav-item {
    padding: 15px 12px;

    color: var(--text-secondary);
    font-size: 18px;
    font-weight: 600;

    border-left: 3px solid transparent;
    border-radius: 4px;

    transition: all 0.25s ease;
}

.brandlab-nav-item.active {
    background: #191C21;
    border-left-color: var(--brand-orange);
    color: #FFFFFF;
}

.brandlab-nav-item:not(.active):hover {
    background: #15181D;
    color: var(--brand-orange);
}

/* SIDEBAR FOOTER */

.brandlab-sidebar-footer {
    margin-top: auto;
    padding-top: 25px;

    border-top: 1px solid var(--border-color);
}

.brandlab-sidebar-footer span {
    color: var(--text-muted);
    font-size: 8px;
    font-weight: 800;
    letter-spacing: 1.2px;
}

/* =========================================
   MAIN WORKSPACE
========================================= */

.brandlab-main {
    flex: 1;
    min-width: 0;
    background: var(--bg-main);
}

/* TOP BAR */

.brandlab-topbar {
    height: 76px;
    padding: 0 45px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    background: #0D0F12;
    border-bottom: 1px solid var(--border-color);
}

.brandlab-breadcrumb {
    color: var(--text-muted);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.3px;
}

.brandlab-topbar-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.brandlab-version {
    padding: 9px 13px;

    background: #15181D;
    border: 1px solid var(--border-color);
    border-radius: 4px;

    color: var(--brand-orange);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1px;
}

/* =========================================
   DASHBOARD CONTENT
========================================= */


.brandlab-content {
    width: 100%;
    max-width: 1450px;

    margin: 0 auto;
    padding: 65px 55px 85px;
    padding-left: clamp(32px, 4vw, 72px);
    padding-right: clamp(32px, 4vw, 72px);
}

/* WELCOME SECTION */

.brandlab-welcome {
    padding-bottom: 60px;
    border-bottom: 1px solid var(--border-color);
}

.brandlab-eyebrow {
    display: block;
    margin-bottom: 20px;

    color: var(--brand-orange);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 2px;
}

.brandlab-welcome h1 {
    color: var(--text-primary);
    font-size: clamp(38px, 4.5vw, 65px);
    font-weight: 900;
    line-height: 1.12;
    letter-spacing: -2px;
}

.brandlab-welcome h1 span {
    display: block;
    color: var(--brand-orange);
}

.brandlab-welcome p {
    max-width: 620px;
    margin-top: 23px;

    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.9;
}

/* PRIMARY BUTTON */

.brandlab-primary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 52px;
    margin-top: 30px;
    padding: 0 25px;

    background: var(--brand-orange);
    border: 1px solid var(--brand-orange);
    border-radius: 5px;

    color: #FFFFFF;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1px;

    cursor: pointer;

    transition: all 0.3s ease;
}

.brandlab-primary-button:hover {
    background: var(--brand-orange-hover);
    border-color: var(--brand-orange-hover);
    transform: translateY(-3px);
}

/* =========================================
   CREATIVE TOOLS SECTION
========================================= */

.brandlab-tools {
    margin-top: 55px;
}

.brandlab-section-heading {
    margin-bottom: 28px;
}

.brandlab-section-heading > span {
    display: block;
    margin-bottom: 10px;

    color: var(--brand-orange);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1.8px;
}

.brandlab-section-heading h2 {
    color: var(--text-primary);
    font-size: 25px;
    font-weight: 900;
    letter-spacing: -0.5px;
}

/* TOOL GRID */

.brandlab-tools-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

/* TOOL CARDS */

.brandlab-tool-card {
    min-height: 205px;
    padding: 27px;

    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;

    transition:
        transform 0.3s ease,
        border-color 0.3s ease,
        background 0.3s ease;
}

.brandlab-tool-card:hover {
    transform: translateY(-5px);
    border-color: var(--brand-orange);
    background: #191C21;
}

.brandlab-tool-card > span {
    display: block;
    margin-bottom: 24px;

    color: var(--brand-orange);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1.5px;
}

.brandlab-tool-card h3 {
    margin-bottom: 13px;

    color: var(--text-primary);
    font-size: 15px;
    font-weight: 800;
}

.brandlab-tool-card p {
    color: var(--text-secondary);
    font-size: 12px;
    line-height: 1.8;
}

/* =========================================
   RESPONSIVE — TABLET
========================================= */

@media (max-width: 1050px) {

    .brandlab-sidebar {
        width: 230px;
        min-width: 230px;
    }

    .brandlab-content {
        padding: 55px 35px 70px;
    }

    .brandlab-topbar {
        padding: 0 30px;
    }

    .brandlab-tools-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

}

/* =========================================
   RESPONSIVE — MOBILE
========================================= */

@media (max-width: 700px) {

    .brandlab-app {
        flex-direction: column;
    }

    .brandlab-sidebar {
        width: 100%;
        min-width: 0;
        min-height: auto;
        padding: 20px;
        border-right: none;
        border-bottom: 1px solid var(--border-color);
    }

    .brandlab-logo {
        width: 155px;
    }

    .brandlab-product-name {
        margin-top: 22px;
        padding-bottom: 18px;
    }

    .brandlab-navigation {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 5px;
        margin-top: 15px;
    }

    .brandlab-nav-heading {
        grid-column: 1 / -1;
        margin-top: 15px;
    }

    .brandlab-sidebar-footer {
        display: none;
    }

    .brandlab-topbar {
        height: 60px;
        padding: 0 20px;
    }

    .brandlab-content {
        padding: 45px 22px 60px;
    }

    .brandlab-welcome {
        padding-bottom: 40px;
    }

    .brandlab-welcome h1 {
        font-size: 39px;
    }

    .brandlab-tools-grid {
        grid-template-columns: 1fr;
    }

    .brandlab-tool-card {
        min-height: 175px;
    }

}


/* =========================================
   DISTRITO BRAND LAB — BRAND GENERATOR
========================================= */

.brandlab-dialog {
    width: min(650px, calc(100% - 32px));
    max-height: 90vh;
    overflow-y: auto;
    margin: auto;
    padding: 40px;

    background: #12151A;
    border: 1px solid #353941;
    border-radius: 10px;
    color: #FFFFFF;
}

.brandlab-dialog[open] {
    display: block;
}

.brandlab-dialog::backdrop {
    background: rgba(0, 0, 0, 0.82);
    backdrop-filter: blur(6px);
}

/* DIALOG HEADER */

.brandlab-dialog-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 35px;
    padding-bottom: 25px;
    border-bottom: 1px solid #292D33;
}

.brandlab-dialog-header span {
    display: block;
    margin-bottom: 12px;
    color: #FF7700;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1.8px;
}

.brandlab-dialog-header h2 {
    font-size: 25px;
    font-weight: 900;
    line-height: 1.3;
}

.brandlab-dialog-header p {
    margin-top: 10px;
    color: #BFC1C5;
    font-size: 12px;
    line-height: 1.7;
}

/* CLOSE BUTTON */

.brandlab-close {
    width: 35px;
    height: 35px;
    flex-shrink: 0;

    background: #1B1E24;
    border: 1px solid #353941;
    border-radius: 5px;

    color: #FFFFFF;
    font-size: 24px;
    cursor: pointer;
    transition: 0.25s ease;
}

.brandlab-close:hover {
    background: #FF7700;
    border-color: #FF7700;
}

/* FORM GROUPS */

.brandlab-form-group {
    margin-bottom: 25px;
}

.brandlab-form-group label {
    display: block;
    margin-bottom: 11px;

    color: #FFFFFF;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1px;
}

.brandlab-form-group input,
.brandlab-form-group select,
.brandlab-form-group textarea {
    display: block;
    width: 100%;
    padding: 15px;

    background: #0D0F12;
    border: 1px solid #353941;
    border-radius: 5px;

    color: #FFFFFF;
    font-family: inherit;
    font-size: 13px;

    outline: none;
    transition: border-color 0.25s ease;
}

.brandlab-form-group input:focus,
.brandlab-form-group select:focus,
.brandlab-form-group textarea:focus {
    border-color: #FF7700;
}

.brandlab-form-group input::placeholder,
.brandlab-form-group textarea::placeholder {
    color: #777E88;
}

.brandlab-form-group select {
    cursor: pointer;
}

.brandlab-form-group select option {
    background: #12151A;
    color: #FFFFFF;
}

.brandlab-form-group textarea {
    resize: vertical;
    min-height: 115px;
    line-height: 1.7;
}

/* FORM ACTIONS */

.brandlab-form-actions {
    display: flex;
    justify-content: flex-end;
    padding-top: 10px;
    border-top: 1px solid #292D33;
}

.brandlab-form-actions .brandlab-primary-button {
    margin-top: 20px;
}

/* MOBILE */

@media (max-width: 600px) {

    .brandlab-dialog {
        padding: 25px 20px;
    }

    .brandlab-dialog-header h2 {
        font-size: 21px;
    }

    .brandlab-form-actions .brandlab-primary-button {
        width: 100%;
        padding: 12px;
        line-height: 1.5;
    }

}


/* =========================================
   BRAND LAB — PERSONALITY SELECTION
========================================= */

.brandlab-personality-step[hidden] {
    display: none;
}

.brandlab-personality-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

/* PERSONALITY CARDS */

.brandlab-personality-card {
    position: relative;
    min-height: 125px;
    padding: 22px;

    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 10px;

    background: #0D0F12;
    border: 1px solid #353941;
    border-radius: 7px;

    cursor: pointer;
    transition: all 0.25s ease;
}

.brandlab-personality-card:hover {
    border-color: #FF7700;
    background: #171A1F;
}

/* RADIO BUTTON */

.brandlab-personality-card input {
    position: absolute;
    top: 18px;
    right: 18px;

    width: 16px;
    height: 16px;

    accent-color: #FF7700;
    cursor: pointer;
}

/* SELECTED CARD */

.brandlab-personality-card:has(input:checked) {
    background: rgba(255, 119, 0, 0.08);
    border: 1px solid #FF7700;
    box-shadow: 0 0 15px rgba(255, 119, 0, 0.08);
}

/* PERSONALITY NAME */

.personality-name {
    color: #FFFFFF;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 1px;
    padding-right: 25px;
}

.brandlab-personality-card:has(input:checked) .personality-name {
    color: #FF7700;
}

/* DESCRIPTION */

.personality-description {
    color: #92979F;
    font-size: 11px;
    line-height: 1.7;
}

/* KEYBOARD ACCESSIBILITY */

.brandlab-personality-card:has(input:focus-visible) {
    outline: 2px solid #FF7700;
    outline-offset: 3px;
}

/* MOBILE */

@media (max-width: 600px) {

    .brandlab-personality-grid {
        grid-template-columns: 1fr;
    }

    .brandlab-personality-card {
        min-height: 105px;
        padding: 20px;
    }

}


/* =========================================
   BRAND LAB — PERSONALITY NAVIGATION BUTTONS
========================================= */

.brandlab-personality-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-top: 30px;
}

/* BACK BUTTON */

.brandlab-secondary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 52px;
    padding: 0 25px;

    background: #171A1F;
    border: 1px solid #555B64;
    border-radius: 5px;

    color: #FFFFFF;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;

    cursor: pointer;
    transition: all 0.3s ease;
}

.brandlab-secondary-button:hover {
    background: #22262D;
    border-color: #FF7700;
    color: #FF7700;
}

/* CONTINUE BUTTON */

.brandlab-personality-actions .brandlab-primary-button {
    margin-top: 0;
    min-height: 52px;
    padding: 0 25px;
}

/* DISABLED STATE */

.brandlab-personality-actions .brandlab-primary-button:disabled {
    background: #4A3220;
    border-color: #4A3220;
    color: #A6A09B;
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

/* MOBILE */

@media (max-width: 600px) {

    .brandlab-personality-actions {
        flex-direction: column-reverse;
        align-items: stretch;
    }

    .brandlab-personality-actions button {
        width: 100%;
        padding: 15px;
    }

}


/* CUSTOM DROPDOWN ARROW POSITION */

.brandlab-form-group select {
    appearance: none;
    -webkit-appearance: none;

    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");

    background-repeat: no-repeat;
    background-position: right 20px center;
    background-size: 14px;

    padding-right: 45px;
}


/* =========================================
   DISTRITO BRAND LAB — PREMIUM HERO
========================================= */

.brandlab-welcome {
    padding: 55px 0 65px;
    border-bottom: 1px solid var(--border-color);
}

.brandlab-hero-layout {
    display: grid;
    grid-template-columns:
        minmax(0, 0.9fr)
        minmax(0, 1.55fr)
        368px;
    align-items: center;
    gap: 24px;
}

/* HERO COPY */

.brandlab-hero-copy {
    max-width: none;
    width: 100%;
}

.brandlab-hero-copy .brandlab-eyebrow {
    display: block;
    margin-bottom: 22px;

    color: var(--brand-orange);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 2px;
}

.brandlab-hero-copy h1 {
    margin-bottom: 22px;

    color: #FFFFFF;
    font-size: clamp(42px, 4vw, 65px);
    font-weight: 900;
    line-height: 1.08;
    letter-spacing: -2px;
}

.brandlab-hero-copy h1 span {
    display: block;
    color: var(--brand-orange);
}

.brandlab-hero-copy > p {
    max-width: 480px;
    margin-bottom: 30px;

    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.9;
}

/* HERO FEATURES */

.brandlab-hero-features {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin-top: 32px;
}

.brandlab-hero-features span {
    color: var(--text-muted);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1.3px;
}

.brandlab-hero-features span:not(:last-child)::after {
    content: "•";
    margin-left: 18px;
    color: var(--brand-orange);
}

/* BRAND PREVIEW PANEL */

.brandlab-hero-preview {
    position: relative;
    padding: 22px;

    background: linear-gradient(145deg, #191D23, #101216);
    border: 1px solid #343941;
    border-radius: 10px;

    box-shadow: 0 25px 65px rgba(0, 0, 0, 0.35);
    overflow: hidden;
}

.brandlab-hero-preview::before {
    content: "";
    position: absolute;
    top: -100px;
    right: -80px;

    width: 250px;
    height: 250px;

    background: rgba(255, 119, 0, 0.09);
    filter: blur(80px);
    pointer-events: none;
}

/* PREVIEW HEADER */

.brandlab-preview-header {
    position: relative;
    display: flex;
    justify-content: space-between;
    gap: 15px;

    padding-bottom: 18px;
    border-bottom: 1px solid #30343B;
}

.brandlab-preview-header span {
    color: #858C97;
    font-size: 8px;
    font-weight: 800;
    letter-spacing: 1.2px;
}

/* SAMPLE BRAND IDENTITY */

.brandlab-preview-main {
    position: relative;
    min-height: 235px;
    margin-top: 18px;
    padding: 30px 15px;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    background: #090B0E;
    border: 1px solid #292D33;
    border-radius: 6px;
}

.brandlab-preview-logo-mark {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 65px;
    height: 65px;
    margin-bottom: 18px;

    border: 2px solid var(--brand-orange);
    border-radius: 50%;

    color: #FFFFFF;
    font-size: 34px;
    font-weight: 900;
}

.brandlab-preview-main h2 {
    color: #FFFFFF;
    font-size: 30px;
    font-weight: 900;
    letter-spacing: 5px;
}

.brandlab-preview-main > p {
    margin-top: 7px;

    color: var(--brand-orange);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 3px;
}

.brandlab-preview-divider {
    width: 45px;
    height: 2px;
    margin: 20px 0;

    background: var(--brand-orange);
}

.brandlab-preview-tagline {
    color: #A5AAB2;
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 2px;
}

/* TYPOGRAPHY AND COLOR PANELS */

.brandlab-preview-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-top: 14px;
}

.brandlab-preview-type,
.brandlab-preview-colors {
    min-height: 115px;
    padding: 16px;

    background: #0D1014;
    border: 1px solid #292D33;
    border-radius: 6px;
}

.brandlab-preview-details > div > span {
    display: block;
    margin-bottom: 12px;

    color: #858C97;
    font-size: 8px;
    font-weight: 800;
    letter-spacing: 1.3px;
}

.brandlab-preview-type strong {
    display: block;
    color: #FFFFFF;
    font-size: 35px;
    line-height: 1;
}

.brandlab-preview-type p {
    margin-top: 9px;
    color: var(--brand-orange);
    font-size: 7px;
    font-weight: 800;
    letter-spacing: 1px;
}

.brandlab-color-swatches {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 7px;
}

.brandlab-color-swatches i {
    display: block;
    height: 38px;
    border: 1px solid #393D44;
    border-radius: 3px;
}

.brandlab-color-swatches i:nth-child(1) {
    background: #090B0E;
}

.brandlab-color-swatches i:nth-child(2) {
    background: #FF7700;
}

.brandlab-color-swatches i:nth-child(3) {
    background: #FFFFFF;
}

.brandlab-color-swatches i:nth-child(4) {
    background: #858C97;
}

/* PREVIEW FOOTER */

.brandlab-preview-footer {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;

    margin-top: 18px;
    padding-top: 17px;
    border-top: 1px solid #30343B;
}

.brandlab-preview-footer span {
    color: #858C97;
    font-size: 8px;
    font-weight: 800;
    letter-spacing: 1px;
}

/* RESPONSIVE HERO */

@media (max-width: 1050px) {

    .brandlab-hero-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .brandlab-hero-copy {
        max-width: 700px;
    }

}

@media (max-width: 600px) {

    .brandlab-welcome {
        padding: 35px 0 45px;
    }

    .brandlab-hero-copy h1 {
        font-size: 42px;
    }

    .brandlab-hero-preview {
        padding: 15px;
    }

    .brandlab-preview-main h2 {
        font-size: 23px;
    }

    .brandlab-preview-details {
        grid-template-columns: 1fr;
    }

}


/* =========================================
   DISTRITO BRAND LAB — CREATIVE TOOLS
   PREMIUM CARD DESIGN
========================================= */

.brandlab-tools {
    padding: 65px 0 45px;
}

/* SECTION HEADING */

.brandlab-section-heading {
    margin-bottom: 32px;
}

.brandlab-section-heading > span {
    display: block;
    margin-bottom: 12px;

    color: var(--brand-orange);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 2px;
}

.brandlab-section-heading h2 {
    color: #FFFFFF;
    font-size: 30px;
    font-weight: 900;
    letter-spacing: -0.8px;
}

.brandlab-section-heading h2 span {
    color: var(--brand-orange);
}

.brandlab-section-heading p {
    margin-top: 10px;
    color: var(--text-secondary);
    font-size: 13px;
    line-height: 1.7;
}

/* TOOLS GRID */


.brandlab-tools-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}


/* TOOL CARDS */

.brandlab-tool-card {
    position: relative;
    isolation: isolate;
    overflow: hidden;

    min-height: 275px;
    padding: 27px;

    display: flex;
    flex-direction: column;
    justify-content: space-between;

    background: linear-gradient(
        145deg,
        #191C22,
        #101216 75%
    );

    border: 1px solid #30343C;
    border-radius: 9px;

    transition:
        transform 0.3s ease,
        border-color 0.3s ease,
        box-shadow 0.3s ease;
}

/* ORANGE AMBIENT GLOW */

.brandlab-tool-card::before {
    content: "";
    position: absolute;
    z-index: -1;

    top: -100px;
    right: -100px;

    width: 220px;
    height: 220px;

    background: rgba(255, 119, 0, 0.09);
    filter: blur(75px);

    opacity: 0.35;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.brandlab-tool-card:hover {
    transform: translateY(-7px);

    border-color: rgba(255, 119, 0, 0.65);

    box-shadow:
        0 15px 40px rgba(0, 0, 0, 0.35),
        0 0 25px rgba(255, 119, 0, 0.07);
}

.brandlab-tool-card:hover::before {
    opacity: 1;
}

/* CARD TOP */

.brandlab-tool-card-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.brandlab-tool-card-top > span {
    color: var(--brand-orange);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1.6px;
}

/* ICON CONTAINER */

.brandlab-tool-icon {
    width: 58px;
    height: 58px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: rgba(255, 119, 0, 0.08);
    border: 1px solid rgba(255, 119, 0, 0.25);
    border-radius: 9px;

    color: var(--brand-orange);

    transition:
        background 0.3s ease,
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.brandlab-tool-icon svg {
    width: 31px;
    height: 31px;
}

.brandlab-tool-card:hover .brandlab-tool-icon {
    background: rgba(255, 119, 0, 0.16);
    transform: scale(1.08);

    box-shadow: 0 0 22px rgba(255, 119, 0, 0.15);
}

/* CARD CONTENT */

.brandlab-tool-content {
    margin-top: 30px;
}

.brandlab-tool-content h3 {
    margin-bottom: 13px;

    color: #FFFFFF;
    font-size: 17px;
    font-weight: 900;
    letter-spacing: 0.2px;
}

.brandlab-tool-content p {
    max-width: 340px;

    color: var(--text-secondary);
    font-size: 13px;
    line-height: 1.8;
}

/* CARD FOOTER */

.brandlab-tool-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;

    margin-top: 28px;
    padding-top: 18px;

    border-top: 1px solid #30343C;
}

.brandlab-tool-card-footer > span:first-child {
    color: var(--text-muted);
    font-size: 8px;
    font-weight: 800;
    letter-spacing: 1.3px;
}

.brandlab-tool-arrow {
    color: var(--brand-orange);
    font-size: 22px;
    font-weight: 600;

    transition: transform 0.3s ease;
}

.brandlab-tool-card:hover .brandlab-tool-arrow {
    transform: translate(4px, -4px);
}

/* RESPONSIVE */

@media (max-width: 1050px) {

    .brandlab-tools-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

}

@media (max-width: 650px) {

    .brandlab-tools {
        padding-top: 45px;
    }

    .brandlab-tools-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .brandlab-tool-card {
        min-height: 255px;
        padding: 23px;
    }

    .brandlab-section-heading h2 {
        font-size: 26px;
    }

}


/* =========================================
   DISTRITO BRAND LAB — RECENT PROJECTS
========================================= */

.brandlab-projects {
    padding: 65px 0 55px;
    border-top: 1px solid var(--border-color);
}

/* PROJECTS HEADER */

.brandlab-projects-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 25px;
    margin-bottom: 32px;
}

.brandlab-projects-heading > span {
    display: block;
    margin-bottom: 12px;

    color: var(--brand-orange);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 2px;
}

.brandlab-projects-heading h2 {
    color: #FFFFFF;
    font-size: 30px;
    font-weight: 900;
    letter-spacing: -0.8px;
}

.brandlab-projects-heading h2 span {
    color: var(--brand-orange);
}

.brandlab-projects-heading p {
    max-width: 550px;
    margin-top: 12px;

    color: var(--text-secondary);
    font-size: 13px;
    line-height: 1.8;
}

/* PROJECT COUNTER */

.brandlab-projects-counter {
    min-width: 145px;
    padding: 17px 22px;

    background: #15181D;
    border: 1px solid #30343C;
    border-radius: 8px;
}

.brandlab-projects-counter span {
    display: block;
    margin-bottom: 8px;

    color: var(--text-muted);
    font-size: 8px;
    font-weight: 800;
    letter-spacing: 1.5px;
}

.brandlab-projects-counter strong {
    color: #FFFFFF;
    font-size: 30px;
    font-weight: 900;
}

/* EMPTY PROJECT STATE */

.brandlab-projects-empty {
    position: relative;
    overflow: hidden;

    min-height: 300px;
    padding: 45px 25px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    text-align: center;

    background: linear-gradient(
        145deg,
        #171A20,
        #101216
    );

    border: 1px dashed #3A3F48;
    border-radius: 10px;
}

/* SUBTLE ORANGE LIGHTING */

.brandlab-projects-empty::before {
    content: "";
    position: absolute;

    top: -130px;
    left: 50%;

    width: 300px;
    height: 250px;

    transform: translateX(-50%);

    background: rgba(255, 119, 0, 0.09);
    filter: blur(85px);

    pointer-events: none;
}

/* EMPTY STATE ICON */

.brandlab-empty-icon {
    position: relative;

    width: 76px;
    height: 76px;
    margin-bottom: 23px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: rgba(255, 119, 0, 0.08);
    border: 1px solid rgba(255, 119, 0, 0.25);
    border-radius: 15px;

    color: var(--brand-orange);
}

.brandlab-empty-icon svg {
    width: 38px;
    height: 38px;
}

/* EMPTY STATE TEXT */

.brandlab-empty-label {
    position: relative;

    margin-bottom: 13px;

    color: var(--brand-orange);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1.7px;
}

.brandlab-projects-empty h3 {
    position: relative;

    margin-bottom: 12px;

    color: #FFFFFF;
    font-size: 23px;
    font-weight: 900;
    letter-spacing: 0.3px;
}

.brandlab-projects-empty > p {
    position: relative;

    max-width: 480px;

    color: var(--text-secondary);
    font-size: 13px;
    line-height: 1.9;
}

/* EMPTY STATE FEATURES */

.brandlab-empty-features {
    position: relative;

    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 22px;

    margin-top: 25px;
    padding-top: 20px;

    border-top: 1px solid #30343C;
}

.brandlab-empty-features span {
    color: var(--text-muted);
    font-size: 8px;
    font-weight: 800;
    letter-spacing: 1.2px;
}

/* PROJECT GRID — FOR FUTURE SAVED PROJECTS */

.brandlab-projects-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.brandlab-projects-grid[hidden] {
    display: none;
}

/* RESPONSIVE */

@media (max-width: 850px) {

    .brandlab-projects-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

}

@media (max-width: 600px) {

    .brandlab-projects {
        padding: 45px 0;
    }

    .brandlab-projects-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .brandlab-projects-heading h2 {
        font-size: 26px;
    }

    .brandlab-projects-grid {
        grid-template-columns: 1fr;
    }

    .brandlab-projects-empty {
        min-height: 280px;
        padding: 35px 20px;
    }

    .brandlab-projects-counter {
        width: 100%;
    }

}


/* =========================================
   BRAND LAB — SAVED PROJECT CARDS
========================================= */

/* FIX EMPTY STATE VISIBILITY */

.brandlab-projects-empty[hidden] {
    display: none !important;
}

/* PROJECT GRID */

.brandlab-projects-grid:not([hidden]) {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    margin-top: 25px;
}

/* PROJECT CARD */

.brandlab-project-card {
    position: relative;
    overflow: hidden;

    display: flex;
    flex-direction: column;

    min-height: 340px;
    padding: 25px;

    background: linear-gradient(
        145deg,
        #191C22,
        #101216
    );

    border: 1px solid #30343C;
    border-radius: 9px;

    transition: all 0.3s ease;
}

.brandlab-project-card:hover {
    transform: translateY(-5px);

    border-color: rgba(255, 119, 0, 0.6);

    box-shadow:
        0 15px 35px rgba(0, 0, 0, 0.3),
        0 0 20px rgba(255, 119, 0, 0.06);
}

/* CARD HEADER */

.brandlab-project-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;

    padding-bottom: 18px;
    border-bottom: 1px solid #30343C;
}

.brandlab-project-number {
    color: var(--text-muted);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1.4px;
}

.brandlab-project-status {
    padding: 6px 10px;

    color: var(--brand-orange);
    background: rgba(255, 119, 0, 0.09);

    border: 1px solid rgba(255, 119, 0, 0.25);
    border-radius: 4px;

    font-size: 8px;
    font-weight: 800;
    letter-spacing: 1px;
}

/* PROJECT TITLE */

.brandlab-project-card-title {
    margin-top: 24px;
    margin-bottom: 12px;

    color: #FFFFFF;
    font-size: 21px;
    font-weight: 900;
    letter-spacing: -0.4px;

    overflow-wrap: anywhere;
}

/* PROJECT DETAILS */

.brandlab-project-card-details {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;

    margin-bottom: 17px;
}

.brandlab-project-card-details span {
    padding: 7px 10px;

    color: var(--text-secondary);
    background: #1D2128;

    border: 1px solid #30343C;
    border-radius: 4px;

    font-size: 10px;
    font-weight: 600;
}

/* PROJECT DESCRIPTION */


.brandlab-project-card-description {
    color: var(--text-secondary);
    font-size: 12px;
    line-height: 1.8;

    display: -webkit-box;
    line-clamp: 3;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* PROJECT FOOTER */

.brandlab-project-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;

    margin-top: auto;
    padding-top: 20px;

    border-top: 1px solid #30343C;
}

.brandlab-project-date {
    color: var(--text-muted);
    font-size: 8px;
    font-weight: 800;
    letter-spacing: 1px;
}

/* PROJECT ACTIONS */

.brandlab-project-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brandlab-project-edit,
.brandlab-project-delete {
    padding: 9px 12px;

    border-radius: 4px;
    cursor: pointer;

    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.5px;

    transition: all 0.25s ease;
}

.brandlab-project-edit {
    color: #FFFFFF;
    background: var(--brand-orange);
    border: 1px solid var(--brand-orange);
}

.brandlab-project-edit:hover {
    background: #E66B00;
}

.brandlab-project-delete {
    color: var(--text-muted);
    background: transparent;
    border: 1px solid #3A3F48;
}

.brandlab-project-delete:hover {
    color: #FF5555;
    border-color: #FF5555;
}

/* RESPONSIVE */

@media (max-width: 1000px) {

    .brandlab-projects-grid:not([hidden]) {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

}

@media (max-width: 650px) {

    .brandlab-projects-grid:not([hidden]) {
        grid-template-columns: 1fr;
    }

    .brandlab-project-card {
        min-height: 270px;
        padding: 20px;
    }

}


/* =========================================
   BRAND LAB — NEW WORKSPACE LAYOUT
========================================= */

.brandlab-workspace-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.7fr) minmax(300px, 0.9fr);
    align-items: start;
    gap: 24px;

    margin-top: 20px;
}

/* BRAND IDENTITY PANEL */

.brandlab-workspace-layout .brandlab-hero-preview {
    width: 100%;
    min-width: 0;
}

/* CREATIVE TOOLS PANEL */

.brandlab-workspace-layout .brandlab-tools {
    min-width: 0;
    padding: 0;
}

/* CREATIVE TOOLS HEADING */

.brandlab-workspace-layout .brandlab-section-heading {
    margin-bottom: 20px;
}

.brandlab-workspace-layout .brandlab-section-heading h2 {
    font-size: 24px;
}

.brandlab-workspace-layout .brandlab-section-heading p {
    font-size: 11px;
}

/* STACK THE THREE CARDS */

.brandlab-workspace-layout .brandlab-tools-grid {
    grid-template-columns: 1fr;
    gap: 14px;
}

/* COMPACT TOOL CARDS */

.brandlab-workspace-layout .brandlab-tool-card {
    min-height: 155px;
    padding: 20px;
}

.brandlab-workspace-layout .brandlab-tool-content {
    margin-top: 16px;
}

.brandlab-workspace-layout .brandlab-tool-content h3 {
    font-size: 15px;
}

.brandlab-workspace-layout .brandlab-tool-content p {
    font-size: 12px;
    line-height: 1.6;
}

.brandlab-workspace-layout .brandlab-tool-card-footer {
    margin-top: 16px;
    padding-top: 13px;
}

/* TABLET */

@media (max-width: 1050px) {

    .brandlab-workspace-layout {
        grid-template-columns: 1fr;
    }

    .brandlab-workspace-layout .brandlab-tools-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

}

/* MOBILE */

@media (max-width: 650px) {

    .brandlab-workspace-layout .brandlab-tools-grid {
        grid-template-columns: 1fr;
    }

}
