/* ================= FIELD WORK PAGE ================= */

/* PRIMARY ACTION (Start Travel / Collect etc.) */
.btn-collect {
    width: 100%;
    padding: 10px;
    font-size: 15px;
    background: var(--button-color);
    color: var(--button-text-color);
    border: none;
    border-radius: 6px;
    margin-top: 8px;
}

.actions {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    padding: 10px;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
}

.btn-main {
    width: 100%;
    padding: 16px;
    font-size: 18px;
    margin-bottom: 10px;
    background: var(--button-color);
    color: var(--button-text-color);
}

/* GRID LAYOUT */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 10px;
}

/* BASE BUTTON STYLE */
button {
    padding: 12px;
    font-size: 14px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
}

/* ================= ACTION BUTTON COLORS ================= */

/* Warning (Break) */
.btn-warning {
    background: var(--color-warning);
    color: #fff;
}

/* Strong Warning (Stop) */
.btn-warning-alt {
    background: var(--color-warning-alt);
    color: #fff;
}

/* Danger (Not Home) */
.btn-danger {
    background: var(--color-danger);
    color: #fff;
}

/* Neutral (Rain / Passive) */
.btn-secondary {
    background: var(--color-neutral);
    color: #fff;
}

/* Primary (fallback if used here) */
.btn-primary {
    background: var(--button-color);
    color: var(--button-text-color);
}

/* ================= JOB INFO ================= */

.job-header {
    text-align: left;
    margin-bottom: 10px;
}

.job-progress {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 5px;
}


/* ================= USER INFO ================= */

.job-address-line {
    margin: 10px 0 8px;
    font-size: 18px;
    line-height: 1.45;
    color: #222;
}

.job-contact {
    margin: 8px 0 10px;
    font-size: 17px;
    font-weight: 600;
}

.job-contact-link {
    color: #111;
    text-decoration: none;
}

.job-contact-link:hover,
.job-contact-link:focus,
.job-contact-link:active,
.job-contact-link:visited {
    color: #111;
    text-decoration: none;
}

.job-service-line {
    margin: 10px 0 0;
    font-size: 17px;
    color: #333;
    font-weight: 500;
}

/* ================= INSTRUCTIONS ================= */

.job-instructions {
    margin-top: 5px;
    padding: 8px;
    background: #f1f5f9;
    border: 1px solid #dbe3ea;
    border-radius: 6px;
}

.job-instructions strong,
.job-instructions h4 {
    display: block;
    margin: 0 0 4px 0;
    font-size: 15px;
}

.job-instructions p {
    margin: 0;
}

.instruction {
    padding: 3px 0;
    font-size: 14px;
}

/* Payment (success color) */
.instruction.payment {
    color: var(--color-success);
    font-weight: 500;
}

.payment-total {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #e5e7eb;
    font-weight: 700;
    color: var(--color-success);
    font-size: 16px;
}

/* ================= MODALS (FIELD WORK) ================= */

/* modal layout */
.modal-card {
    display: flex;
    flex-direction: column;
}

/* group main buttons (Tea / Lunch / Garage / etc.) */
.modal-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;           /* spacing between buttons */
    margin-top: 12px;
}

/* close button spacing */
.modal-close-btn {
    margin-top: 14px;
}

/* optional: make modal buttons feel nicer */
.modal-buttons .btn-primary {
    padding: 12px;
    font-size: 15px;
    border-radius: 8px;
}