﻿@import "nav.css";
@import "icon.css";


@import "order.css";


.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5); /* полупрозрачный черный */

    display: flex;
    flex-direction: column;
/*    gap: 20px;*/
    justify-content: center;
    align-items: center;

    z-index: 9999;
}

body{
    margin-top: 0px;
}

table {
    border-collapse: collapse;
    font-family: Arial, sans-serif;
    font-size: 13px;
}

td {
    border: 1px solid #e0e0e0;   /* тонкие серые линии */
    padding: 4px 8px;            /* компактные отступы */
    height: 24px;                /* высота строки как в Sheets */
    /*  min-width: 80px;*/
    vertical-align: middle;
    background: #fff;
    color: #202124;
}

/* hover как в Google Sheets */
td:hover {
    background-color: #f8f9fa;
}

/* выделенная ячейка */
td.selected {
    outline: 2px solid #1a73e8;  /* фирменный синий */
    outline-offset: -2px;
}

/* редактирование (input внутри ячейки) */
td input {
    width: 100%;
    border: none;
    outline: none;
    font: inherit;
    background: transparent;
}

td select {
    width: 100%;
    border: none;
    outline: none;
    font: inherit;
    background: transparent;
}


th {
    border: 1px solid #e0e0e0;
    background: #f1f3f4;
    font-weight: 500;
    text-align: center;
}

.table-wrapper {
    overflow: auto;
    max-height: 400px;
}

.rollers{
    text-align: right
}
.boxes{
    text-align: right
}
.pallets{
    text-align: right
}


.dev td{
    /*        border: 1px black solid;*/
}

/*td{
   border: 1px solid black;
}*/
.changed{
    color:blue;
}

/*th{
    background: #eff
}*/

.product th{
    background: #efe
}



/*.thermopaper th{
    background: #fee
}*/
.thermopaper tr.thermopaper:hover{
    background: #eee
}
.thermopaper_1 tr.thermopaper:hover{
    background: #eee
}
.thermopaper_2 tr.thermopaper:hover{
    background: #eee
}
.thermopaper_1 th{
    background: #dcc
}
.thermopaper_2 th{
    background: #baa
}

.inventory th{
    background: #eef
}
.inventory tr.inventory:hover{
    background: #eee
}
.inventory_1 tr.inventory:hover{
    background: #eee
}
.inventory_2 tr.inventory:hover{
    background: #eee
}
.inventory_1 th{
    background: #ccd
}
.inventory_2 th{
    background: #aab
}

/*.cashtape th{
    background: #efe
}*/
.cashtape tr.cashtape:hover{
    background: #eee
}
.cashtape_1 tr.cashtape:hover{
    background: #eee
}
.cashtape_2 tr.cashtape:hover{
    background: #eee
}
.cashtape_1 th{
    background: #cdc
}
.cashtape_2 th{
    background: #aba
}

[data-thermopaper_debit] tr:hover{
    background: #eee
}
[data-inventory_debit] tr:hover{
    background: #eee
}
[data-cashtape_debit] tr:hover{
    background: #eee
}




[data-entry] th{
    /*    background: #efe*/
}


h3{
    margin: 10px;
    color: #006;
}
h3 a{
    text-decoration: none;
    background: #eee;
    margin-left: 0px;
    margin-right: 10px;
    padding: 0px 0px;
    /*    font-size: 40px;
        position: absolute;
        right: 60px;
        top: 50px;*/
}
h4{
    margin: 0;
    background: #eef;
    padding: 5px 10px;

}
h4 a{
    text-decoration: none;
    background: #eef;
    color: black;
    margin-left: 0px;
    margin-right: 10px;
    padding: 0px 5px;
}
h4 a:hover{
    background: #E64A19;
    color: white;

}
form.entry{
    background: #eee;
}
form.entry input[name="m"]{
    text-align: right;
}
form.entry input[name="L"]{
    text-align: right;
}
form.entry input[name="c"]{
    text-align: right;
}

table.list{
    border-collapse: collapse;
}
.list td{
    border: 1px gray solid;
}
.list tr:hover{
    background: #eee;
}
td.right{
    text-align: right;
}
td.center{
    text-align: center;
}
.list th{
    border: 1px gray solid;
    background-color: #cef;
}
table.microstop_material_list{
    border-collapse: collapse;
}
.microstop_material_list th{
    border: 1px grey solid;
    background-color: #dff;
    color: #449;
}
.microstop_material_list td{
    border: 1px gray solid;
}
.microstop_material_list .id{
    width: 50px;
}
.microstop_material_list [name="id"]{
    width: 40px;
}
.microstop_material_list [name="format"]{
    width: 50px;
}
.microstop_material_list [name="code"]{
    width: 650px;
}

.plus_green{
    padding: 0 10px;
    color: gray;
    cursor: pointer;
    font-size: 18px;
    text-align: center;
}
.plus_green:hover{
    color: #0c0;
    /*    background: white;*/
}
.plus_green:active{
    /*    background: #0f0;*/
    color: #0f0;
}
.plus_green:after {
    content:  '\271a';
}



tr.list:hover{
    background: #eee;
}
.pointer{
    cursor: pointer;
}
.textv{
    width: 500px;
}
input.c{
    margin-left: 150px;
}

table.grouplist{
    border-collapse: collapse;
}
.grouplist td{
    border: 1px gray solid;
    padding: 0;
    /*    padding-left: 40px;*/
}
.grouplist th{
    border: 1px gray solid;
    background-color: #cef;
}
.grouplist select{
    border: none;
}
.grouplist input{
    /*    border: 1px;
        margin: 0;
        padding: 0;*/
}
tr.group0:hover{
    background: #eef;
}
tr.group {
    padding-left: 0px;
    background: #efe;
    font-weight: normal;
}
tr.item{
    display: none;
}
tr.item td:nth-of-type(2){
    padding-left: 40px;
}
tr.item:hover{
    background: #eef;
}
tr.group0{
    background: #f2f2f2;
}

tr.group0 td:first-of-type:hover{
    color: blue;
}
tr.group1{
    background: #f7f7f7;
}
tr.group1:hover{
    background: #eef;
}

tr.group1 td:first-of-type:hover{
    color: blue;
}
tr.group2:hover{
    background: #eef;
}
.divide{
    padding: 0 10px;
    color: gray;
    cursor: pointer;
    font-size: 18px;
    text-align: center;
}
.divide:hover{
    color: #00c;
    background: white;
}
.divide:active{
    /*    background: #0f0;*/
    color: #00f;
}
.divide:after {
    content:  '\296e';
}
ul.prompt{
    list-style: none;
    background: white;
    padding: 0;
    margin: 0;
    border: 1px solid grey;
    color: gray;
}
.prompt li:hover {
    background: #ddd;
    border: 1px solid grey;
    color: black;
}
.edit{
    padding: 0 10px;
    color: gray;
    cursor: pointer;
    /*    font-size: 18px;*/
    text-align: center;
}
.edit:hover{
    color: #00c;
    /*    background: white;*/
}
.edit:active{
    /*    background: #0f0;*/
    color: #00f;
}
.edit:after {
    content:  '\270E';
}
.divide{
    padding: 0 10px;
    color: gray;
    cursor: pointer;
    /*    font-size: 18px;*/
    text-align: center;
}
.divide:hover{
    color: #00c;
    /*    background: white;*/
}
.divide:active{
    /*    background: #0f0;*/
    color: #00f;
}
.divide:after {
    content:  '\21C6';
    /*    content:  '\21AD\21B9\21C6\21CE\21D4\21FC\21F9\2904\2943';*/
}

.results{
    border: 4px solid #ccf;
    margin: 5px 0;
    padding: 5px;
}
.sort{
    padding: 0 ;
    color: gray;
    cursor: pointer;
    /*    font-size: 18px;*/
    text-align: center;
}
.sort:hover{
    color: #00c;
    /*    background: white;*/
}
.sort:active{
    /*    background: #0f0;*/
    color: #00f;
}
.sort:after {
    content:  '\21F5';
}
.cancel{
    padding: 0 10px;
    color: gray;
    cursor: pointer;
    /*    font-size: 18px;*/
}
.cancel:after{
    content: "\2716";
}
.cancel:hover{
    color: #c00;

}
.cancel:active{
    color: #f00;
}


