/* =========================================
   CRAB AUTHENTICATION
========================================= */

:root {
    --primary: #FBB040;
    --black: #000000;
    --white: #FFFFFF;
    --gray-100: #111111;
    --gray-200: #242424;
    --gray-500: #999999;
    --gray-700: #CCCCCC;
}


/* =========================================
   RESET
========================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


body {
    font-family:
        Arial,
        Helvetica,
        sans-serif;
    background: #000000;
    color: #FFFFFF;
    min-height: 100vh;
}


/* =========================================
   HEADER
========================================= */

.auth-header {
    height: 80px;
    padding: 0 5%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.auth-logo {
    display: flex;
    align-items: center;
}
.auth-logo img {
    width: 150px;
    height: 150px;
    object-fit: contain;
}
.auth-header p {
    color: #999999;
    font-size: 13px;
}
.auth-header p a {
    color: #FFFFFF;
    font-weight: 700;
    margin-left: 5px;
    transition: color 0.2s ease;
}


.auth-header p a:hover {
    color: #FBB040;
}


/* =========================================
   MAIN
========================================= */

.auth-page {
    min-height:
        calc(100vh - 80px);
    display: flex;
    align-items: center;
    padding: 60px 5% 100px;
}
.auth-container {
    width: 100%;
    max-width: 1150px;
    margin: 0 auto;
    display: grid;
    grid-template-columns:
        1fr
        0.9fr;
    gap: 100px;
    align-items: center;
}
/* =========================================
   INTRODUCTION
========================================= */
.auth-intro {
    max-width: 580px;
}
.auth-eyebrow {
    display: inline-block;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.5px;
    color: #000000;
    background: #FBB040;
    padding: 8px 10px;
}
.auth-intro h1 {
    margin-top: 25px;
    font-size:
        clamp(45px, 6vw, 72px);
    line-height: 0.98;
    letter-spacing: -3px;
}
.auth-intro h1 span {
    display: block;
    color: #FBB040;
}
.auth-description {
    max-width: 500px;
    margin-top: 28px;
    color: #999999;
    font-size: 17px;
    line-height: 1.7;
}
/* =========================================
   PROGRESS
========================================= */

.progress-info {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 55px;
}
.progress-number {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #FBB040;
    color: #000000;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 900;
}
.progress-info strong {
    font-size: 14px;
}
.progress-info p {
    margin-top: 3px;
    color: #777777;
    font-size: 12px;
}
/* =========================================
   FORM CARD
========================================= */
.auth-form-wrapper {
    background: #111111;
    border: 1px solid #292929;
    border-radius: 18px;
    padding: 38px;
}
.auth-form {
    width: 100%;
}
.form-heading {
    margin-bottom: 30px;
}
.form-heading h2 {
    font-size: 25px;
    letter-spacing: -0.8px;
}
.form-heading p {
    margin-top: 6px;
    color: #777777;
    font-size: 13px;
}
/* =========================================
   FORM GROUP
========================================= */
.form-group {
    margin-bottom: 20px;
}
.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 12px;
    font-weight: 700;
}
.form-group input {
    width: 100%;
    height: 50px;
    padding: 0 14px;
    background: #000000;
    border: 1px solid #333333;
    border-radius: 7px;
    outline: none;
    color: #FFFFFF;
    font-size: 13px;
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}
.form-group input::placeholder {
    color: #666666;
}
.form-group input:focus {
    border-color: #FBB040;
    box-shadow:
        0 0 0 2px
        rgba(251, 176, 64, 0.15);
}
.form-group small {
    display: block;
    margin-top: 7px;
    color: #666666;
    font-size: 10px;
}
/* =========================================
   TERMS
========================================= */
.terms {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    margin: 25px 0;
}
.terms input {
    margin-top: 3px;
    accent-color: #FBB040;
}
.terms label {
    color: #777777;
    font-size: 11px;
    line-height: 1.5;
}
.terms a {
    color: #FFFFFF;
    text-decoration: underline;
}
.terms a:hover {
    color: #FBB040;
}
/* =========================================
   AUTH BUTTON
========================================= */

.auth-button {
    width: 100%;
    height: 52px;
    border: none;
    border-radius: 8px;
    background: #FBB040;
    color: #000000;
    font-size: 14px;
    font-weight: 900;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    transition:
        transform 0.2s ease,
        background 0.2s ease,
        box-shadow 0.2s ease;
}


.auth-button:hover {
    background: #FFFFFF;
    transform: translateY(-2px);
    box-shadow:
        5px 5px 0 #FBB040;
}


.auth-button span {
    font-size: 20px;
}

/* =========================================
   FORM NOTE
========================================= */
.form-note {
    text-align: center;
    margin-top: 18px;
    color: #666666;
    font-size: 11px;
}


/* =========================================
   RESPONSIVE
========================================= */
@media (max-width: 850px) {
    .auth-container {
        grid-template-columns: 1fr;
        gap: 50px;
        max-width: 600px;
    }
    .auth-intro {
        max-width: 600px;
    }
    .progress-info {
        margin-top: 35px;
    }
}
@media (max-width: 520px) {
    .auth-header {
        height: 70px;
        padding: 0 20px;
    }
    .auth-header p {
        font-size: 11px;
    }
    .auth-logo img {
        width: 45px;
        height: 45px;
    }
    .auth-page {
        padding: 40px 20px 70px;
    }
    .auth-intro h1 {
        font-size: 46px;
        letter-spacing: -2.5px;
    }
    .auth-description {
        font-size: 15px;
    }
    .auth-form-wrapper {
        padding: 25px 20px;
    }
}

/* =========================================
   CREATE BUSINESS PAGE
========================================= */

.business-setup {
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
    padding: 60px 5% 100px;
}
.business-container {
    width: 100%;
    max-width: 1150px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 0.85fr 1fr;
    gap: 100px;
    align-items: start;
}
/* =========================================
   BUSINESS INTRO
========================================= */

.business-intro {
    max-width: 500px;
    padding-top: 25px;
}
.business-intro h1 {
    margin-top: 25px;
    font-size: clamp(45px, 6vw, 68px);
    line-height: 0.98;
    letter-spacing: -3px;
}
.business-intro h1 span {
    display: block;
    color: #FBB040;
}
.business-description {
    max-width: 450px;
    margin-top: 28px;
    color: #999999;
    font-size: 16px;
    line-height: 1.7;
}
/* =========================================
   SETUP PROGRESS
========================================= */

.setup-progress {
    margin-top: 55px;
}
.progress-step {
    display: flex;
    align-items: center;
    gap: 15px;
    opacity: 0.4;
}
.progress-step span {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #1A1A1A;
    color: #777777;
    font-size: 11px;
    font-weight: 800;
    flex-shrink: 0;
}
.progress-step strong {
    font-size: 13px;
}
.progress-step p {
    margin-top: 3px;
    color: #777777;
    font-size: 11px;
}
.progress-step.completed {
    opacity: 1;
}
.progress-step.completed span {
    background: #FBB040;
    color: #000000;
}
.progress-step.active {
    opacity: 1;
}
.progress-step.active span {
    background: #FFFFFF;
    color: #000000;
}
.progress-line {
    width: 1px;
    height: 30px;
    background: #292929;
    margin-left: 21px;
}

/* =========================================
   BUSINESS FORM
========================================= */
.business-form-wrapper {
    background: #111111;
    border: 1px solid #292929;
    border-radius: 18px;
    padding: 38px;
}
.business-form {
    width: 100%;
}
/* =========================================
   FORM ROW
========================================= */

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}
/* =========================================
   SELECT
========================================= */

.form-group select {
    width: 100%;
    height: 50px;
    padding: 0 14px;
    background: #000000;
    border: 1px solid #333333;
    border-radius: 7px;
    outline: none;
    color: #FFFFFF;
    font-size: 13px;
    cursor: pointer;
    transition: border-color 0.2s ease;
}


.form-group select:focus {
    border-color: #FBB040;
}


.form-group select option {
    background: #000000;
    color: #FFFFFF;
}


/* =========================================
   TEXTAREA
========================================= */

.form-group textarea {
    width: 100%;
    padding: 14px;
    background: #000000;
    border: 1px solid #333333;
    border-radius: 7px;
    outline: none;
    resize: vertical;
    color: #FFFFFF;
    font-family: inherit;
    font-size: 13px;
    line-height: 1.5;
    transition: border-color 0.2s ease,
                box-shadow 0.2s ease;
}


.form-group textarea::placeholder {
    color: #666666;
}


.form-group textarea:focus {
    border-color: #FBB040;
    box-shadow:
        0 0 0 2px
        rgba(251, 176, 64, 0.15);
}
/* =========================================
   AVAILABILITY
========================================= */

.availability {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 18px 0;
    margin: 5px 0 20px;
    border-top: 1px solid #222222;
    border-bottom: 1px solid #222222;
}
.availability strong {
    font-size: 12px;
}
.availability p {
    margin-top: 4px;
    color: #666666;
    font-size: 10px;
}
/* =========================================
   TOGGLE
========================================= */

.switch {
    position: relative;
    width: 46px;
    height: 25px;
    flex-shrink: 0;
}
.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}
.slider {
    position: absolute;
    inset: 0;
    background: #333333;
    border-radius: 30px;
    cursor: pointer;
    transition: background 0.2s ease;
}
.slider::before {
    content: "";
    position: absolute;
    width: 19px;
    height: 19px;
    left: 3px;
    top: 3px;
    background: #FFFFFF;
    border-radius: 50%;
    transition: transform 0.2s ease;
}
.switch input:checked + .slider {
    background: #FBB040;
}
.switch input:checked + .slider::before {
    transform: translateX(21px);
    background: #000000;
}
/* =========================================
   RESPONSIVE
========================================= */
@media (max-width: 850px) {
    .business-container {
        grid-template-columns: 1fr;
        gap: 50px;
        max-width: 650px;
    }
    .business-intro {
        padding-top: 0;
        max-width: 600px;
    }
    .setup-progress {
        margin-top: 35px;
    }
}
@media (max-width: 520px) {
    .business-setup {
        padding: 40px 20px 70px;
    }
    .business-intro h1 {
        font-size: 46px;
        letter-spacing: -2.5px;
    }
    .business-form-wrapper {
        padding: 25px 20px;
    }
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
}

/* =========================================
   ADD ITEMS PAGE
========================================= */

.items-setup {
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
    padding: 60px 5% 100px;
}
.items-container {
    width: 100%;
    max-width: 1150px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 0.85fr 1fr;
    gap: 100px;
    align-items: start;
}
/* =========================================
   INTRO
========================================= */

.items-intro {
    max-width: 500px;
    padding-top: 25px;
}
.items-intro h1 {
    margin-top: 25px;
    font-size: clamp(45px, 6vw, 68px);
    line-height: 0.98;
    letter-spacing: -3px;
}

.items-intro h1 span {
    display: block;
    color: #FBB040;
}
.items-description {
    max-width: 430px;
    margin-top: 28px;
    color: #999999;
    font-size: 16px;
    line-height: 1.7;
}
/* =========================================
   FORM WRAPPER
========================================= */
.items-form-wrapper {
    background: #111111;
    border: 1px solid #292929;
    border-radius: 18px;
    padding: 38px;
}
/* =========================================
   TYPE OPTIONS
========================================= */
.type-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}
.type-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px;
    background: #000000;
    border: 1px solid #333333;
    border-radius: 8px;
    cursor: pointer;
    transition:
        border-color 0.2s ease,
        background 0.2s ease;
}
.type-option:hover {
    border-color: #FBB040;
}
.type-option input {
    accent-color: #FBB040;
}
.type-option span {
    display: flex;
    flex-direction: column;
    gap: 3px;
}
.type-option strong {
    font-size: 12px;
}
.type-option small {
    color: #666666;
    font-size: 10px;
}

/* =========================================
   PRICE INPUT
========================================= */
.price-input {
    display: flex;
    align-items: center;
    background: #000000;
    border: 1px solid #333333;
    border-radius: 7px;
    height: 50px;
    overflow: hidden;
}
.price-input span {
    padding-left: 14px;
    color: #FBB040;
    font-size: 14px;
    font-weight: 700;
}
.price-input input {
    border: none !important;
    box-shadow: none !important;
    background: transparent !important;
}
/* =========================================
   ADD ITEM BUTTON
========================================= */
.add-item-button {
    width: 100%;
    height: 48px;
    background: #FFFFFF;
    color: #000000;
    border: none;
    border-radius: 7px;
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
    transition:
        background 0.2s ease,
        transform 0.2s ease;
}
.add-item-button:hover {
    background: #FBB040;
    transform: translateY(-2px);
}
/* =========================================
   ITEMS LIST
========================================= */
.items-list {
    margin-top: 30px;
}
.item-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px;
    background: #000000;
    border: 1px solid #292929;
    border-radius: 9px;
    margin-bottom: 12px;
}
.item-type {
    display: inline-block;
    color: #FBB040;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1px;
    margin-bottom: 7px;
}
.item-card h3 {
    font-size: 14px;
}
.item-card p {
    margin-top: 5px;
    color: #777777;
    font-size: 11px;
    line-height: 1.5;
}
/* =========================================
   RESPONSIVE
========================================= */
@media (max-width: 850px) {
    .items-container {
        grid-template-columns: 1fr;
        gap: 50px;
        max-width: 650px;
    }
    .items-intro {
        padding-top: 0;
        max-width: 600px;
    }
}
@media (max-width: 520px) {
    .items-setup {
        padding:
            40px 20px 70px;
    }
    .items-intro h1 {
        font-size: 46px;
        letter-spacing: -2.5px;
    }
    .items-form-wrapper {
        padding: 25px 20px;
    }
    .type-options {
        grid-template-columns: 1fr;
    }
}
/* =========================================
   BUSINESS PREVIEW
========================================= */
.preview-page {
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
    padding: 60px 5% 100px;
}
.preview-container {
    width: 100%;
    max-width: 1150px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 0.8fr 1fr;
    gap: 100px;
    align-items: center;
}

/* =========================================
   INTRO
========================================= */
.preview-intro {
    max-width: 500px;
}
.preview-intro h1 {
    margin-top: 25px;
    font-size: clamp(45px, 6vw, 68px);
    line-height: 0.98;
    letter-spacing: -3px;
}
.preview-intro h1 span {
    display: block;
    color: #FBB040;
}
.preview-description {
    max-width: 430px;
    margin-top: 28px;
    color: #999999;
    font-size: 16px;
    line-height: 1.7;
}
/* =========================================
   PREVIEW NOTE
========================================= */

.preview-note {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 30px;
}
.preview-note span {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #FBB040;
    color: #000000;
    font-size: 12px;
    font-weight: 900;
}
.preview-note p {
    color: #777777;
    font-size: 11px;
}
/* =========================================
   BUSINESS PREVIEW WRAPPER
========================================= */

.business-preview-wrapper {
    width: 100%;
    max-width: 500px;
    margin-left: auto;
}
/* =========================================
   BUSINESS CARD
========================================= */

.business-card {
    background: #FFFFFF;
    color: #000000;
    border-radius: 18px;
    overflow: hidden;
    box-shadow:
        0 25px 70px
        rgba(0, 0, 0, 0.35);
}
/* =========================================
   CARD TOP
========================================= */
.business-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 25px 25px 0;
}
.business-avatar {
    width: 58px;
    height: 58px;
    border-radius: 12px;
    background: #000000;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.business-avatar img {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.available-badge {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 7px 10px;
    border-radius: 20px;
    background: #F4F4F4;
    font-size: 9px;
    font-weight: 700;
}
.available-badge span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: greenyellow;
}
/* =========================================
   BUSINESS INFO
========================================= */
.business-card-info {
    padding: 25px;
}
.business-category {
    color: #999999;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1px;
}
.business-card-info h2 {
    margin-top: 7px;
    font-size: 28px;
    letter-spacing: -1px;
}
.business-tagline {
    max-width: 380px;
    margin-top: 8px;
    color: #666666;
    font-size: 12px;
    line-height: 1.6;
}
.business-location {
    margin-top: 18px;
    color: #555555;
    font-size: 10px;
}
/* =========================================
   PRODUCTS
========================================= */
.business-products {
    padding: 0 25px 10px;
}
.products-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}
.products-heading h3 {
    font-size: 12px;
}
.products-heading span {
    color: #999999;
    font-size: 9px;
}
.product-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 14px 0;
    border-top: 1px solid #EEEEEE;
}
.product-row strong {
    font-size: 11px;
}
.product-row p {
    margin-top: 4px;
    color: #999999;
    font-size: 9px;
}
.product-price {
    color: #000000;
    font-size: 11px;
    font-weight: 800;
    white-space: nowrap;
}
/* =========================================
   BUSINESS ACTIONS
========================================= */
.business-actions {
    display: grid;
    grid-template-columns: 1fr 0.4fr;
    gap: 10px;
    padding: 20px 25px 25px;
}
.whatsapp-button {
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000000;
    color: #FFFFFF;
    border-radius: 7px;
    font-size: 11px;
    font-weight: 800;
    transition:
        background 0.2s ease,
        transform 0.2s ease;
}

.whatsapp-button:hover {
    background: #FBB040;
    color: #000000;
    transform: translateY(-2px);
}
.share-button {
    height: 45px;
    border: 1px solid #DDDDDD;
    background: #FFFFFF;
    color: #000000;
    border-radius: 7px;
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
    transition:
        border-color 0.2s ease,
        background 0.2s ease;
}
.share-button:hover {
    border-color: #FBB040;
    background: #FFF7E8;
}
/* =========================================
   CARD FOOTER
========================================= */
.business-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding: 13px 25px;
    background: #F7F7F7;
    color: #999999;
    font-size: 8px;
}
.business-card-footer strong {
    color: #000000;
}
/* =========================================
   PUBLISH BUTTON
========================================= */
.publish-button {
    width: 100%;
    height: 54px;
    margin-top: 20px;
    border: none;
    border-radius: 8px;
    background: #FBB040;
    color: #000000;
    font-size: 13px;
    font-weight: 900;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    transition:
        background 0.2s ease,
        transform 0.2s ease,
        box-shadow 0.2s ease;
}
.publish-button:hover {
    background: #FFFFFF;
    transform: translateY(-2px);
    box-shadow: 5px 5px 0 #FBB040;
}
.publish-button span {
    font-size: 19px;
}
/* =========================================
   RESPONSIVE
========================================= */
@media (max-width: 850px) {
    .preview-container {
        grid-template-columns: 1fr;
        gap: 50px;
        max-width: 650px;
    }
    .preview-intro {
        max-width: 600px;
    }
    .business-preview-wrapper {
        margin: 0 auto;
    }
}
@media (max-width: 520px) {
 .preview-page {
        padding:
            40px 20px 70px;
    }
    .preview-intro h1 {
        font-size: 46px;
        letter-spacing: -2.5px;
    }
    .business-card-top {
        padding:
            20px 20px 0;
    }
    .business-card-info {
        padding: 20px;
    }
    .business-products {
        padding:
            0 20px 10px;
    }
    .business-actions {
        padding:
            15px 20px 20px;
    }
    .business-card-footer {
        padding:
            12px 20px;
    } 
}
/* =========================================
   ITEM CARD ACTIONS
========================================= */
.item-card-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}
.item-price {
    font-size: 11px;
    white-space: nowrap;
    color: #FBB040;
}
.delete-item {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 6px;
    background: #1A1A1A;
    color: #777777;
    font-size: 18px;
    cursor: pointer;
    transition:
        background 0.2s ease,
        color 0.2s ease;
}
.delete-item:hover {
    background: #FBB040;
    color: #000000;
}
/* =========================================
   DYNAMIC PREVIEW
========================================= */
.preview-items {
    width: 100%;
}
.empty-preview {
    padding: 20px 0;
    color: #999999;
    font-size: 11px;
}

/* =========================================
   ITEM MANAGEMENT BUTTONS
========================================= */

.edit-item {
    border: 1px solid #dddddd;
    background: #ffffff;
    color: #000000;
    padding: 7px 12px;
    border-radius: 7px;
    cursor: pointer;
    font-weight: 600;
}


.edit-item:hover {
    border-color: #fbb040;
}


.cancel-item-edit {
    width: 100%;
    margin-top: 10px;
    padding: 13px;
    border: 1px solid #dddddd;
    border-radius: 8px;
    background: #ffffff;
    color: #000000;
    cursor: pointer;
    font-weight: 600;
}


.cancel-item-edit:hover {
    border-color: #fbb040;
}

/* =========================================
   BACK TO BUSINESS MANAGER
========================================= */

.back-business-manager {
    display: inline-block;
    margin-bottom: 24px;
    color: #000000;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
}

.back-business-manager:hover {
    color: #fbb040;
}