@view-transition {
    navigation: auto;

}

html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    display: flex;
    flex-direction: column;
}

h1, h2 {
    text-align: left;
    color: #333;
}

p {
    text-align: left;
    color: #666;
}

footer p {
    text-align: center;
    color: #666;
}

a {
    color: #1775d6;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.navLink.active {
    color: #fff;
    background-color: #1775d6;
    border-radius: 5px;
    padding: 5px 10px;
    transition: background-color 0.3s ease;
}

header {
    background-color: #333;
    color: #fff;
    padding: 20px;
}

header h1, header h2 {
    text-align: center;
    color: #fff;
    margin-top: 0;
    margin-bottom: 10px;
}

nav {
    background-color: #eee;
    padding: 10px;
    border-bottom: 1px solid #222;
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    gap: 20px;
}

table{
    width: 100%;
    border-collapse: collapse;

}
thead{
    background-color: #f2f2f2;
    color: #333;
    text-align: left;
    font-weight: bold;
    border-bottom: 1px solid #ddd;
}
tbody{
    border-bottom: 1px solid #ddd;
}
tfoot{
    background-color: #f2f2f2;
    color: #333;
    text-align: left;
}
tr{
    border-bottom: 1px solid #ddd;
}
tr:nth-child(even){
    background-color: #f2f2f2;
}
tr:nth-child(odd){
    background-color: #eee;
}

tr:hover{
    background-color: #fff;
}
th, td{
    padding: 10px;
    text-align: left;
    border-bottom: 1px solid #ddd;
    border-right: 1px solid #ddd;
    vertical-align: top;
}
th{
    background-color: #f2f2f2;
}

.verticalTableHeader {
    transform: rotate(90deg);
    display: inline-block;
}

main {
    padding: 20px;
    flex: 1;
    overflow-y: auto;
    width: 50%;
    margin: 0 auto;
}

@media (max-width: 768px) {
    main {
        width: 100%;
    }
}

footer {
    text-align: center;
    background-color: #f8f8f8;
    padding: 10px;
    color: #888;
}

footer img {
    max-width: 200px;
    max-height: 30px;
}

.centered {
    text-align: center;
}

.appIcon {
    max-width: 200px;
    max-height: 30px;
}

.helpContainer {
    width: 100%;
    background-color: #fff;
    border: 1px solid rgba(0,0,0,.125);
    border-bottom: 0;
    margin-bottom: 0;
}

.helpContainer:first-child {
    border-top-left-radius: .25rem;
    border-top-right-radius: .25rem;
}

.helpContainer:last-child {
    border-bottom: 1px solid rgba(0,0,0,.125);
    border-bottom-left-radius: .25rem;
    border-bottom-right-radius: .25rem;
    margin-bottom: 20px;
}

.helpHeader {
    cursor: pointer;
    font-size: 1rem;
    font-weight: 400;
    padding: 1rem 1.25rem;
    background-color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out,border-radius .15s ease;
    position: relative;
    color: #212529;
    margin-bottom: 0;
}

.helpHeader.active {
    color: #0c63e4;
    background-color: #e7f1ff;
    box-shadow: inset 0 -1px 0 rgba(0,0,0,.125);
}

.helpBody {
    display: none;
    overflow: hidden;
    font-size: 1rem;
    color: #212529;
    background-color: #fff;
}

.helpBody.open {
    display: block;
    padding: 1rem 1.25rem;
    border-top: 1px solid rgba(0,0,0,.125);
}

.helpOpener {
    width: 1.25rem;
    height: 1.25rem;
    margin-left: auto;
    flex-shrink: 0;
    transition: transform .2s ease-in-out;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23212529'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-size: 1.25rem;
    display: inline-block;
}

.helpHeader.active .helpOpener {
    transform: rotate(-180deg);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%230c63e4'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.functionsContainer {
    margin-bottom: 60px;
    display: flex;
    flex-direction: column;
    background-color: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    border: 1px solid rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.functionsContainer:hover {
    transform: translateY(-5px);
}

.functionsImage {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

.functionsContent {
    padding: 25px;
}

.functionsContent h3 {
    margin-top: 0;
    color: #333;
    font-size: 1.5rem;
    margin-bottom: 15px;
    border-bottom: 2px solid #e7f1ff;
    padding-bottom: 10px;
    display: inline-block;
}

.functionsContent ul {
    margin: 0;
    padding-left: 20px;
    color: #555;
    line-height: 1.6;
}

.functionsContent li {
    margin-bottom: 10px;
}

@media (min-width: 992px) {
    .functionsContainer {
        flex-direction: row;
        align-items: stretch;
    }

    .functionsContainer:nth-child(even) {
        flex-direction: row-reverse;
    }

    .functionsImage {
        width: 45%;
        height: auto;
        min-height: 300px;
    }

    .functionsContent {
        width: 55%;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.fade-out {
    animation: fadeOut 0.1s ease-out forwards;
}

.fade-in {
    animation: fadeIn 0.1s ease-in forwards;
}

.functionAllowed {
    background: #008000;
    color: #008000;
    font-weight: bold;
    display: block;
    margin: 0 auto;
    width: 20px;
    height: 20px;
    content:' ';
    border-radius: 5px;
    border: solid 1px #008000;
    text-align: center;
}
.functionAllowed:before{
    content: ' ';
}
.functionAllowed:after{
    content: ' ';
}

.functionDenied {
    background: #FF0000;
    color: #FF0000;
    font-weight: bold;
    display: block;
    margin: 0 auto;
    width: 20px;
    height: 20px;
    content:' ';
    border-radius: 5px;
    border: solid 1px #FF0000;
    text-align: center;
}
.functionDenied:before{
    content: ' ';
}
.functionDenied:after{
    content: ' ';
}