﻿/* Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification
for details on configuring this project to bundle and minify static web assets. */

body {
    font-weight: 500;
    color: black;
    margin-bottom: 60px;
    font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif !important;
}

a.navbar-brand {
    white-space: normal;
    text-align: center;
    word-break: break-all;
}

/* Provide sufficient contrast against white background */
a {
    color: #0366d6;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
    font-size: 14px;
    color: black;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.border-top {
    border-top: 1px solid #e5e5e5;
}

.border-bottom {
    border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
    box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

button.accept-policy {
    font-size: 1rem;
    line-height: inherit;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
    position: relative;
    min-height: 100%;
}

body {
    /* Margin bottom by footer height */
    margin-bottom: 60px;
}

.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    white-space: nowrap;
    line-height: 60px; /* Vertically center the text there */
}


/* sidebar */
#name {
    font-weight: bold;
    font-size: 14px;
}
/* end of sidebar */

/* grid */
.k-grid-content td[role="gridcell"] {
    cursor: pointer;
}

.k-grid-header th.k-header {
    font-weight: 700;
    font-size: 0.78rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #475569;
}
/* end of grid */

/* modal */
.field-label {
    width: 100px;
}

.k-window {
    border-radius: 10px !important;
    overflow: hidden !important;
}

.k-window-title {
    font-weight: bold !important;
}
/* end of modal */

/* floating action button */
.k-fab-text {
    display: none;
}
/* end of floating action button */

/* notifiation */
.k-notification {
    /*background-color: darkgreen !important;*/
}

    .k-notification h3 {
        padding: 20px 10px 5px;
        /*padding-top:20px;*/
        font-size: 1.2em;
        line-height: normal;
    }

    .k-notification img {
        margin: 10px;
        float: left;
    }

.notification-success, .notification-error {
    width: 300px;
    height: auto;
}
/* end of notification */


/* modal form */
.modal-label {
    width: 400px;
}

    .modal-label label {
        font-size: 12px !important;
        font-weight: bold !important;
    }
/* end of modal form */

.grid-container {
    /*min-height: 400px;*/
}

.trans-grid-container {
    min-height: 250px;
}

.k-grid-toolbar .k-searchbox {
    width: 300px !important;
}

/* common */
.delete-icon {
    color: darkred;
    font-weight: bold;
}

.k-form-legend {
    font-weight: bold !important;
}

.k-form-label {
    font-size: 12px !important;
    font-weight: bold !important;
}

.k-badge-inline {
    font-family: sans-serif !important;
}
/* end of common */

.signout-link {
    font-weight: bold;
}

.grid-date-col {
    font-size: 11px !important;
    font-weight: 500 !important;
}

/* badge */
.k-badge-solid-success {
    letter-spacing: 1px;
    word-spacing: 1px;
    font-size: 11px !important;
}

.k-badge-solid-warning {
    letter-spacing: 1px;
    word-spacing: 1px;
    font-size: 11px !important;
    color: white !important;
}

.k-badge-solid-error {
    letter-spacing: 1px;
    word-spacing: 1px;
    font-size: 11px !important;
}

.k-badge-inline {
    font-family: Arial, Helvetica, sans-serif;
}

.k-badge-md {
    padding-block: 0.25rem !important;
    padding-inline: 0.75em !important;
}
/* end of badge */


/* balance / partial-payment text */
.balance-text {
    font-size: 0.75rem;
    color: #dc2626;
    font-weight: 600;
    margin-top: 2px;
}


/* ── Grid date cell ──────────────────────────────────────────────────── */
.k-grid .date-cell {
    display: flex;
    flex-direction: column;
    gap: 1px;
    white-space: normal;
    line-height: 1.0;
    padding: 12px;
}

    /* Multi-date variant: Drop / Payment / Pickup rows (CompletedLaundries) */
    .k-grid .date-cell .dt-row {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 8px;
    }

    .k-grid .date-cell .dt-l {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        font-weight: 600;
        color: #666;
    }

    .k-grid .date-cell .dt-v {
        font-variant-numeric: tabular-nums;
    }

    .k-grid .date-cell .k-icon {
        font-size: 12px;
    }

    /* Single-date variant: date + time stacked (ActiveLaundries) */
    .k-grid .date-cell .date-main {
        font-weight: 600;
        color: #1e293b;
        white-space: nowrap;
        font-size: 0.85rem;
    }

    .k-grid .date-cell .date-time {
        font-size: 0.75rem;
        color: #64748b;
        white-space: nowrap;
    }
/* ── end of grid date cell ───────────────────────────────────────────── */


/* ── Service column ──────────────────────────────────────────────────── */
.svc-col {
    vertical-align: top;
}

.svc-cell {
    display: flex;
    flex-direction: column;
    gap: 3px;
    line-height: 1.3;
}

.svc-sale-no {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: #6366f1;
    line-height: 1;
}

.svc-desc {
    white-space: normal;
    word-break: break-word;
    overflow-wrap: break-word;
    line-height: 1.45;
    color: #1e293b;
    font-size: 0.875rem;
}
/* ── end of service column ───────────────────────────────────────────── */


/* ── Payment / status line ───────────────────────────────────────────── */
.status-line {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px;
}

.payment-type {
    font-size: 0.75rem;
    color: #475569;
    display: inline-flex;
    align-items: center;
    gap: 2px;
}
/* ── end of payment / status line ───────────────────────────────────── */


/* dashboard */
.small-breakdown {
    font-size: 13px;
    color: #6c757d;
    line-height: 1.2;
    margin-top: 2px;
}

    .small-breakdown div {
        display: block;
    }
/* end of dashboard */


/* Base: bigger close button hit-area */
.mz-kendo-window .k-window-titlebar .k-window-actions .k-button {
    width: 40px;
    height: 40px;
    padding: 0;
}

    /* Make the icon itself bigger (covers classic + svg icons) */
    .mz-kendo-window .k-window-titlebar .k-window-actions .k-button .k-icon,
    .mz-kendo-window .k-window-titlebar .k-window-actions .k-button .k-svg-icon,
    .mz-kendo-window .k-window-titlebar .k-window-actions .k-button .k-button-icon {
        width: 22px;
        height: 22px;
        font-size: 22px;
    }

/* Small screens: bigger tap target */
@media (max-width: 768px) {
    .mz-kendo-window .k-window-titlebar .k-window-actions .k-button {
        width: 48px;
        height: 48px;
    }

        .mz-kendo-window .k-window-titlebar .k-window-actions .k-button .k-icon,
        .mz-kendo-window .k-window-titlebar .k-window-actions .k-button .k-svg-icon,
        .mz-kendo-window .k-window-titlebar .k-window-actions .k-button .k-button-icon {
            width: 26px;
            height: 26px;
            font-size: 26px;
        }
}


/* ============================================================
   Shared Apple-style filter bar (.rpt-filter-bar)
   Used by Reports and ActiveLaundries
   ============================================================ */
.rpt-filter-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 10px 16px;
    margin-bottom: 14px;
    flex-wrap: wrap;
}

.rpt-filter-left {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    flex: 1 1 auto;
}

.rpt-filter-right {
    flex-shrink: 0;
}

.rpt-filter-group {
    display: flex;
    align-items: center;
    gap: 7px;
}

.rpt-filter-label {
    font-size: 12px;
    font-weight: 600;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: .04em;
    white-space: nowrap;
}

/* Pill button groups inside filter bar (branches + status) */
.rpt-filter-bar .k-button-group,
.rpt-filter-right .k-button-group {
    border-radius: 22px !important;
    overflow: hidden;
    border: 1.5px solid #e5e7eb !important;
    background: #f3f4f6 !important;
    gap: 0 !important;
    padding: 3px !important;
}

.rpt-filter-bar .k-button-group .k-button,
.rpt-filter-right .k-button-group .k-button {
    border-radius: 18px !important;
    border: none !important;
    background: transparent !important;
    color: #374151 !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    padding: 5px 14px !important;
    margin: 0 !important;
    box-shadow: none !important;
    transition: background .15s, color .15s, box-shadow .15s;
}

.rpt-filter-bar .k-button-group .k-button:hover,
.rpt-filter-right .k-button-group .k-button:hover {
    background: #e0e7ff !important;
    color: #4338ca !important;
}

.rpt-filter-bar .k-button-group .k-button.k-selected,
.rpt-filter-bar .k-button-group .k-button[aria-pressed="true"],
.rpt-filter-right .k-button-group .k-button.k-selected,
.rpt-filter-right .k-button-group .k-button[aria-pressed="true"] {
    background: #1c1c1e !important;
    color: #fff !important;
    box-shadow: 0 2px 6px rgba(0,0,0,.18) !important;
}

@media (max-width: 768px) {
    .rpt-filter-bar {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
        padding: 12px;
    }

    .rpt-filter-left { justify-content: space-between; }

    .rpt-filter-right {
        display: flex;
        justify-content: flex-start;
    }
}
