/* style.css */

body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    margin: 0;
    padding: 20px;
}
        .toggle-kills-btn {
            display: inline-block;
            background-color: #007bff;
            color: white;
            padding: 10px 20px;
            text-decoration: none;
            border-radius: 5px;
            margin-bottom: 10px;
            font-weight: bold;
            transition: background-color 0.3s;
        }
        .toggle-kills-btn:hover {
            background-color: #0056b3;
        }
        .formula-trigger {
            position: relative;
            display: inline-block;
            margin-bottom: 10px;
        }
        .formula-trigger .question-mark {
display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    font-size: 14px;
    font-weight: bold;
    color: white;
    background-color: #007bff;
    border-radius: 50%;
    cursor: help;
    transition: background-color 0.3s, transform 0.2s;
        }
.formula-trigger .question-mark:hover {
    background-color: #0056b3;
    transform: scale(1.1);
}
        .formula-tooltip {
            display: none;
            position: absolute;
            top: -10px;
            left: 30px;
            background-color: #f9f9f9;
            border: 1px solid #ccc;
            border-radius: 5px;
            padding: 10px;
            z-index: 1000;
            width: 500px;
            box-shadow: 0 2px 5px rgba(0,0,0,0.2);
        }
        .formula-tooltip table {
            width: 100%;
            border-collapse: collapse;
        }
        .formula-tooltip th, .formula-tooltip td {
            border: 1px solid #ddd;
            padding: 5px;
            text-align: left;
            font-size: 12px;
        }
        .formula-tooltip th {
            background-color: #e9e9e9;
        }
        .formula-trigger:hover .formula-tooltip {
            display: block;
        }
.container {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}
h1 {
    text-align: center;
    color: #333;
    margin-bottom: 10px;
}
.player-nick {
    text-align: center;
    font-size: 28px;
    font-weight: bold;
    color: #333;
    margin-bottom: 20px;
    border-bottom: 2px solid #4CAF50;
    padding-bottom: 10px;
}
.main-stats {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
    gap: 20px;
}
.side-icon-container {
    flex-shrink: 0;
    text-align: center;
    border: 1px solid #ddd;
    padding: 15px;
    border-radius: 8px;
    background-color: #f9f9f9;
}
.side-icon {
    width: 128px;
    height: 128px;
    border-radius: 8px;
    object-fit: cover;
    border: 2px solid #4CAF50;
}
.pve-points {
    margin-top: 10px;
    font-size: 16px;
    font-weight: bold;
    color: #333;
    text-align: center;
    background-color: #fff3cd;
    padding: 5px;
    border-radius: 4px;
}
.icon-info {
    margin-top: 5px;
    font-size: 14px;
    color: #666;
    text-align: center;
}
.icon-info-secondary {
    margin-top: 2px;
    font-size: 14px;
    color: #666;
    text-align: center;
}
.equip-title {
    margin: 10px 0 5px 0;
    font-size: 14px;
    font-weight: bold;
    color: #333;
    text-align: center;
}
.profile-table {
    flex: 1;
    border-collapse: collapse;
    width: auto;
}
.profile-table th, .profile-table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}
.profile-table th {
    background-color: #4CAF50;
    color: white;
    width: 30%;
}
.profile-table tr:hover {
    background-color: #f5f5f5;
}
.footer {
    text-align: center;
    margin-top: 20px;
    color: #666;
    font-style: italic;
}
.error {
    color: red;
    padding: 10px;
    background: #ffebee;
    border: 1px solid #f44336;
    border-radius: 4px;
}
.credit-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}
.credit-table th, .credit-table td {
    padding: 8px;
    text-align: left;
    border: 1px solid #ddd;
}
.credit-table th {
    background-color: #4CAF50;
    color: white;
}
.recent-kills-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}
.recent-kills-table th, .recent-kills-table td {
    padding: 8px;
    text-align: left;
    border: 1px solid #ddd;
}
.recent-kills-table th {
    background-color: #FF5722;
    color: white;
}
.quest-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}
.quest-table th, .quest-table td {
    padding: 8px;
    text-align: left;
    border: 1px solid #ddd;
}
.quest-table th {
    background-color: #2196F3;
    color: white;
}
.quest-status-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}
.quest-status-table th, .quest-status-table td {
    padding: 8px;
    text-align: left;
    border: 1px solid #ddd;
}
.quest-status-table th {
    background-color: #FF9800;
    color: white;
}
.completed-quests-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}
.completed-quests-table th, .completed-quests-table td {
    padding: 8px;
    text-align: left;
    border: 1px solid #ddd;
}
.completed-quests-table th {
    background-color: #9C27B0;
    color: white;
}
.all-complete-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}
.all-complete-table th, .all-complete-table td {
    padding: 8px;
    text-align: left;
    border: 1px solid #ddd;
}
.all-complete-table th {
    background-color: #607D8B;
    color: white;
}
.achievement-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}
.achievement-table th, .achievement-table td {
    padding: 8px;
    text-align: left;
    border: 1px solid #ddd;
}
.achievement-table th {
    background-color: #E91E63;
    color: white;
}
.all-achievements-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}
.all-achievements-table th, .all-achievements-table td {
    padding: 8px;
    text-align: left;
    border: 1px solid #ddd;
}
.all-achievements-table th {
    background-color: #9C27B0;
    color: white;
}
.pocket-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}
.pocket-table th, .pocket-table td {
    padding: 8px;
    text-align: left;
    border: 1px solid #ddd;
}
.pocket-table th {
    background-color: #FF5722;
    color: white;
}
.achievement-icon {
    width: 32px;
    height: 32px;
    margin-right: 10px;
    vertical-align: middle;
}
.class-icon {
    width: 32px;
    height: 32px;
    margin-right: 10px;
    vertical-align: middle;
}
.octet-preview {
    background-color: #e8f5e8;
    padding: 5px;
    border-radius: 3px;
    font-family: monospace;
    font-size: 11px;
}
.achievement-output {
    background-color: #f9f9f9;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: monospace;
    font-size: 12px;
    white-space: pre-wrap;
    margin-top: 10px;
}
.pocket-output {
    background-color: #f9f9f9;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: monospace;
    font-size: 12px;
    white-space: pre-wrap;
    margin-top: 10px;
}
.section {
    margin-top: 30px;
}
.section h3 {
    border-bottom: 1px solid #ddd;
    padding-bottom: 5px;
    color: #333;
}
.pagination {
    text-align: center;
    margin-top: 15px;
}
.pagination a {
    margin: 0 5px;
    padding: 5px 10px;
    background: #4CAF50;
    color: white;
    text-decoration: none;
    border-radius: 3px;
}
.pagination a:hover {
    background: #45a049;
}
.pagination span {
    margin: 0 5px;
    padding: 5px 10px;
    background: #ddd;
    border-radius: 3px;
}
.dialog {
    position: relative;
    width: 295px;
    height: 420px;
    background-image: url('image/interface/character_bg.png');
    background-size: cover;
    font-family: 'FZYanTiS-R-GB', sans-serif; /* Approximation for 方正细黑一简体 */
    font-size: 12px;
    margin-top: 10px;
}
.image-picture {
    position: absolute;
    background-size: contain;
    background-repeat: no-repeat;
}
.equip-slot {
    width: 36px;
    height: 36px;
    border: 1px solid #ccc; /* Optional: to visualize slots */
}
.button {
    position: absolute;
    width: 18px;
    height: 24px;
    background-size: contain;
    background-repeat: no-repeat;
    border: none;
    cursor: pointer;
}
.button:hover {
    opacity: 0.8; /* Simple hover effect */
}
.radio, .check {
    position: absolute;
    width: 17px;
    height: 17px;
    background-size: contain;
    background-repeat: no-repeat;
}
.list {
    position: absolute;
    width: 70px;
    height: 134px;
    background-image: url('image/interface/textframe2.png');
    background-size: cover;
    overflow-y: auto;
}
.combo {
    position: absolute;
    width: 40px;
    height: 20px;
    background-image: url('image/interface/textframe2.png');
    background-size: cover;
}
        .toggle-kills-btn {
            display: inline-block;
            background-color: #007bff;
            color: white;
            padding: 10px 20px;
            text-decoration: none;
            border-radius: 5px;
            margin-bottom: 10px;
            font-weight: bold;
            transition: background-color 0.3s;
        }
        .toggle-kills-btn:hover {
            background-color: #0056b3;
        }
/* Hover effects can be added with CSS :hover */
