html, body 
{
    margin: 0;
    padding: 0;
    background: #080808;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 100%;
    color: #d9d9d9;
}

@font-face 
{
    font-family: MTCVHG;
    src: url("MTCORSVA.TTF");
}

h2 
{
    font-family: MTCVHG;
    font-size: 175%;
    color: #ffc800;
}

.vsip-shell 
{
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: #080808;
}

.vsip-main 
{
    flex: 1;
    display: flex;
    min-height: 0;
}

.vsip-sidebar 
{
    width: 14%;
    background: #262626;
}

.vsip-content 
{
    flex: 1;
    background: #080808;
    padding: 10px;
}

/****************************************************************/
/* Header
/****************************************************************/

.vsip-header 
{
    background: #ff8000;
    display: flex;
    align-items: center;
    justify-content: space-between
}

.vsip-title 
{
    font-family: MTCVHG;
    font-size: 275%;
    color: white;
    padding: 7PX;
    text-shadow: 2px 2px 4px #000;
}

.linklogo 
{
    color: #ffc800;
    text-decoration: none;
}

.linklogo a:link 
{
    color: #ffc800;
}

.linklogo a:visited 
{
    color: #ffc800;
}

.logout-control 
{
    padding-right: 15px;
    color: white;
    font-size: 90%;
}

.logout-separator 
{
    margin: 0 8px;
}

.logout-form 
{
    display: inline;
}

.logout-button 
{
    padding: 6px 12px;
    color: white;
    background: #330000;
    border: 0;
    cursor: pointer;
}

.logout-button:hover 
{
    background: #550000;
}

/****************************************************************/
/* Navigation 
/****************************************************************/

.vsip-menu 
{
    display: flex;
    flex-direction: column;
}

.vsip-menu-item 
{
    color: #d9d9d9;
    text-decoration: none;
    padding: 8px 10px;
    font-size: 100%;
}

.vsip-menu-item:hover 
{
    background: #404040;
    color: #d9d9d9;
}

.vsip-menu-item.active 
{
    background: #111;
    color: #ff8a00;
    font-weight: bold;
}

/****************************************************************/
/* Navigation - Sections
/****************************************************************/

.vsip-menu-section 
{
    margin: 12px 10px 4px 10px;
    padding-bottom: 6px;
    border-bottom: 1px solid #FFD700;
}

.vsip-menu-section-title 
{
    color: #d9d9d9;
    font-size: 85%;
    font-weight: bold;
}

/****************************************************************/
/* Footer
/****************************************************************/

.vsip-footer 
{
    background: #330000;
    color: white;
    text-align: center;
}

.footercopyright
{
    display: inline-block;
    margin-top: 5px;
    padding: 5px;
}

/****************************************************************/
/* Login
/****************************************************************/

.login-main 
{
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    background: #080808;
    padding-top: 70px;
}

.login-box 
{
    width: 580px;
    text-align: center;
}

.login-box h2 
{
    margin-top: 0;
    margin-bottom: 25px;
}

.login-panel {
    background: #262626;
    border: 1px solid #777;
    padding: 25px 35px 30px 35px;
}

.login-panel h3 
{
    margin-top: 0;
    margin-bottom: 25px;
    color: #f2f2f2;
}

.login-field 
{
    display: grid;
    grid-template-columns: 130px 1fr;
    align-items: center;
    margin-bottom: 12px;
    text-align: left;
}

.login-field label 
{
    color: #d9d9d9;
}

.login-field input 
{
    padding: 8px 10px;
    color: #111;
    background: #f2f2f2;
    border: 1px solid #777;
}

.login-show-password 
{
    margin: 12px 0 22px 130px;
    text-align: left;
    font-size: 85%;
}

.login-button 
{
    width: 290px;
    padding: 9px 18px;
    color: white;
    background: #b85a00;
    border: 0;
    cursor: pointer;
}

.login-button:hover 
{
    background: #d46a00;
}

.login-error 
{
    margin-bottom: 20px;
    color: #ff9a38;
}

/****************************************************************/
/*  CRUD - CONTROL PANEL
/****************************************************************/

.crud-control-panel 
{
    margin: 20px 0 15px 0;
}

.crud-toolbar 
{
    margin: 0;
}

.crud-filter 
{
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 15px 0;
}

.crud-filter select 
{
    width: 300px;
    padding: 6px 8px;
}

/****************************************************************/
/* CRUD - BUTTONS
/****************************************************************/

.crud-button 
{
    background-color: #004b8d;
    color: #ffffff;
    border: none;
    padding: 10px 16px;
    font-size: 14px;
    cursor: pointer;
}

.crud-button:hover 
{
    background-color: #0061b5;
}

/****************************************************************/
/*   CRUD - FORM
/****************************************************************/

.crud-form-panel 
{
    background-color: #333333;
    border: 1px solid #555555;
    padding: 16px;
    margin-top: 20px;
    max-width: 80%;
}

.crud-details-title 
{
    margin-top: 25px;
    margin-bottom: 18px;
    color: #f2f2f2;
}

.crud-field 
{
    display: flex;
    align-items: center;
    margin-bottom: 12px;
}

.crud-field label 
{
    width: 250px;
    margin-right: 15px;
    text-align: right;
    color: #ffffff;
}

.crud-field input[type="text"],
.crud-field input[type="date"],
.crud-field input[type="time"],
.crud-field input[type="number"],
.crud-field select,
.crud-field textarea 
{
    background-color: #ffffff;
    color: #000000;
    border: 1px solid #aaaaaa;
    padding: 5px 8px;
    box-sizing: border-box;
}

.crud-field input[type="checkbox"] 
{
    margin: 0;
}

.crud-form-buttons 
{
    display: flex;
    gap: 12px;
    margin-top: 26px;
}

input[type=checkbox] 
{
    width: 18px;
    height: 18px;
    vertical-align: middle;
}

input[type=radio] 
{
    width: 20px;
    height: 20px;
    vertical-align: middle;
    cursor: pointer;
}

/****************************************************************/
/*   CRUD - VALIDATION
/****************************************************************/

.errorlabel 
{
    color: #ff6666;
    font-size: 13px;
    margin-top: 4px;
}

.crud-message 
{
    color: #ff6666;
    margin-top: 12px;
    margin-bottom: 12px;
}

/****************************************************************/
/*   CRUD - GRID
/****************************************************************/

.vsip-grid-container 
{
    width: 100%;
    overflow-x: auto;
}

.vsip-grid 
{
    width: auto;
    font-size: 90%;
    table-layout: fixed;
    border-collapse: collapse;
    margin-top: 12px;
    color: #ffffff;
}

.vsip-grid tr 
{
    line-height: 0.45cm;
}

.vsip-grid th 
{
    background-color: #ff0000;
    color: #ffffff;
    border: 1px solid #dddddd;
    padding: 7px 10px;
    text-align: left;
    font-weight: bold;
    white-space: nowrap;
    overflow: hidden;
}

.vsip-grid td 
{
    background-color: #202020;
    border: 1px solid #555555;
    padding: 7px 10px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.vsip-grid tbody tr:nth-child(odd) td 
{
    background-color: #353535;
}

.vsip-grid tbody tr:hover td 
{
    background-color: #444444;
}

/****************************************************************/
/*   GRID COMMANDS
/****************************************************************/

.grid-command 
{
    background: none;
    border: none;
    padding: 0;
    color: #ffff00;
    text-decoration: underline;
    cursor: pointer;
    font: inherit;
}

.grid-command:hover 
{
    color: #ffffff;
}

/****************************************************************/
/*   GRID TOTAL
/****************************************************************/

.grid-total 
{
    margin-top: 28px;
    font-weight: bold;
    color: #ffffff;
}

/****************************************************************/
/*   CONFIRM DIALOG
/****************************************************************/

.form-dialog-overlay 
{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.70);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.form-dialog 
{
    width: 440px;
    background-color: #181818;
    border: 1px solid #444444;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.75);
}

.form-dialog-header 
{
    padding: 14px 18px;
    background-color: #2b2b2b;
    color: #ff8a00;
    font-size: 18px;
    font-weight: 600;
}

.form-dialog-content 
{
    padding: 28px 22px;
    color: #f2f2f2;
    font-size: 16px;
}

.form-dialog-buttons 
{
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    padding: 14px 18px;
    border-top: 1px solid #333333;
}

/****************************************************************/
/*   ANALYTICS - LAYOUT CONTAINMENT
/****************************************************************/

.vsip-sidebar 
{
    flex-shrink: 0;
}

.vsip-content 
{
    min-width: 0;
}

/****************************************************************/
/*   ANALYTICS - ACTIVITY
/****************************************************************/

.analytics-section 
{
    margin-top: 25px;
    margin-bottom: 35px;
    max-width: 100%;
}

.analytics-section h3 
{
    margin-bottom: 12px;
    color: #f2f2f2;
}

.analytics-grid 
{
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
}

.analytics-grid .vsip-grid 
{
    table-layout: fixed;
}

.analytics-grid .vsip-grid th 
{
    white-space: nowrap;
    overflow: hidden;
}

.analytics-grid .vsip-grid td 
{
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/****************************************************************/
/*   ANALYTICS - SCROLLABLE RAW GRID
/****************************************************************/

.analytics-grid-scroll 
{
    width: 100%;
    max-width: 100%;
    height: 620px;
    overflow-x: auto;
    overflow-y: scroll;
}

.analytics-grid-scroll .vsip-grid 
{
    table-layout: fixed;
}

.analytics-grid-scroll .vsip-grid thead th 
{
    position: sticky;
    top: 0;
    z-index: 2;
}

/****************************************************************/
/*   ANALYTICS - DETAILS
/****************************************************************/

.analytics-detail-value 
{
    display: inline-block;
    max-width: 70%;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
}