<!-- Inside the <head> section of index.html -->
<style>


html{
    margin:0;
    padding:0
}

/*body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;    
    height:100vh;  
}*/

body {
    /*display: flex;*/
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: #f5f5f5; 
}

#app {

}

:root {
  --selected-color: #C60F26;
  --hover-color: #9C0000;
  --button-color: #E9E9ED;
  --button-hover-color: #D0D0D7;  
  --button-default-hover-color: #ba030b;
  --tab-button-bkg-color: #45494d;
}

#divloginspinner {
  height: 30px;
}

#loginspinner {
  border: 4px solid black;
  border-radius: 50%;
  border-top: 4px solid;
  border-top-color: var(--selected-color);
  width: 30px;
  height: 30px;
  -webkit-animation: spin 2s linear infinite; /* Safari */
  animation: spin 2s linear infinite;
  z-index: 9997;
}

#connectspinner {
  border: 8px solid black;
  border-radius: 50%;
  border-top: 8px solid;
  border-top-color: var(--selected-color);
  width: 60px;
  height: 60px;
  -webkit-animation: spin 2s linear infinite; /* Safari */
  animation: spin 2s linear infinite;
  position: fixed;
  top: 150px;
  left: calc(((100vw - 200px) / 2) + 200px - 30px);
  z-index: 9997;
}

#cfgspinner {
  border: 8px solid black;
  border-radius: 50%;
  border-top: 8px solid;
  border-top-color: var(--selected-color);
  width: 60px;
  height: 60px;
  -webkit-animation: spin 2s linear infinite; /* Safari */
  animation: spin 2s linear infinite;
  position: fixed;
  top: 150px;
  left: calc(((100vw - 200px) / 2) + 200px - 30px);
  z-index: 9997;
}

/* Safari */
@-webkit-keyframes spin {
  0% { -webkit-transform: rotate(0deg); }
  100% { -webkit-transform: rotate(360deg); }
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.login-container {
    background-color: #ffffff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 400px;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/*#loginForm {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    background-color: #3D3D3D;
    color: white;
}*/

.logo-container {
    margin-bottom: 20px;
}

.logo {
    max-width: 100%;
    height: auto;
}

.logo2 {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    max-height: 62px;
}

button[type="submit"] {
  background-color: var(--selected-color);
  color: #fff; /* Button text color */
  border: none; /* Remove default border */
  padding: 10px 20px; /* Add some padding for better visual */
  font-size: 14px; /* Adjust font size */
  cursor: pointer; /* Change cursor to pointer on hover */
  border-radius: 4px; /* Optional: Add rounded corners */
}

button[type="submit"]:hover {
  background-color: #9C0000;
}

.login-form h2 {
    margin-bottom: 20px;
    color: #333; /* dark text color for readability */
}

#username::placeholder {
    opacity: 0;
}

#password::placeholder {
    opacity: 0;
}


.input-group {
    margin-bottom: 15px;
    text-align: left;
}

.input-group label {
    display: block;
    margin-bottom: 5px;
    color: #333; /* dark text color for readability */
}

.input-group input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
}

input {
    margin: 5px;
    padding: 5px;
    height: 36px;
    background-color: none;
}

.fontAwesome {
    font-family: 'FontAwesome', 'Arial';
    //margin: 0px;
    padding: 0px;
    width: 36px;
    font-size: 24px;
}

button {
    background-color: var(--button-color);
    margin: 5px;
    height: 36px;
    padding: 10px 20px; /* Add some padding for better visual */
    font-size: 14px; /* Adjust font size */
    cursor: pointer; /* Change cursor to pointer on hover */
    border-radius: 4px; /* Optional: Add rounded corners */
    border: none;
}

button.selected {
    background-color: var(--selected-color);
    color: white;
}

button:hover {
  background-color: var(--button-hover-color);
}

button.principal {
    background-color: var(--selected-color);
    color: white;
}

button.principal:hover {
  background-color: #9C0000;
}

#btnLogin {
    width: 100%;
    margin: 0px;
    padding: 10px;
    border: none;
    border-radius: 5px;
    background-color: #152230; /* primary Dark blue color */
    color: #fff;
    font-size: 16px;
    cursor: pointer;
}

#btnLogin:hover {
    background-color: var(--button-default-hover-color);
}

.custom-checkbox2 {
    width: 20px !important;
    height: 20px;
    accent-color: var(--selected-color);
}

.top-bar {
    width: 100%;
    height: 65px;
    display: flex;
    justify-content: left;
    align-items: center;
    background-color: #000000;
    padding: 0px;
    position: fixed;
    left: 0;
}


.top-bar a {
  float: left;
  width: 120px;
  text-align: center;
  padding: 10px 0;
  transition: all 0.3s ease;
  color: white;
  font-size:14px;
  //font-weight: bold;
  height: 20px;
  text-decoration: none;
  cursor: pointer;
}

.top-bar a:hover {
  background-color: #9C0000;// #000;
}

#btnConfigTab {
    font-size: 18px;
    position: fixed;
    width: 60px;
    right: 60px;    
}

#btnCloseSession {
    font-size: 18px;
    position: fixed;
    width: 60px;
    right: 0;    
}

.icon-bar {
    width: 100%;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #3D3D3D;
    padding: 0px;
    position: fixed;
    bottom: 0;
    left: 0;
}

.icon-bar a {
  float: left;
  width: 80px;
  text-align: center;
  padding: 7px 0;
  transition: all 0.3s ease;
  color: white;
  font-size: 24px;// 36px;
  height: 26px;
  cursor: pointer;
}

.icon-bar a:hover {
  background-color: #9C0000;// #1970B5;// #000;
}



.selected {
  background-color: var(--selected-color);
}

#divSiteFrame {
    z-index: 9998;    
    background-color: #F0F0F0;
    position: fixed;
    top: 0px;
    left: 0px;
    width: 100vw;
    height: 100vh;
}

#siteFrame {
    width: 100%;
    height: 100%;
    border: none;
}

#mainPage {
    //text-align: center;    
}

#homeTab {
    width: 100vw; 
    height: calc(100vh - 65px);
    background-color: #F0F0F0;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap; /* Allow items to wrap */
    gap: 0px; /* Add some spacing between items */
    justify-content: space-around;
    position: fixed;
    top: 65px;
    border-top: 2px solid var(--selected-color);
    overflow-x: hidden; 
    overflow-y: auto;
}


#configTab {
    width: 100vw; 
    height: calc(100vh - 65px);
    background-color: #F0F0F0;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap; /* Allow items to wrap */
    gap: 0px; /* Add some spacing between items */
    justify-content: space-around;
    position: fixed;
    top: 65px;
    border-top: 2px solid var(--selected-color);
    overflow-x: hidden; 
    overflow-y: auto;
}


.configTabs {
  //border: 1px solid #ccc;
  background-color: #1D1D1D;
  padding: 0px 0px;
  width: 200px;
  height: calc(100vh - 65px);
  position: fixed;
  top: 65px;
  border-right: 2px solid var(--selected-color);
}

.configTabs a {
  float: left;
  width: 180px;
  text-align: left;
  padding: 10px 10px;
  transition: all 0.3s ease;
  color: white;
  font-size:14px;
  //font-weight: bold;
  height: 20px;
  text-decoration: none;
  cursor: pointer;
}

.configTabs a:hover {
  background-color: #9C0000;// #000;
}

.cfgTabContent {
  padding: 0px 10px;
  width: calc(100vw - 222px);   // 100vw - left - (padding*2)
  border-left: none;
  //height: calc(100vh - 42px);
  position: relative;//fixed;
  top: 0px;// 42px;
  left: 202px;
  background-color: #F0F0F0;// #0D0D0D;
  //color: white;
}

.fake-link {
  text-decoration: underline;
  cursor: pointer;
}

table {
  //font-family: arial, sans-serif;
  border-collapse: collapse;
  width: calc(100% - 10px);
  margin: 10px 5px;
}

thead {
    background-color: #bbbbbb;
    font-weight: normal; /* Set font weight to normal for thead */
    color: black;
}

td, th {
  border: 1px solid #dddddd;
  text-align: left;
  padding: 8px;
}

tr:nth-child(even) {
  background-color: #dddddd;
}

#dlgCfgUser label {
    display: inline-block; /* Make labels display in a line */
    width: 150px; /* Adjust width as needed */
}

#dlgCfgSite label {
    display: inline-block; /* Make labels display in a line */
    width: 150px; /* Adjust width as needed */
}

#dlgCfgSite input {
    width: 300px; /* Adjust width as needed */
}

#divCfgNetwork label {
    display: inline-block; /* Make labels display in a line */
    width: 150px; /* Adjust width as needed */
}

</style>
