/*評語 format*/
.section-title {
  font-size: 20px;
  font-weight: 600;
  color: #0080ff;
  margin-bottom: 0rem;
}

.analysis-item.list {
    border: 1px solid #ffffff;
    padding: 10px;
    background: #f2f2f2;
    border-radius: var(--aimarker-normal-border-radius);
    overflow: hidden;
}

.analysis-item.origin {
    background: #F5F7FA;
    color: #000;
    margin-bottom: 15px;
    border-radius: var(--aimarker-normal-border-radius);
    padding: 15px;
}
        
#sentence-analysis .analysis-item.list {
    background: #F3F7FF;
}

#grammatical-analysis .analysis-item.list {
    background: #F5FDFA;
}

.analysis-item.list p {
    margin-bottom: 0;
}

.analysis-list {
    margin-bottom: 15px;
    border-radius: var(--aimarker-normal-border-radius);
    border: 1px solid #e3e3e3;
    padding: 10px;
}


.review-section {
    border: 1px solid #e7e7e7;
    background: #fff;
    margin-bottom: 15px;
    border-radius: var(--aimarker-normal-border-radius);
    overflow: hidden;
    padding: 15px;
}

.review-section-title {
    text-align: left;
    background: #fff;
    line-height: 26px;
    font-size: 22px;
    font-weight: bold;
    color: #000;
    border-left: 4px solid #0080ff;
    padding-left: 10px;
    margin-bottom: 15px;
}
.compile-title {
    padding-left: 15px;
}

div#total-score, div#estimated-grade {
    color: #0080ff;
    text-transform: uppercase;
    font-weight: bold;
    border-radius: var(--aimarker-normal-border-radius);
    background-color: #f8faff;
    border: 1px solid #d6e0ff;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(41, 98, 255, 0.1);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M12 2L15.09 8.26L22 9.27L17 14.14L18.18 21.02L12 17.77L5.82 21.02L7 14.14L2 9.27L8.91 8.26L12 2Z' fill='%230080FF' fill-opacity='.5'/%3E%3C/svg%3E");
    background-position: 20px center;
    background-repeat: no-repeat;
    background-size: 20px;
    padding-left: 30px;
}

.review-section-content {
    padding: 15px;
    border-radius: var(--aimarker-normal-border-radius);
    background: #F5F7FA;
}

#grammatical-analysis .review-section-content,#sentence-analysis .review-section-content {
    background: #fff;
    padding: 0;
}

div#advanced-vocabulary .review-section-content {
    padding: 0;
}

div#advanced-vocabulary .review-section-content table.vocab-suggestions {
    margin-top: 0;
    margin-bottom: 0;
}

.review-section-results-table table td {
    padding: 5px;
    border: 1px solid #ccc;
    width: 50%;
    text-align: center;
}

.review-section-results-table table {
    width: 100%;
}
.review-section-results-table table th {
    padding: 5px;
    border: 1px solid #ccc;
    width: 50%;
    text-align: center;
    background: #f8faff;
}

.review-section-results-table {
    margin-bottom: 15px;
}
.review-section-results-table .total td, .review-section-results-table span.highlightv3, .review-section-results-table .grade td {
    background: #fff;
    color: #3658d6;
    font-size: 17px;
    font-weight: bold;
}

div#strengths-sentence .review-section-title {
    border-color: #0309ff;
}

div#weaknesses-sentence .review-section-title {
    border-color: #eb28bc;
}

.history-record .review-section {
    max-width: 800px;
    width: 100%;
}
#language-review .review-section-title, #grammatical-analysis .review-section-title {
    border-color: #36CFC9;
}

#sentence-analysis .review-section-title, #advanced-vocabulary .review-section-title {
    border-color:#FF7D00;
}
#typo-review p, #punctuation-review p {
    margin-bottom: 0;
}
#article-improved .analysis-item.rewrite-paragraph {
    background: #cfe2ff;
    color: #000;
    margin-bottom: 15px;
    border-radius: var(--aimarker-normal-border-radius);
    padding: 15px;
}

.list-item {
    padding: 15px;
    border-radius: 15px;
    background: #ffffff;
    margin-bottom: 15px;
}

#ratings {
    display: none;
}
#ratings {
    width: 100%;
    max-width: 600px;
    margin: 20px 0;
    border-collapse: separate;
    border-spacing: 0;
    font-family: var(--aimarker-font-family);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: var(--aimarker-normal-border-radius);
    overflow: hidden;
}

#ratings thead {
    background: linear-gradient(135deg, #4a6bff, #6a11cb);
    color: white;
}

#ratings th {
    padding: 15px;
    text-align: center;
    font-weight: 600;
    letter-spacing: 0.5px;
    position: relative;
}

#ratings th:not(:last-child)::after {
    content: "";
    position: absolute;
    right: 0;
    top: 20%;
    height: 60%;
    width: 1px;
    background-color: rgba(255, 255, 255, 0.3);
}

#ratings tbody tr {
    background-color: #f8f9fa;
    transition: background-color 0.3s ease;
}

#ratings tbody tr:hover {
    background-color: #e9ecef;
}

#ratings td {
    padding: 15px;
    text-align: center;
    font-size: 18px;
    font-weight: bold;
    color: #495057;
    border-bottom: 1px solid #dee2e6;
}

/* 評分數字樣式 */
.rating {
    position: relative;
}

.rating::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    z-index: -1;
}

#score-table {
    border-collapse: collapse;
    width: 100%;
    border: 1px solid #e7e7e7;
    border-top: 1px solid #f00;
    background: #fff;
    margin-bottom: 15px;
    border-radius: var(--aimarker-normal-border-radius);
    overflow: hidden;
    padding: 15px;
}

#score-table th,
#score-table td {
    border: 1px solid #ebebeb;
    text-align: center;
    padding: 8px;
}
table#score-table thead tr th {
    color: #fff;
    background: #0080ff;
}


.analysis-item.good-sentence, .analysis-item.eficiency, .analysis-item.to-supplemented, .analysis-item.revised-paragraph, .analysis-item.original-paragraph {
    background: #ffffff;
    color: #000;
    margin-bottom: 15px;
    border-radius: var(--aimarker-normal-border-radius);
    padding: 15px;
}

.analysis-item.rewriting-suggestions {
    background: #ffffff;
    color: #000;
    margin-bottom: 15px;
    border-radius: var(--aimarker-normal-border-radius);
    padding: 15px;
}

.analysis-sublist-left {
    width: 49%;
    display: inline-block;
    float: left;
}

.analysis-sublist-right {
    width: 50%;
    display: inline-block;
    float: right;
}

.analysis-item.revised-paragraph {
    clear: both;
}

.analysis-item.rewrite-reason {
    background: #ffeaad;
    color: #000;
    margin-bottom: 0;
    border-radius: var(--aimarker-normal-border-radius);
    padding: 15px;
}