/* =========================================
   STORE OPERATIONS APP POLISH
   Safe CSS only
========================================= */

body {
    background:
        radial-gradient(circle at top left, rgba(0, 95, 47, 0.12), transparent 35%),
        linear-gradient(135deg, #f0fdf4, #f8fafc);
}

/* =========================================
   STORE APP SHARED POLISH
========================================= */

.store-section-card {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid #e2e8f0;
    border-radius: 28px;
    padding: 28px;
    margin-top: 28px;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
}

.section-heading {
    margin-bottom: 22px;
}

.section-heading h2 {
    margin: 0 0 8px;
    font-size: 24px;
    color: #064e3b;
}

.section-heading p {
    margin: 0;
    color: #64748b;
    line-height: 1.6;
}

.store-table-wrap {
    width: 100%;
    overflow-x: auto;
}

.store-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 650px;
}

.store-table th {
    background: #ecfdf5;
    color: #064e3b;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 14px;
    text-align: left;
}

.store-table td {
    padding: 16px 14px;
    border-bottom: 1px solid #e2e8f0;
    color: #475569;
}

.store-form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.store-form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.store-form-group label {
    font-weight: 700;
    color: #064e3b;
}

.store-form-group input,
.store-form-group select,
.store-form-group textarea {
    width: 100%;
    border: 1px solid #cbd5e1;
    border-radius: 16px;
    padding: 14px 16px;
    font-size: 15px;
    outline: none;
    background: white;
}

.store-form-group input:focus,
.store-form-group select:focus,
.store-form-group textarea:focus {
    border-color: #059669;
    box-shadow: 0 0 0 4px rgba(5, 150, 105, 0.12);
}

.full-width {
    grid-column: 1 / -1;
}

.store-primary-btn {
    border: none;
    background: linear-gradient(135deg, #005f2f, #008a44);
    color: white;
    font-weight: 800;
    padding: 15px 22px;
    border-radius: 999px;
    cursor: pointer;
    box-shadow: 0 12px 28px rgba(0, 95, 47, 0.25);
}

/* =========================================
   OLD HUB SUPPORT
========================================= */

.hub-wrapper {
    min-height: 100vh;
    padding: 30px;
    gap: 28px;
}

.hub-left {
    background: linear-gradient(160deg, #004225, #007a3d);
    color: white;
    border-radius: 32px;
    padding: 36px;
    box-shadow: 0 24px 60px rgba(0, 66, 37, 0.25);
}

.hub-logo {
    background: white;
    padding: 12px;
    border-radius: 24px;
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.15);
}

.hub-left h1 {
    font-size: 34px;
    line-height: 1.1;
    margin-top: 22px;
}

.hub-left p {
    font-size: 17px;
    opacity: 0.95;
}

.hub-helper-text {
    display: block;
    margin-top: 22px;
    line-height: 1.7;
    background: rgba(255, 255, 255, 0.12);
    padding: 18px;
    border-radius: 18px;
}

.hub-right {
    background: rgba(255, 255, 255, 0.78);
    backdrop-filter: blur(10px);
    border-radius: 32px;
    padding: 34px;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.10);
}

.hub-right h2 {
    font-size: 30px;
    margin-bottom: 24px;
    color: #0f172a;
}

.hub-cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.hub-card {
    position: relative;
    min-height: 175px;
    padding: 26px;
    border-radius: 26px;
    background: white;
    border: 1px solid #e2e8f0;
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.08);
    text-decoration: none;
    color: #0f172a;
    transition: 0.22s ease;
}

.hub-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 22px 48px rgba(15, 23, 42, 0.14);
    border-color: #86efac;
}

.hub-card span {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    font-size: 26px;
    border-radius: 18px;
    background: #ecfdf5;
    margin-bottom: 16px;
}

.hub-card h3 {
    margin: 0 0 10px;
    font-size: 20px;
    color: #064e3b;
}

.hub-card p {
    margin: 0;
    color: #475569;
    line-height: 1.55;
    font-size: 15px;
}

.hub-card::after {
    content: "Tap to open";
    position: absolute;
    right: 20px;
    bottom: 18px;
    font-size: 12px;
    font-weight: 800;
    color: #047857;
    background: #ecfdf5;
    padding: 6px 10px;
    border-radius: 999px;
}

/* =========================================
   BUILDFRAME SOFT PROMO CARD
========================================= */

.buildframe-card {
    background: linear-gradient(135deg, #0f172a, #1e293b) !important;
    color: white !important;
    border: 1px solid rgba(255, 255, 255, 0.14) !important;
}

.buildframe-card h3,
.buildframe-card p {
    color: white !important;
}

.buildframe-card span {
    background: rgba(255, 255, 255, 0.12) !important;
}

.buildframe-card::after {
    content: "Powered by BuildFrame";
    color: white;
    background: rgba(255, 255, 255, 0.14);
}

.buildframe-card-logo {
    width: 34px;
    height: 34px;
    object-fit: contain;
}

/* =========================================
   MOBILE / TABLET
========================================= */

@media (max-width: 900px) {
    .hub-wrapper {
        padding: 18px;
    }

    .hub-cards {
        grid-template-columns: 1fr;
    }

    .hub-left,
    .hub-right,
    .store-section-card {
        padding: 22px;
        border-radius: 24px;
    }

    .hub-left h1 {
        font-size: 28px;
    }

    .hub-right h2,
    .section-heading h2 {
        font-size: 24px;
    }

    .hub-card {
        min-height: auto;
        padding: 22px;
    }

    .store-form-grid {
        grid-template-columns: 1fr;
    }
}