* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

body {
    background-color: #f5f7fa;
    margin: 5px;
    position: relative;
}

body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0.2;
    background-image: url('/watermark');
    background-repeat: repeat;
    background-size: 100px 100px;
    pointer-events: none;
}

.navbar {
    background-color: #ffffff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: calc(100% - 10px);
    top: 5px;
    z-index: 1000;
}

.nav-container {
    max-width: 100%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    height: 60px;
}

.nav-logo {
    font-size: 22px;
    font-weight: bold;
    color: #333;
    margin-right: 30px;
    padding-left: 10px;
}

.nav-menu {
    /*list-style: none;*/
    /*display: flex;*/
    list-style: none;
    display: flex;
    align-items: center;
    width: 100%;
    margin: 0;
}

.nav-menu li {
    position: relative;
}

.nav-menu a {
    display: block;
    padding: 0 20px;
    line-height: 60px;
    color: #333;
    text-decoration: none;
    font-size: 16px;
    transition: background-color 0.3s;
}

.nav-menu a:hover {
    background-color: #f0f2f5;
}

.nav-spacer {
    flex: 1;
}

.user-greeting {
    display: flex;
    align-items: center;
    font-size: 14px;
    color: #333;
    margin-right: 10px;
}

.user-greeting span {
    margin-right: 10px;
    white-space: nowrap;
}

.user-greeting .logout-link {
    color: #007bff;
    padding: 0 15px;
    line-height: 60px;
    text-decoration: none;
}

.user-greeting .logout-link:hover {
    background-color: #f0f2f5;
    text-decoration: underline;
}

.user-greeting .github-login-link {
    display: flex;
    align-items: center;
    color: #007bff;
    padding: 0 15px;
    line-height: 60px;
    text-decoration: none;
    white-space: nowrap;
}

.user-greeting .github-login-link:hover {
    background-color: #f0f2f5;
    text-decoration: underline;
}

.user-greeting .github-logo {
    width: 32px;
    height: 32px;
    /*margin-right: 5px;*/
    /*vertical-align: middle;*/
}

.dropdown {
    position: relative;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 60px;
    left: 0;
    background-color: #ffffff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    min-width: 200px;
}

.dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-menu li {
    list-style: none;
}

.dropdown-menu a {
    padding: 10px 20px;
    line-height: 1.5;
    font-size: 14px;
    color: #333;
}

.dropdown-menu a:hover {
    background-color: #f0f2f5;
}

.content {
    max-width: 100%;
    margin: 80px auto 20px;
    padding: 10px;
}

.breadcrumb {
    margin-bottom: 15px;
    font-size: 14px;
}

.breadcrumb a {
    color: #007bff;
    text-decoration: none;
    margin: 5px;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb span {
    color: #333;
    margin: 0 5px;
}

.card-lists {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.card-list {
    flex: 1;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    padding: 10px;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.card-header h3 {
    font-size: 16px;
    color: #333;
}

.card-header .more-btn {
    font-size: 14px;
    color: #007bff;
    text-decoration: none;
}

.card-header .more-btn:hover {
    text-decoration: underline;
}

.card-item {
    padding: 10px;
    border-bottom: 1px solid #f0f2f5;
    font-size: 14px;
    color: #333;
}

.card-item:last-child {
    border-bottom: none;
}

.card-item:hover {
    background-color: #f5f7fa;
}

.list {
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    padding: 10px;
    display: table;
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.list-header, .list-item {
    display: table-row;
}

.list-header div, .list-item div {
    display: table-cell;
    padding: 8px;
    line-height: 2;
    border-bottom: 1px solid #f0f2f5;
    font-size: 14px;
    color: #333;
}

.list-header div {
    font-weight: bold;
    background-color: #f9fafb;
}

.list-item:hover {
    background-color: #f5f7fa;
}

.list-item div:last-child {
    text-align: left;
}

.action-btn {
    color: #007bff;
    text-decoration: none;
    margin-left: 10px;
}

.action-btn:hover {
    text-decoration: underline;
}

.pagination {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-top: 15px;
    font-size: 14px;
}

.pagination a, .pagination span {
    margin: 0 8px;
    color: #007bff;
    text-decoration: none;
    padding: 6px 12px;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.pagination a:hover {
    background-color: #f0f2f5;
}

.pagination .active {
    background-color: #007bff;
    color: #ffffff;
}

.pagination .disabled {
    color: #ccc;
    pointer-events: none;
}

.footer-links {
    text-align: center;
    margin-top: 15px;
    font-size: 12px;
    color: #666;
}

.footer-links a {
    color: #007bff;
    text-decoration: none;
    margin: 0 10px;
}

.footer-links a:hover {
    text-decoration: underline;
}

.chart-container {
    width: 100%;
    height: 200px;
    position: relative;
}

.chart-container canvas {
    width: 100% !important;
    height: 100% !important;
}

.search-container {
    margin-bottom: 15px;
    display: flex;
    gap: 10px;
}

.search-input {
    flex: 1;
    padding: 8px;
    font-size: 14px;
    width: 400px;
    border: 1px solid #ddd;
    border-radius: 4px;
    outline: none;
}

.search-input:focus {
    border-color: #007bff;
}

.search-button {
    padding: 8px 16px;
    font-size: 14px;
    color: #fff;
    background-color: #007bff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.search-button:hover {
    background-color: #0056b3;
}

.warn-text {
    background-color: wheat;
    padding: 4px 6px;
    border-radius: 4px;
}

.warning-text {
    background-color: wheat;
    padding: 4px 6px;
    border-radius: 4px;
}

.error-text {
    background-color: red;
    padding: 4px 6px;
    border-radius: 4px;
    color: white;
}

.info-text {
    background-color: #dddddd;
    padding: 4px 6px;
    border-radius: 4px;
}

.container {
    /*width: 50%;*/
    margin: 20px;
}

.text {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    cursor: pointer;
    transition: all 0.3s;
}

.text.expanded {
    -webkit-line-clamp: unset;
    overflow: visible;
}

.autotext {
    margin-top: 10px;
    line-height: 1.5;
    display: inline-block;
    word-break: break-all;
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
}
.modal-content {
    background-color: white;
    padding: 20px;
    border-radius: 5px;
    width: 300px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
.modal-content h2 {
    margin-top: 0;
}
.modal-content label {
    display: block;
    margin: 10px 0 5px;
}
.modal-content select {
    width: 100%;
    padding: 5px;
    margin-bottom: 10px;
}
.modal-content button {
    padding: 10px;
    margin-right: 10px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}
.save-btn {
    background-color: #28a745;
    color: white;
}
.save-btn:hover {
    background-color: #218838;
}
.cancel-btn {
    background-color: #dc3545;
    color: white;
}
.cancel-btn:hover {
    background-color: #c82333;
}
.underline {
    text-decoration: underline;
    text-decoration-thickness: 2px;
}