/* ============================================
   STATISTICS MODAL STYLES
   ============================================ */

/* Statistics Modal 전용 스타일 */
/* 공통 기본 배치는 base/modal-common.css, 최종 메뉴 재질은 theme 스타일에서 적용한다. */

/* 통계 제목의 기본 여백과 줄 높이. */
.statistics-modal-wrapper .card.rpg-modal .modal-title {
    margin: 0;
    padding: 0;
    line-height: 1.2;
}

.statistics-modal-wrapper .card.rpg-modal .modal-header {
    background: rgba(0, 0, 0, 0.15);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    border-bottom: 1px solid rgba(255, 215, 130, 0.18);
}

.statistics-modal-wrapper .card.rpg-modal .modal-footer {
    border-top: 1px solid rgba(255, 215, 130, 0.18);
}

/* Statistics Layout */
.statistics-modal-wrapper .card {
    display: flex;
    flex-direction: column;
    max-height: 85vh;
}

/* Statistics 버튼 스타일 */
.statistics-modal-wrapper .card.rpg-modal .btn-main {
    height: 58px;
    border-radius: 14px;
    border: 3px solid rgba(231, 189, 105, 0.9);
    font-weight: 900;
    font-size: clamp(14px, 3.5vw, 16px);
    letter-spacing: 0.5px;
    box-shadow:
        0 10px 28px rgba(0, 0, 0, 0.55),
        inset 0 1px 0 rgba(255, 255, 255, 0.35);
    animation: none !important;
    background-size: initial !important;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.statistics-modal-wrapper .card.rpg-modal .btn-main.btn-blue {
    background: linear-gradient(
        45deg,
        rgba(41, 121, 255, 0.95),
        rgba(41, 121, 255, 0.85)
    ) !important;
    color: var(--color-white) !important;
}

/* Statistics Item & Section Styles */
.statistics-section {
    text-align: left;
    margin-bottom: 10px;
    font-size: 14px;
    color: var(--primary);
    font-weight: bold;
    border-bottom: 1px solid var(--neutral-800);
    padding-bottom: 5px;
    margin-top: 15px;
}

/* 전체 기록 대분류의 위쪽 여백. */
.statistics-section-major {
    margin-top: 20px;
}

.statistics-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #252525;
    padding: 10px;
    margin-bottom: 8px;
    border-radius: 8px;
    border: 1px solid var(--neutral-800);
}

/* 현재 단어장 안내와 통계 수치 행. */
.statistics-book-info {
    font-size: 12px;
    color: var(--primary);
    margin-top: 4px;
    text-align: center;
}

.statistics-stat-group {
    text-align: right;
    width: 100%;
}

.statistics-stat-row {
    font-size: 15px;
}

.statistics-stat-row + .statistics-stat-row {
    margin-top: 4px;
}

.statistics-label {
    margin-left: 12px;
}

.statistics-value {
    color: var(--primary);
    font-weight: bold;
}

.statistics-value-correct {
    color: #4caf50;
}

.statistics-value-wrong {
    color: #ff5252;
}

.statistics-value-wave {
    color: #e040fb;
}
