﻿/* ==========================================================
   MTD.css – widget-specific rules only
   ----------------------------------------------------------
   • Leverages Orders.css for shared scaffolding
   • Keeps the “Diff” label alignment and MTD company selector
   ==========================================================*/

/* slight spacer under title */
#mtdContent {
    margin-top: .5rem;
}

/* ----- right-align + border-less first cell on diff rows ----- */
#mtdTable tr.m-all-diff > td:first-child,
#mtdTable tr.m-all-diffpct > td:first-child,
#mtdTable tr.m-single-diff > td:first-child,
#mtdTable tr.m-single-diffpct > td:first-child {
    text-align: right;
    border: none;
}

/* ----- enhanced company <select> ----- */
#mtdCompany {
    display: block;
    width: auto; /* was 100% – allow room for button */
    max-width: 120px;
    margin-block: .75rem;
    padding: .5rem .75rem;
    font-size: 1rem;
    line-height: 1.5;
    border: 1px solid #ced4da;
    border-radius: .375rem;
    background: #fff;
    box-shadow: inset 0 1px 2px rgba(0,0,0,.075);
    transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}

#mtdCompany:focus {
    border-color: #86b7fe;
    box-shadow: inset 0 1px 2px rgba(0,0,0,.075), 0 0 0 .2rem rgba(13,110,253,.25);
    outline: none;
}

/* larger touch target on mobile */
@media (max-width:600px) {
    #mtdCompany {
        font-size: 1.125rem;
        padding: .75rem 1rem;
        max-width: 100%;
    }
}