﻿body {
    margin: 0;
    font-family: Arial, sans-serif;
    display: flex;
    height: 100vh;
}

.sidebar {
    width: 250px;
    background-color: #2c3e50;
    color: white;
    display: flex;
    flex-direction: column;
    padding: 10px;
    overflow-y: auto;
}

    .sidebar h2 {
        text-align: center;
        margin-bottom: 20px;
    }

.menu-item {
    margin-bottom: 10px;
    position: relative;
}

.submenu {
    display: none;
    margin-left: 15px;
}

    .submenu.active {
        display: block;
    }

    .menu-item button,
    .submenu button {
        background: none;
        color: white;
        border: none;
        width: 100%;
        text-align: left;
        padding: 10px;
        cursor: pointer;
        position: relative;
        padding-right: 25px; /* Space for arrow */
    }

        .menu-item button:hover,
        .submenu button:hover {
            background-color: #34495e;
        }

        /* Arrow styles */
        .menu-item button.has-submenu::after,
        .submenu button.has-submenu::after {
            content: "▶";
            position: absolute;
            right: 10px;
            transition: transform 0.3s;
        }

        /* When expanded, rotate arrow down */
        .menu-item button.expanded::after,
        .submenu button.expanded::after {
            transform: rotate(90deg);
        }

    /* Nested submenu margin */
    .submenu .submenu {
        margin-left: 15px;
    }

    .submenu a {
        display: block;
        padding: 8px 10px;
        color: white;
        text-decoration: none;
    }

        .submenu a:hover {
            background-color: #3d566e;
        }

.content {
    flex-grow: 1;
    padding: 20px;
    background-color: #ecf0f1;
    overflow-y: auto;
}

.form-section,
.list-section {
    margin-bottom: 30px;
}

form input,
form button {
    display: block;
    margin: 10px 0;
    padding: 10px;
    width: 300px;
}

table {
    width: 100%;
    border-collapse: collapse;
}

table,
th,
td {
    border: 1px solid #bdc3c7;
}

th,
td {
    padding: 10px;
    text-align: left;
}

.actions i {
    margin-right: 10px;
    cursor: pointer;
}

table thead th {
    background-color: #2980b9; /* nice blue */
    color: white;
    font-weight: bold;
}

/* Alternate row colors for better readability */
table tbody tr:nth-child(odd) {
    background-color: #f9fbfc; /* very light blue/gray */
}

table tbody tr:nth-child(even) {
    background-color: #e3eef7; /* slightly darker light blue */
}

/* Hover effect on rows */
table tbody tr:hover {
    background-color: #d0e4fb; /* highlight with a soft blue */
}
.center-wrapper {
    display: flex;
    justify-content: center; /* center horizontally */
    align-items: center; /* center vertically */
    height: 100vh; /* full screen height */
    background-color: #ecf0f1; /* just for visual */
}

.center-box {
    padding: 30px;
    background: white;
    border: 1px solid #ccc;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}
.logout-button {
    background: none;
    border: none;
    color: white;
    padding: 10px 15px;
    text-align: center;
    width: 100%;
    cursor: pointer;
    font-size: 16px;
    display: block;
    background-color: blue;
}

    .logout-button:hover {
        background-color: #34495e;
    }

a.btn.btn-sm.btn-primary.sub-link {
    margin-bottom:10px;
}
#lang {
    margin-bottom: 10px;
}
#cke_Description,
#cke_SecondDescription,
#cke_ThirdDescription,
#cke_FourthDescription,
#cke_FifthDescription,
#cke_FifthDescription,
#cke_SixDescription,
#Introduction {
    margin-top: 10px;
    margin-bottom: 10px;
}

.form-group label {
    font-weight: bold;   
}
.form-group-ind label {
    font-weight: bold;
}
.form-check-label {
    font-weight: normal !important;
}

.ModelViewer_modelViewerContainer__D1jz2, .ModelViewer_modelViewerPlaceholder__gUK_V {
    width: 70%;
    height: 400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ModelViewer_modelViewerContainer__D1jz2 {
    background: transparent;
}
