
/* NICE_FOODTRUTH_ADMIN_DEMO_CONTROL_CSS_V1 */

#nice-ft-demo-launcher {
    position: fixed;
    z-index: 2147483000;
    right: 24px;
    bottom: 24px;
    display: flex;
    align-items: center;
    gap: 9px;
    min-height: 48px;
    padding: 0 17px;
    border: 1px solid rgba(9, 67, 52, .14);
    border-radius: 15px;
    background: #0c493a;
    color: #fff;
    box-shadow:
        0 12px 40px rgba(8, 47, 38, .22);
    font: 700 14px/1.2
        Inter,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;
    cursor: pointer;
}

#nice-ft-demo-launcher span {
    display: inline-flex;
    width: 28px;
    height: 28px;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
    background: #c9f36b;
    color: #103f33;
    font-size: 11px;
    font-weight: 900;
}

#nice-ft-demo-launcher.nice-ft-is-unlimited {
    background: #153e33;
    box-shadow:
        0 0 0 3px rgba(201, 243, 107, .25),
        0 12px 40px rgba(8, 47, 38, .22);
}

#nice-ft-demo-overlay {
    position: fixed;
    z-index: 2147483640;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(4, 30, 24, .52);
    backdrop-filter: blur(8px);
}

#nice-ft-demo-overlay.nice-ft-open {
    display: flex;
}

.nice-ft-admin-card {
    width: min(680px, 100%);
    max-height: calc(100vh - 48px);
    overflow: auto;
    box-sizing: border-box;
    padding: 30px;
    border-radius: 24px;
    background: #fff;
    color: #123f32;
    box-shadow:
        0 30px 100px rgba(3, 30, 23, .30);
    font-family:
        Inter,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;
}

.nice-ft-admin-head {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    justify-content: space-between;
}

.nice-ft-admin-eyebrow {
    margin-bottom: 7px;
    color: #659083;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .12em;
}

.nice-ft-admin-head h2 {
    margin: 0;
    color: #103f33;
    font-size: 27px;
    line-height: 1.2;
}

.nice-ft-admin-head p {
    max-width: 500px;
    margin: 8px 0 0;
    color: #6e847d;
    font-size: 14px;
    line-height: 1.55;
}

#nice-ft-admin-close {
    flex: 0 0 auto;
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 12px;
    background: #edf4f1;
    color: #385b50;
    font-size: 25px;
    cursor: pointer;
}

.nice-ft-admin-status {
    margin-top: 25px;
    padding: 20px;
    border: 1px solid #dce9e4;
    border-radius: 18px;
    background: #f7faf9;
}

.nice-ft-status-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding-bottom: 16px;
    border-bottom: 1px solid #e2ebe8;
}

.nice-ft-status-row > span {
    color: #6d827b;
    font-size: 13px;
    font-weight: 700;
}

.nice-ft-mode-pill {
    display: inline-flex;
    padding: 8px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 900;
}

.nice-ft-pill-unlimited {
    background: #dff8a9;
    color: #244b1d;
}

.nice-ft-pill-normal {
    background: #e6eeeb;
    color: #526961;
}

.nice-ft-status-grid {
    display: grid;
    grid-template-columns:
        repeat(3, minmax(0, 1fr));
    gap: 12px;
    padding-top: 16px;
}

.nice-ft-status-grid > div {
    padding: 13px;
    border-radius: 13px;
    background: #fff;
}

.nice-ft-status-grid span {
    display: block;
    color: #80928c;
    font-size: 11px;
    font-weight: 700;
}

.nice-ft-status-grid strong {
    display: block;
    margin-top: 5px;
    color: #153f34;
    font-size: 15px;
}

.nice-ft-admin-options {
    display: grid;
    grid-template-columns:
        repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 18px;
}

.nice-ft-admin-option {
    min-height: 128px;
    padding: 19px;
    border: 1px solid #dae6e2;
    border-radius: 17px;
    background: #fff;
    color: #153f34;
    text-align: left;
    cursor: pointer;
}

.nice-ft-admin-option-primary {
    border-color: #b9df62;
    background: #f6ffe3;
}

.nice-ft-admin-option strong {
    display: block;
    font-size: 15px;
}

.nice-ft-admin-option span {
    display: block;
    margin-top: 8px;
    color: #71847e;
    font-size: 12px;
    line-height: 1.5;
}

.nice-ft-admin-option:hover {
    transform: translateY(-1px);
    box-shadow:
        0 8px 25px rgba(12, 72, 57, .10);
}

.nice-ft-admin-option:disabled {
    opacity: .55;
    cursor: wait;
}

.nice-ft-admin-message {
    min-height: 22px;
    margin-top: 17px;
    color: #43645a;
    font-size: 13px;
    line-height: 1.5;
}

.nice-ft-admin-error {
    color: #a33c31;
    font-weight: 700;
}

.nice-ft-admin-note {
    margin-top: 17px;
    padding-top: 16px;
    border-top: 1px solid #e5ece9;
    color: #82928d;
    font-size: 11px;
    line-height: 1.5;
}

@media (max-width: 640px) {

    .nice-ft-admin-card {
        padding: 22px;
    }

    .nice-ft-admin-options,
    .nice-ft-status-grid {
        grid-template-columns: 1fr;
    }

    #nice-ft-demo-launcher {
        right: 15px;
        bottom: 15px;
    }
}
