* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Microsoft YaHei', sans-serif;
    background: linear-gradient(to bottom, #0d1b2a, #1b263b);
    color: #e0e1dd;
    min-height: 100vh;
    padding: 20px;
}

.container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 20px;
}

.header {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #415a77;
}

.header h1 {
    color: #ffd700;
    font-size: 32px;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.current-info {
    background: rgba(26, 35, 53, 0.8);
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 30px;
    border: 1px solid #415a77;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.current-info h2 {
    color: #ffa500;
    margin-bottom: 15px;
    font-size: 22px;
    display: flex;
    align-items: center;
}

.current-info h2 i {
    margin-right: 10px;
}

.input-row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 15px;
}

.input-group {
    flex: 2;
    min-width: 200px;
}

.input-group label {
    display: block;
    margin-bottom: 8px;
    color: #8da9c4;
}

.exp-categories {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(24%, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.category-card {
    background: rgba(26, 35, 53, 0.8);
    border-radius: 10px;
    padding: 16px;
    border: 1px solid #415a77;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s, border-color 0.3s;
}

.category-card:hover {
    transform: translateY(-5px);
    border-color: #ffa500;
}

.category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #415a77;
}

.category-title {
    color: #ffa500;
    font-size: 20px;
    font-weight: bold;
}

.category-total {
    background: #1e3a5f;
    color: #e0e1dd;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 14px;
}

.penalty-info {
    font-size: 12px;
    color: #8da9c4;
    margin-bottom: 15px;
    padding: 8px;
    background: rgba(20, 30, 48, 0.7);
    border-radius: 5px;
    border-left: 3px solid #ffa500;
}

.exp-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    padding: 8px;
    background: rgba(20, 30, 48, 0.5);
    border-radius: 5px;
}

.exp-item:hover {
    background: rgba(20, 30, 48, 0.8);
}

.exp-name {
    flex: 1;
    color: #e0e1dd;
}

.exp-value {
    color: #90ee90;
    margin-right: 15px;
    font-weight: bold;
}

.count-input {
    width: 100px;
}

.result-panel {
    background: rgba(26, 35, 53, 0.9);
    border-radius: 10px;
    padding: 25px;
    border: 2px solid #415a77;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
}

.result-header {
    color: #ffd700;
    font-size: 24px;
    margin-bottom: 20px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.result-header i {
    margin-right: 10px;
}

.result-content {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

.result-item {
    flex: 1;
    min-width: 250px;
    text-align: center;
    background: rgba(20, 30, 48, 0.7);
    padding: 20px;
    border-radius: 10px;
    border: 1px solid #415a77;
}

.result-label {
    color: #8da9c4;
    font-size: 16px;
    margin-bottom: 10px;
}

.result-value {
    color: #ffd700;
    font-size: 28px;
    font-weight: bold;
    text-shadow: 0 0 5px rgba(255, 215, 0, 0.3);
}

.result-row {
    display: flex;
    align-items: center;
    border-radius: 4px;
}

.result-lab {
    text-align: right;
    width: 64px;
    margin-right: 15px;
    font-weight: 500;
}

.result-values {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex: 1;
    min-width: 0;
}

.original-value,
.new-value {
    flex: 1;
    text-align: center;
    font-feature-settings: "tnum";
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.original-value {
    text-align: right;
    padding-right: 10px;
    color: #ffa500;
    font-weight: bold;
}

.new-value {
    text-align: left;
    padding-left: 10px;
    color: #90ee90;
    font-weight: bold;
}

.arrow {
    flex-shrink: 0;
    margin: 0 8px;
    color: #666;
    font-weight: bold;
}

.info {
    display: inline-block;
    color: #8da9c4;
    margin-bottom: 10px;
}

.level-bar {
    height: 20px;
    background: rgba(20, 30, 48, 0.7);
    border-radius: 10px;
    margin-top: 10px;
    overflow: hidden;
}

.level-progress {
    height: 100%;
    background: linear-gradient(to right, #4cc9f0, #4361ee);
    border-radius: 10px;
    transition: width 1s ease;
    position: relative;
}

.level-progress-text {
    position: absolute;
    right: 10px;
    top: 0;
    height: 100%;
    display: flex;
    align-items: center;
    color: #0d1b2a;
    font-weight: bold;
    font-size: 12px;
}

@media (max-width: 768px) {
    .exp-categories {
        grid-template-columns: 1fr;
    }

    .result-content {
        flex-direction: column;
    }
}

.punctuation-normal {
    color: #90ee90;
}

.punctuation-penalty-50 {
    color: #ffa500;
}

.punctuation-penalty-20 {
    color: #ff6347;
}

.punctuation-penalty-1 {
    color: #dc143c;
}

.unsetBtn {
    margin-left: auto;
    background: #1e3a5f;
    border-color: #1e3a5f;
    font-size: 14px;
}

.el-input {
    max-width: 217px;
}

.back {
    height: 100%;
    width: 100%;
    background-color: #1e3a5f;
    box-shadow: 0 0 6px rgba(0, 0, 0, .12);
    text-align: center;
    line-height: 16px;
    padding: 4px;
    border-radius: 4px;
    color: #e0e1dd;
    font-size: 14px;
}

.back-to-top-icon {
    height: 12px;
    width: 20px;
}

.el-progress {
    display: inline-block;
    vertical-align: top;
}

.el-progress-bar__inner,
.el-progress-bar__outer {
    border-radius: unset;
    text-align: center;
}

.p_left .el-progress-bar__inner {
    text-align: left;
}

.progress_l .el-progress-bar__outer {
    border-radius: 10px 0 0 10px;
}

.progress_r .el-progress-bar__outer {
    border-radius: 0 10px 10px 0;
}

.el-progress-bar__innerText {
    color: #1e3a5f !important;
    font-size: 10px;
}

.my-notification .el-notification__content {
    white-space: pre-line;
}

.el-dialog {
    width: 86%;
    margin-top: 10vh !important;
}
.el-checkbox__input.is-checked .el-checkbox__inner{
    background-color: #1e3a5f;
    border-color: #1e3a5f;
}
.el-checkbox__input.is-checked+.el-checkbox__label {
    color: #e0e1dd;
}