@keyframes spin {
    0% {
        transform: rotate(0deg)
    }

    to {
        transform: rotate(360deg)
    }
}

body {
    background-color: #000;
    color: #fff;
    font-family: "Quicksand",sans-serif
}

h1,h2 {
    font-weight: 300
}

.logout-btn,button,input[type=button],input[type=submit] {
    background-color: #444;
    color: #fff;
    border: 0;
    padding: 10px 20px;
    margin: 5px;
    cursor: pointer;
    font-family: "Quicksand",sans-serif;
    border-radius: 5px;
    transition: background-color .3s ease;
    text-decoration: none
}

.logout-btn:hover,button:hover,input[type=button]:hover,input[type=submit]:hover {
    background-color: #666
}

input[type=password],input[type=text] {
    background-color: #222;
    color: #fff;
    border: 1px solid #444;
    padding: 10px;
    margin: 5px;
    font-family: "Quicksand",sans-serif;
    border-radius: 5px;
    box-sizing: border-box;
    width: 300px
}

input[type=password]:focus,input[type=text]:focus {
    border-color: #666;
    outline: 0
}

.form-inline {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 600px;
    margin-bottom: 20px
}

.form-group {
    align-items: center;
    margin-bottom: 10px
}

.form-group label {
    flex: 1
}

.form-group input {
    flex: 2
}

.form-group,.manage-container {
    display: flex
}

.left-panel {
    width: 15%;
    padding: 10px
}

.right-panel {
    width: 85%;
    padding: 10px
}

ul#installationList {
    list-style-type: none;
    padding: 0
}

ul#installationList li {
    padding: 5px;
    cursor: pointer
}

ul#installationList li:hover {
    background-color: #333
}

.tap-actions {
    display: flex;
    gap: 10px
}

.login-page {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh
}

.login-container {
    background-color: #333;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px 0 rgba(0,0,0,.5);
    text-align: left
}

.login-container h2 {
    margin-bottom: 20px
}

.logout-btn-container {
    text-align: right;
    margin-right: 10px;
    margin-top: 10px;
    padding-top: 10px
}

.center-button,.chart-table .chart-container {
    display: flex;
    justify-content: center
}

.chart-table {
    width: 100%;
    border-collapse: collapse
}

.chart-table td,.chart-table th {
    text-align: center;
    padding: 10px;
    border: 1px solid #ccc
}

.chart-table .chart-container {
    width: 100%;
    height: 100%;
    align-items: center
}

.chart-table .chart-container canvas {
    max-width: 100%;
    max-height: 100%
}

.spinner {
    border: 16px solid #f3f3f3;
    border-top: 16px solid #007bff;
    border-radius: 50%;
    width: 100px;
    height: 100px;
    animation: spin 2s linear infinite;
    margin: 20px auto
}

.loader {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,.6);
    z-index: 9999;
    text-align: center;
    padding-top: 20%;
    font-size: 24px
}

.tab {
    cursor: pointer;
    padding: 5px 20px;
    margin: 10px 5px;
    border: none;
    display: inline-block;
    color: white;
	font-weight: 300;
	font-size: 1.5em;
    }

.tab.active {
    border-bottom: 2px solid white;
    }

.content {
    display: none;
}

.content.active {
    display: block;
}

th.sortable {
    cursor: pointer;
}