h1 {
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "segoe ui", roboto, oxygen, ubuntu, cantarell, "fira sans", "droid sans", "helvetica neue", Arial, sans-serif;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
body {
    background-color: #435165;
}
.login {
    width: 400px;
    background-color: #ffffff;
    box-shadow: 0 0 9px 0 rgba(0, 0, 0, 0.3);
    margin: 100px auto;
}
.login h1 {
    text-align: center;
    color: #5b6574;
    font-size: 24px;
    padding: 20px 0 20px 0;
    border-bottom: 1px solid #dee0e4;
}
.login form {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding-top: 20px;
}
.login form label {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    background-color: #3274d6;
    color: #ffffff;
}
.login form input[type="password"], .login form input[type="text"] {
    width: 310px;
    height: 50px;
    border: 1px solid #dee0e4;
    margin-bottom: 20px;
    padding: 0 15px;
}
.login form input[type="submit"] {
    width: 100%;
    padding: 15px;
    margin-top: 20px;
    background-color: #3274d6;
    border: 0;
    cursor: pointer;
    font-weight: bold;
    color: #ffffff;
    transition: background-color 0.2s;
}
.login form input[type="submit"]:hover {
    background-color: #2868c7;
    transition: background-color 0.2s;
}

body {
    font-family:  Verdana, Arial, sans-serif;
    background-color: #ffffff;
    color: #404040;
    font-size: 10pt;
    margin: 0;
}

.Sheader {
    font-size: 15pt;
    font-weight: bold;
    font-family: 'Comic Sans MS';
    margin-right: 30px;
    margin-left: 16px;
}

.Sstrip {
    z-index: 2;
    text-align: left;
    height: 26px;
    width: 100%;
    line-height: 24px;
    padding: 0px;
    background-color: #e0e0e0;
    margin: 16px;
    margin-bottom: 0px;
}

.prompt {
    float: left;
    font-size: 10pt;
    margin-top: 2px;
}
.Shelp  {
    float: left;
    font-size: 9pt;
    margin-top: 2px;
    color: #408040;
}
.Sbut   {
    float: left;
    font-size: 11pt;
    margin-top: 2px;
    color: #a04040;
    font-weight: bold;
    text-decoration: underline;
    cursor: pointer;
    margin-left: 30px;
}

th {
    font-weight: bold;
    text-align: left;
    padding-right: 8px;
    /*font-size: 10px;*/
}

td {
    text-align: left;
    padding-right: 8px;
    width: auto;
    /*font-size: 11px;*/
}

a {
    background-color: #ffffd0;
    color: #404040;
    text-decoration: none;
    cursor: pointer;
}

a:hover {
    text-decoration: underline;
}

.right_button {
    float: right;
    cursor: pointer;
    font-size: 10pt;
    margin-right: 16px;
    color: #ff00ff;
}

.right_button:hover {
    text-decoration: underline;
}

.label, .ilabel, .elabel, .mlabel {
    text-align: right;
    font-size: 9pt;
    font-weight: bold;
    margin-right: 10px;
    margin-top: 6px;
}

.elabel {
    position: absolute;
    left: 40px;
    width: 110px;
}

.mlabel {
    position: absolute;
    left: 40px;
    width: 210px;
}

.efield, .ifield {
    position: absolute;
    margin-top: 4px;
}

.label {
    width: 150px;
    float: left;
}

.ilabel {
    margin-left: 20px;
    float: left;
}

#login-message  {
    float: left;
    font-size: 9pt;
    margin-top: 2px;
    color: #c04040;
}

#message {
    margin-left: 30px;
    font-size: 10pt;
    font-weight: bold;
    margin-top: 4px;
}

.subhead {
    margin-left: 0px;
    font-size: 10pt;
    font-weight: bold;
    margin-bottom: 4px;
}

.explain {
    margin-left: 0px;
    font-size: 10pt;
    font-style: italic;
    font-weight: normal;
    margin-bottom: 4px;
}

.item, .fitem, .nitem {
    float: left;
    text-align: left;
    font-size: 9pt;
    margin-top: 6px;
    background-color: #ffffd0;
    border: 1px solid #c0c0c0;
    padding-left: 2px;
    border-radius: 5px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
}

.item {
    width: 750px;
    cursor: pointer;
    background-color: #ffffd0;
}

.nitem {
    width: 750px;
    cursor: not-allowed;
    background-color: #f4f4f4;
}

.fitem {
    padding-right: 2px;
    cursor: pointer;
    background-color: #ffffd0;
}

.s_backer {
    font-size: 11pt;
    font-weight: bold;
    cursor: pointer;
}

.flabel {
    float: left;
    width: 40px;
    margin-left: 5px;
    margin-right: 5px;
    text-align: center;
    margin-top: 1px;
    background-color: #ffffd0;
    border: 1px solid #c0c0c0;
    border-radius: 5px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
}

/*  boxes and draggable boxes */

.fixbox, .dragbox, .dragbox_d, .Sstrip, .window {
    font-size: 9pt;
    background-color: #f0f0f0;
    border: 2px solid #b0b0b0;
    border-radius: 13px;
    -moz-border-radius: 13px;
    -webkit-border-radius: 13px;
    /* would you believe this stuff ????  
       found at http://robertnyman.com/2010/03/16/drop-shadow-with-css-for-all-web-browsers/*/
    box-shadow: 3px 3px 3px #CCCCCC;
    -moz-box-shadow: 3px 3px 3px #CCCCCC;
    -webkit-box-shadow: 3px 3px 3px #CCCCCC;
    /* For IE 8 */
    -ms-filter: "progid:DXImageTransform.Microsoft.Shadow(Strength=4, Direction=135, Color=#CCCCCC)";
    /* For IE 5.5 - 7 */
    filter: progid:DXImageTransform.Microsoft.Shadow(Strength=4, Direction=135, Color=#CCCCCC);

}

.fixbox, .dragbox, .dragbox_d {
    z-index: 99;
    padding: 12px;
}

.dragbox, .dragbox_d {
    position: absolute;
    left: 50%;
    top: 50%;
}

.dragbox_d {
    background-color: #e0e0e0;
    cursor: move;
    opacity: 0.7;
    filter: alpha(opacity=70)
}

.dragbox h1, .dragbox_d h1, .fixbox h1 {
    font-size: 10pt;
}
.Sinput {
    font-size: 10pt;
    font-family:  Arial, sans-serif;
}

/*   shade   */

#shade {
    width: 100%;
    height: 100%;
    background-color: #c0c0c8;
    opacity: 0.6;
    filter: alpha(opacity=60);
    position: absolute;
    top: 0px;
    left: 0px;
    z-index: 10;
}

/* buttons */

.buttons {
    height: 24px;
    line-height: 21px;
    width: 100px;
    font-size: 9pt;
    font-weight: bold;
    cursor: pointer;
    text-decoration: none;
    text-align: center;
    color: #606060;
    margin-top: 2px;
    background-image: url("../button1.png");
}

.buttons:hover  {
    color: #400000;
}

/* button labels (shortcuts)  */

.blabs {
    height: 14px;
    line-height: 14px;
    width: 100px;
    font-size: 7pt;
    font-weight: normal;
    text-decoration: none;
    text-align: center;
    color: #803030;
    margin-top: 2px;
    display: inline;
}

/*   input fields  */

#bill_input {
    font-weight: bold;
    width: 24px;
    height: 10px;
}

#crew_input {
    font-weight: bold;
    width: 24px;
    height: 10px;
}

input, textarea, select {
    color: black;
    font-family: Verdana, Arial, Helvetica, Geneva, sans-serif;   /* textarea doesn't inherit otherwise */
    font-size: 10pt;
    background-color: #ffffd0;
    border: 1px solid #a0a0a0;
    /*	font-weight: bold; */
    border-radius: 5px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    max-width: 100%;
}

input:focus, textarea:focus, select:focus {
    background-color: #ffff80;
    border: 1px solid #808080;
}


#loading_spinner {
    display:none;
}
.center {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 50%;
}

.buttons {
    height: 24px;
    line-height: 21px;
    width: 100px;
    font-size: 9pt;
    font-weight: bold;
    cursor: pointer;
    text-decoration: none;
    text-align: center;
    color: #606060;
    margin-top: 2px;
    background-image: url("/importer_old/button1.png");
}

.column {
    float: left;
}

.left {
    width: 25%;
}

.right {
    width: 75%;
}

.row:after {
    content: "";
    display: table;
    clear: both;
}

.upload-container {
    background: #fff;
    padding: 20px 30px;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    width: 740px;
}

.drop-zone {
    width: 100%;
    height: 180px;
    border: 3px dashed #888;
    border-radius: 8px;
    background: #fafafa;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #555;
    font-size: 16px;
    transition: all 0.3s ease;
    cursor: pointer;
}
.drop-zone:hover {
    background: #f0faff;
    border-color: #007bff;
}
.drop-zone.dragover {
    background: #e8f4ff;
    border-color: #2196f3;
    color: #000;
}

.controls {
    margin-top: 20px;
}

.upload_button {
    width: 100%;
    padding: 10px;
    margin-top: 8px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 15px;
}

.upload_button {
    background: #2196f3;
    color: white;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.2s;
}

.upload_button:hover {
    background: #1976d2;
}

#status {
    margin-top: 10px;
    font-size: 14px;
    color: #333;
    text-align: center;
}

label {
    font-size: 14px;
    color: #333;
}

.date-selectors {
    display:inline-flex;
    justify-content: space-between;
    gap: 6px;
}

.date-selectors select {
    flex: 1;
}

select#year {
    max-height: 200px;
    overflow-y: auto;
}

.progress-bar-container {
    width: 100%;
    height: 8px;
    background: #eee;
    border-radius: 4px;
    overflow: hidden;
    margin-top: 10px;
    display: none;
}
.progress-bar {
    height: 100%;
    width: 0;
    background: #2196f3;
    transition: width 0.3s;
}
