

/* Food Truck Works application styles */

:root {
    --poynt-primary: #3273dc;
}

body {
    min-height: 100vh;
}

/* Brand logo */

.ftw-logo {
    display: block;
    width: auto;
    height: auto;
}

.ftw-logo--auth {
    width: min(100%, 290px);
    margin: 0 auto 1.5rem;
}

.ftw-logo--invitation {
    width: min(100%, 230px);
    margin: 0 auto 1.5rem;
}

.ftw-app-brand {
    display: inline-block;
    margin-bottom: 1.5rem;
}

.ftw-app-brand picture {
    display: block;
}

.ftw-logo--app-header {
    width: min(100%, 360px);
}


.ftw-dashboard-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1.5rem;
    width: 100%;
}

.ftw-dashboard-identity {
    min-width: 0;
}

.ftw-dashboard-identity .ftw-app-brand {
    display: block;
    margin-bottom: 0;
}

.ftw-dashboard-actions {
    display: flex;
    flex: 0 0 auto;
    flex-direction: column;
    align-items: flex-end;
    margin-left: auto;
}

.ftw-dashboard-actions .buttons {
    justify-content: flex-end;
    margin-bottom: 0.35rem;
}

.ftw-dashboard-welcome {
    align-self: stretch;
    width: 100%;
    margin: 0;
    text-align: right !important;
}

@media (max-width: 768px) {
    .ftw-dashboard-header {
        flex-direction: column;
        align-items: stretch;
    }

    .ftw-dashboard-actions {
        align-items: flex-start;
        margin-left: 0;
    }

    .ftw-dashboard-actions .buttons {
        justify-content: flex-start;
    }

    .ftw-dashboard-welcome {
        text-align: left !important;
    }
}


@media screen and (max-width: 768px) {
    .ftw-logo--auth {
        width: min(100%, 240px);
    }

    .ftw-logo--invitation {
        width: min(100%, 200px);
    }

    .ftw-logo--app-header {
        width: min(100%, 300px);
    }
}

.poynt-auth-box {
    margin-top: 8vh;
}

.poynt-brand {
    font-weight: 700;
    letter-spacing: -0.03em;
}

/* Tip Calculator */

.order-section-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.75rem;
}

.order-section-heading h2 {
    margin-bottom: 0;
}

/* --------------------------------------------------
   Tip Calculator
   -------------------------------------------------- */

.tip-calculator-modal .modal-card {
    width: 1100px;
    max-width: calc(100vw - 2rem);
}

.tip-calculator-modal .modal-card-head {
    padding: 1rem 1.25rem;
}

.tip-calculator-modal .modal-card-body {
    padding: 1rem 1.25rem;
    overflow-x: auto;
}

.tip-calculator-store {
    margin-top: 0.15rem;
    font-size: 0.9rem;
}

.tip-calculator-header,
.tip-row {
    display: grid;
    grid-template-columns:
        minmax(430px, 1fr)
        145px
        110px
        125px
        75px;
    gap: 0.75rem;
    align-items: center;
    min-width: 900px;
}

.tip-calculator-header {
    padding: 0 0.75rem 0.4rem;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--bulma-text-weak);
}

.tip-row {
    padding: 0.65rem 0.75rem;
    border-top: 1px solid var(--bulma-border);
}

.tip-range-control {
    display: grid;
    grid-template-columns: minmax(190px, 1fr) auto minmax(190px, 1fr);
    gap: 0.45rem;
    align-items: center;
}

.tip-range-control .input {
    width: 100%;
    min-width: 0;
}

.tip-range-arrow {
    font-size: 1rem;
    color: var(--bulma-text-weak);
    text-align: center;
}

.tip-employees-control {
    display: flex;
    align-items: left;
    justify-content: left;
}

.tip-employees-control .button {
    min-width: 2.2rem;
    padding-left: 5px;
    padding-right: 5px;
}

.tip-employee-count {
    width: 3.25rem;
    text-align: center;
    border-radius: 0;
    margin: 0;
}

.tip-money-value {
    font-weight: 600;
    white-space: nowrap;
}

.tip-delete {
    justify-self: end;
}

.tip-calculator-add {
    margin-top: 0.85rem;
}

.tip-calculator-modal .modal-card-foot {
    justify-content: flex-end;
    padding: 0.75rem 1.25rem;
}

/* The application uses the light theme on every device. */
:root { color-scheme: light; }

