﻿/* 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: bold;
}
/* 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; /* Adjust letter spacing */
    word-spacing: 1px; /* Optional: adjust word spacing */
    font-size: 11px !important;
}

.k-badge-solid-warning {
    letter-spacing: 1px; /* Adjust letter spacing */
    word-spacing: 1px; /* Optional: adjust word spacing */
    font-size: 11px !important;
    color: white !important;
}

.k-badge-solid-error {
    letter-spacing: 1px; /* Adjust letter spacing */
    word-spacing: 1px; /* Optional: adjust word spacing */
    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-text {
    color: red;
    font-weight: 500;
}

/* grid with date */
/* Put in your page stylesheet */
.k-grid .date-cell {
    white-space: normal;
    line-height: 1.0;
    /* padding-top: 4px;
                    padding-bottom: 4px; */
    padding: 12px;
}

    .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; /* cleaner column alignment */
    }

    .k-grid .date-cell .k-icon {
        font-size: 12px;
    }
/* end of grid with date styles*/

/* service column */
.svc-cell {
    display: flex;
    align-items: center;
    gap: 6px; /* space between SaleNo and description */
    line-height: 1.3;
    white-space: nowrap; /* keep on one line; remove if you want wrapping */
}

/* Compact, formal badge */
.svc-sale-no {
    display: inline-flex;
    align-items: center;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.02em;
    padding: 2px 10px;
    border-radius: 4px;
    border: 1px solid #d1d5db;
    background-color: #f9fafb;
    color: #111827;
}

/* Description right after the badge */
.svc-desc {
    font-size: 0.82rem;
    color: #4b5563;
}
/* end of service column */


/* dashboard */
.small-breakdown {
    font-size: 13px;
    color: #6c757d;
    line-height: 1.2;
    margin-top: 2px;
}

    .small-breakdown div {
        display: block;
    }
/* end of dashboard */
