.l-title {
    border-bottom: 1px solid #e9e9e9;
    height: 66px;
    padding: 10px 15px;
}

.l-title .l-title-label {
    position: relative;
    top: 50%;
    transform: translateY(-50%);
}

.l-title .l-title-label label {
    font-size: 18px;
    font-weight: 500;
}

/** ====== style block ====== **/
.block {
    padding: 20px 15px;
    border-bottom: 1px solid #e9e9e9;
    margin: 5px 0;
}

.block .block-header {
    margin-bottom: 20px;
}

.block .block-header .block-title label {
    font-size: 16px;
    font-weight: 500;
}
.block .block-bottom {
    margin-top: 10px;
}
.alert-block {
    border-bottom: none;
}
.alert-block .alert {
    padding: 5px 10px;
    background: #04aa6d;
    color: #fff;
    border-radius: 2px;
}
.alert-block .alert-danger {
    background: #f44336;
}
/** ====== end style block ===== **/

/** ====== style table ====== **/
.table-sample {
    font-family: Arial, Helvetica, sans-serif;
    border-collapse: collapse;
    width: 100%;
    border-spacing: 0;
}

.table-sample td,
.table-sample th {
    border: 1px solid #ddd;
    padding: 8px;
}

.table-sample tr:nth-child(even) {
    background-color: #f2f2f2;
}

.table-sample tr:hover {
    background-color: #ddd;
}

.table-sample thead th {
    position: sticky;
    top: -1px;
    z-index: 1;
    background-color: #4a4a4a;
}
.table-sample th {
    padding-top: 12px;
    padding-bottom: 12px;
    text-align: left;
    background-color: #4a4a4a;
    color: white;
}
.table-sample .tb-title {
    font-weight: 500;
}
.table-sample .col-40 {
    width: 40%;
}

.table-sample a{
    color: blue;
    text-decoration: underline;
    border-bottom: none;
}
/** ====== end style table ===== **/

.history-content {
    max-height: 600px;
    overflow: scroll;
}

.status-using {
    color: royalblue;
}
.status-not-use {
    color: brown;
}

.information {
    color: royalblue;
}
.notification {
    color: red;
}

.group-button {
    text-align: center;
}

.button {
    border: none;
    color: white;
    padding: 10px 32px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    cursor: pointer;
    width: -webkit-fill-available;
    border-radius: 4px;
}
.button:hover {
    opacity: 90%;
}

.button-dark {
    background-color: #4a4a4a;
}
.button-blue {
    background-color: #008cba;
}
.button-red {
    background-color: #f44336;
}
.button-normal {
    background-color: #999;
}

/** ====== style modal ====== **/
.close {
    position: absolute;
    top: 0;
    right: 0;
    padding: 0 7px;
    line-height: 34px;
    cursor: pointer;
    font-size: 30px;
    border-top-right-radius: 2px;
}

.mask {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 50;
    visibility: hidden;
    opacity: 0;
    transition: 0.1s;
}

.modal {
    position: absolute;
    top: 30%;
    left: 0;
    right: 0;
    margin: auto;
    width: auto;
    max-width: 400px;
    background: #fff;
    z-index: 100;
    visibility: hidden;
    opacity: 0;
    transition: 0.5s ease-out;
    transform: translateY(45px);
    border-radius: 2px;
    padding: 20px;
}
.modal .modal-title {
    margin-bottom: 20px;
    font-size: 18px;
    font-weight: 500;
}
.modal .modal-content p {
    font-size: 16px;
    margin-bottom: 3px;
}
.modal .modal-footer {
    margin-top: 20px;
    display: flex;
}
.modal .modal-footer .button {
    margin: 0 10px;
}
.active {
    visibility: visible;
    opacity: 1;
}

.active + .modal {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
}
/** ====== end style modal ====== **/

.importance-box {
    width: 100%;
    max-width: 500px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-weight: bold;
    color: #000;
}

.importance-low {
    background-color: green;
}

.importance-medium {
    background-color: blue;
    color: white;
}

.importance-high {
    background-color: yellow;
}

.importance-very-high {
    background-color: red;
}

.importance-default {
    background-color: #ccc;
}

/** ====== reponsive ===== **/
@media only screen and (min-width: 768px) {
    .l-title {
        padding: 10px 50px;
    }
    .block {
        padding: 15px 50px;
    }
    .button {
        max-width: 400px;
    }
}

.error-page-content {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    height: fit-content;
    text-align: center;
}
.error-page-content div {
    font-size: 17px;
    margin-bottom: 20px;
}
