/* 블로그 분석 페이지 전용 스타일 */

/* 블로그 분석 컨테이너 */
.ba-analysis-container {
    background: var(--surface-color);
    border-radius: var(--radius-md);
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(229, 231, 235, 0.8);
}

/* 상단 입력 영역 */
.ba-input-section {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

/* 블로그 아이디 입력과 개수 선택을 감싸는 컨테이너 */
.ba-input-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 1;
    flex-wrap: wrap;
}

/* 블로그 아이디 입력 그룹 */
.ba-blog-input-group {
    position: relative;
    flex: 1;
    display: flex;
    align-items: center;
}

.ba-blog-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray-400);
    font-size: 1rem;
    z-index: 2;
}

.ba-blog-input {
    width: 100%;
    padding: 0.875rem 5.5rem 0.875rem 2.75rem;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-weight: 400;
    color: var(--gray-800);
    background: var(--surface-color);
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.ba-blog-input::placeholder {
    color: var(--gray-400);
    font-weight: 400;
}

.ba-blog-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(30, 64, 175, 0.1);
}

.ba-blog-input-group:focus-within .ba-blog-icon {
    color: var(--primary-color);
}

/* 닉네임 버튼 */
.ba-nickname-btn {
    position: absolute;
    right: 0.5rem;
    top: 50%;
    transform: translateY(-50%);
    padding: 0.5rem 1rem;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
    z-index: 3;
}

.ba-nickname-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-50%);
}

.ba-nickname-btn:active {
    transform: translateY(-50%) scale(0.98);
}

/* 게시글 개수 선택 그룹 */
.ba-count-group {
    position: relative;
    min-width: 100px;
}

.ba-count-select {
    appearance: none;
    width: 100%;
    padding: 0.875rem 2.5rem 0.875rem 1rem;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-weight: 500;
    color: var(--gray-800);
    background: var(--surface-color);
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.ba-count-select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(30, 64, 175, 0.1);
}

.ba-select-arrow {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray-400);
    font-size: 0.875rem;
    pointer-events: none;
    transition: color 0.2s ease;
}

.ba-count-group:hover .ba-select-arrow {
    color: var(--primary-color);
}

/* 조회하기 버튼 */
.ba-analysis-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.5rem;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
    justify-content: center;
}

.ba-analysis-btn:hover {
    background: var(--primary-dark);
}

.ba-analysis-btn:active {
    transform: translateY(0);
}

.ba-analysis-btn i {
    font-size: 0.875rem;
}

/* Empty State 섹션 */
.ba-empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 4rem 2rem;
    background: var(--surface-color);
    border-radius: var(--radius-md);
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(229, 231, 235, 0.8);
    margin-bottom: 2rem;
}

.ba-empty-state-icon {
    margin-bottom: 1.5rem;
}

.ba-empty-state-icon i {
    font-size: 4rem;
    color: var(--gray-300);
}

.ba-empty-state-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 0.75rem;
}

.ba-empty-state-description {
    font-size: 1rem;
    color: var(--gray-500);
    margin: 0;
    line-height: 1.5;
}

@media (max-width: 1200px) {
    .ba-analysis-container {
        padding: 1.75rem;
    }
}

@media (max-width: 900px) {
    .ba-analysis-container {
        padding: 1.5rem;
    }
}

/* 모바일 반응형 - 768px 이하에서만 적용 */
@media (max-width: 768px) {
    .ba-analysis-container {
        padding: 1.25rem;
        margin-bottom: 1rem;
    }
    
    .ba-input-section {
        flex-direction: column;
        align-items: stretch;
        gap: 0.75rem;
    }
    
    .ba-input-row {
        flex-direction: row;
        gap: 0.75rem;
    }
    
    .ba-blog-input-group {
        flex: 1;
    }
    
    .ba-count-group {
        flex: none;
        min-width: 120px;
    }
    
    .ba-blog-input {
        padding: 0.75rem 5rem 0.75rem 2.5rem;
        font-size: 0.9rem;
    }
    
    .ba-nickname-btn {
        padding: 0.4rem 0.75rem;
        font-size: 0.8rem;
        right: 0.5rem;
    }

    .ba-blog-icon {
        left: 0.875rem;
        font-size: 0.9rem;
    }
    
    .ba-count-select {
        padding: 0.75rem 2.25rem 0.75rem 0.875rem;
        font-size: 0.875rem;
    }
    
    .ba-select-arrow {
        right: 0.875rem;
        font-size: 0.75rem;
    }
    
    .ba-analysis-btn {
        padding: 0.75rem 1.25rem;
        font-size: 0.875rem;
        width: 100%;
        justify-content: center;
    }
    
    .ba-empty-state {
        padding: 2rem 1rem;
        margin: 0;
        margin-bottom: 1rem;
    }
    
    .ba-empty-state-icon {
        margin-bottom: 1rem;
    }
    
    .ba-empty-state-icon i {
        font-size: 2.5rem;
    }
    
    .ba-empty-state-title {
        font-size: 1.125rem;
        margin-bottom: 0.5rem;
    }
    
    .ba-empty-state-description {
        font-size: 0.875rem;
        line-height: 1.4;
    }
}

@media (max-width: 480px) {
    .ba-analysis-container {
        padding: 0.75rem;
        margin-bottom: 0.75rem;
        border-radius: var(--radius-md);
    }
    
    .ba-input-section {
        gap: 0.5rem;
    }
    
    .ba-input-row {
        gap: 0.5rem;
    }
    
    .ba-count-group {
        min-width: 100px;
    }
    
    .ba-blog-input {
        padding: 0.625rem 4rem 0.625rem 2.25rem;
        font-size: 0.875rem;
    }
    
    .ba-nickname-btn {
        padding: 0.375rem 0.625rem;
        font-size: 0.75rem;
        right: 0.375rem;
    }

    .ba-blog-icon {
        left: 0.75rem;
        font-size: 0.875rem;
    }
    
    .ba-count-select {
        padding: 0.625rem 2rem 0.625rem 0.75rem;
        font-size: 0.875rem;
    }
    
    .ba-select-arrow {
        right: 0.75rem;
        font-size: 0.75rem;
    }
    
    .ba-analysis-btn {
        padding: 0.625rem 1rem;
        font-size: 0.875rem;
    }
    
    .ba-empty-state {
        padding: 1.5rem 0.75rem;
        margin-bottom: 0.75rem;
    }
    
    .ba-empty-state-icon {
        margin-bottom: 0.75rem;
    }
    
    .ba-empty-state-icon i {
        font-size: 2rem;
    }
    
    .ba-empty-state-title {
        font-size: 1rem;
        margin-bottom: 0.375rem;
        line-height: 1.3;
    }
    
    .ba-empty-state-description {
        font-size: 0.8125rem;
        line-height: 1.3;
    }
}

/* 블로그 평가 지표 섹션 */
.ba-evaluation-section {
    display: none;
    background: var(--surface-color);
    border-radius: var(--radius-md);
    padding: 32px;
    margin-bottom: 2rem;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(229, 231, 235, 0.8);
}

.ba-evaluation-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-800);
    margin: 0 0 1.5rem 0;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--gray-100);
}

.ba-evaluation-title i {
    font-size: 1.25rem;
    color: var(--primary-color);
}

/* 지표 그리드 - 2개 항목 */
.ba-indicators-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.ba-indicator-item {
    background: #ffffff;
    border: 1px solid rgba(229, 231, 235, 0.8);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.05);
}

.ba-indicator-item:hover {
    border-color: var(--gray-300);
}

.ba-indicator-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

.ba-indicator-icon {
    font-size: 1.125rem;
    color: var(--primary-color);
}

.ba-indicator-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--gray-800);
    letter-spacing: 0.025em;
}

/* 진행 바 컨테이너 */
.ba-progress-container {
    position: relative;
}

.ba-progress-bar {
    width: 100%;
    height: 2rem;
    background: #f8fafc;
    border: 1px solid rgba(229, 231, 235, 0.6);
    border-radius: var(--radius-md);
    overflow: hidden;
    position: relative;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.04);
}

.ba-progress-fill {
    height: 100%;
    width: 0%;
    position: relative;
    border-radius: var(--radius-md);
    transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.ba-progress-fill::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.1) 50%, rgba(0, 0, 0, 0.05) 100%);
    border-radius: var(--radius-md);
}

/* 노출 지수 - 등급에 따라 동적으로 색상 설정됨 (JavaScript) */
.ba-grade-fill {
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.ba-grade-value {
    position: absolute;
    top: 50%;
    left: 1.25rem;
    transform: translateY(-50%);
    font-size: 0.95rem;
    font-weight: 700;
    color: #ffffff;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
    z-index: 3;
    letter-spacing: 0.05em;
}

/* 노출 점수 - 부드러운 노란색 */
.ba-exposure-score-fill {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 70%, #f59e0b 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.ba-progress-value {
    position: absolute;
    top: 50%;
    left: 1.25rem;
    transform: translateY(-50%);
    font-size: 0.9rem;
    font-weight: 700;
    color: #ffffff;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
    z-index: 3;
    letter-spacing: 0.025em;
}

/* ba-evaluation-section 반응형 패딩 */
@media (max-width: 1200px) {
    .ba-evaluation-section {
        padding: 28px;
    }
}

/* ba-evaluation-title 전용 900px 미디어 쿼리 */
@media (max-width: 900px) {
    .ba-evaluation-section {
        padding: 24px;
    }
    
    .ba-evaluation-title {
        font-size: 1.375rem;
        gap: 0.625rem;
        margin-bottom: 1.25rem;
        padding-bottom: 0.875rem;
    }
    
    .ba-evaluation-title i {
        font-size: 1.125rem;
    }
}

/* 모바일 반응형 - 768px 이하에서만 적용 */
@media (max-width: 768px) {
    .ba-evaluation-section {
        padding: 20px;
        margin-bottom: 1rem;
    }
    
    .ba-evaluation-title {
        font-size: 1.25rem;
        margin-bottom: 1.25rem;
        padding-bottom: 0.75rem;
    }
    
    .ba-evaluation-title i {
        font-size: 1.125rem;
    }
    
    .ba-indicators-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .ba-indicator-item {
        padding: 1rem;
    }
    
    .ba-indicator-header {
        gap: 0.5rem;
        margin-bottom: 1rem;
    }
    
    .ba-indicator-icon {
        font-size: 1rem;
    }
    
    .ba-indicator-label {
        font-size: 0.85rem;
    }
    
    .ba-progress-bar {
        height: 1.75rem;
    }
    
    .ba-progress-value {
        font-size: 0.8rem;
        left: 1rem;
    }
    
    .ba-grade-value {
        font-size: 0.85rem;
        left: 1rem;
    }
}

@media (max-width: 480px) {
    .ba-evaluation-section {
        padding: 12px;
        margin-bottom: 0.75rem;
    }
    
    .ba-evaluation-title {
        font-size: 1.125rem;
        gap: 0.5rem;
        margin-bottom: 1rem;
        padding-bottom: 0.5rem;
    }
    
    .ba-evaluation-title i {
        font-size: 1rem;
    }
    
    .ba-indicators-grid {
        gap: 0.75rem;
    }
    
    .ba-indicator-item {
        padding: 0.875rem;
    }
    
    .ba-indicator-header {
        margin-bottom: 0.75rem;
        gap: 0.5rem;
    }
    
    .ba-indicator-icon {
        font-size: 0.95rem;
    }
    
    .ba-indicator-label {
        font-size: 0.8rem;
    }
    
    .ba-progress-bar {
        height: 1.5rem;
    }
    
    .ba-progress-value {
        font-size: 0.75rem;
        left: 0.875rem;
    }
    
    .ba-grade-value {
        font-size: 0.8rem;
        left: 0.875rem;
    }
}

/* 블로그 기본 정보 섹션 스타일 */
.ba-basic-info-section {
    display: none;
    background: var(--surface-color);
    border-radius: var(--radius-md);
    padding: 32px;
    margin-bottom: 2rem;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(229, 231, 235, 0.8);
}

.ba-basic-info-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-800);
    margin: 0 0 1.5rem 0;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--gray-100);
}

.ba-basic-info-title i {
    color: var(--primary-color);
    font-size: 1.25rem;
}

.ba-basic-info-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1.25rem;
    min-width: 0;
    overflow: hidden;
}

.ba-info-item {
    background: var(--white);
    border-radius: var(--radius-sm);
    padding: 1.125rem;
    border: 1px solid var(--gray-100);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    min-width: 0;
    overflow-x: auto;
    overflow-y: hidden;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.05);
}

.ba-info-item::-webkit-scrollbar {
    display: none;
}

.ba-info-item {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.ba-info-item:hover {
    border-color: var(--gray-300);
}

.ba-info-header {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    margin-bottom: 0.625rem;
}

.ba-info-icon {
    color: var(--primary-color);
    font-size: 0.8125rem;
}

.ba-info-label {
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--gray-600);
    line-height: 1.2;
    white-space: nowrap;
    min-width: 0;
}

.ba-info-value {
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--gray-800);
    margin: 0;
    line-height: 1.4;
    white-space: nowrap;
    min-width: 0;
}

/* 닉네임 값 - 공식 블로그 배지 표시를 위한 flex 레이아웃 */
#baNicknameValue {
    display: flex;
    align-items: center;
    gap: 0.3125rem;
}

/* 공식 블로그 배지 */
.ba-official-badge {
    width: 1rem;
    height: 1rem;
    flex-shrink: 0;
    display: inline-block;
    vertical-align: middle;
}

@media (max-width: 1200px) {
    .ba-basic-info-section {
        padding: 28px;
    }
    
    .ba-basic-info-grid {
        gap: 1rem;
        min-width: 0;
        overflow: hidden;
    }
    
    .ba-info-item {
        padding: 1rem;
        min-width: 0;
        overflow-x: auto;
        overflow-y: hidden;
    }
    
    .ba-info-header {
        gap: 0.25rem;
        margin-bottom: 0.5rem;
    }
    
    .ba-info-icon {
        font-size: 0.75rem;
    }
    
    .ba-info-label {
        font-size: 0.75rem;
        white-space: nowrap;
        min-width: 0;
    }
    
    .ba-info-value {
        font-size: 0.875rem;
        white-space: nowrap;
        min-width: 0;
    }
}

@media (max-width: 900px) {
    .ba-basic-info-section {
        padding: 24px;
    }
    
    .ba-basic-info-title {
        font-size: 1.375rem;
        gap: 0.625rem;
        margin-bottom: 1.25rem;
        padding-bottom: 0.875rem;
    }
    
    .ba-basic-info-title i {
        font-size: 1.125rem;
    }
    
    .ba-basic-info-grid {
        gap: 0.875rem;
        min-width: 0;
        overflow: hidden;
    }
    
    .ba-info-item {
        padding: 0.875rem;
        min-width: 0;
        overflow-x: auto;
        overflow-y: hidden;
    }
    
    .ba-info-header {
        gap: 0.25rem;
        margin-bottom: 0.5rem;
    }
    
    .ba-info-icon {
        font-size: 0.6875rem;
    }
    
    .ba-info-label {
        font-size: 0.6875rem;
        white-space: nowrap;
        line-height: 1.1;
        min-width: 0;
    }
    
    .ba-info-value {
        font-size: 0.8125rem;
        white-space: nowrap;
        line-height: 1.2;
        min-width: 0;
    }
}

@media (max-width: 768px) {
    .ba-basic-info-section {
        padding: 20px;
        margin-bottom: 1rem;
    }
    
    .ba-basic-info-title {
        font-size: 1.25rem;
        margin-bottom: 1.25rem;
        padding-bottom: 0.75rem;
    }
    
    .ba-basic-info-title i {
        font-size: 1.125rem;
    }
    
    .ba-basic-info-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        min-width: 0;
        overflow: hidden;
    }
    
    .ba-info-item {
        padding: 1rem;
        min-width: 0;
        overflow-x: auto;
        overflow-y: hidden;
    }
    
    .ba-info-header {
        margin-bottom: 0.5rem;
    }
    
    .ba-info-icon {
        font-size: 0.75rem;
    }
    
    .ba-info-label {
        font-size: 0.8125rem;
        min-width: 0;
    }
    
    .ba-info-value {
        font-size: 0.9375rem;
        min-width: 0;
    }
}

@media (max-width: 480px) {
    .ba-basic-info-section {
        padding: 12px;
        margin-bottom: 0.75rem;
    }
    
    .ba-basic-info-title {
        font-size: 1.125rem;
        gap: 0.5rem;
        margin-bottom: 1rem;
        padding-bottom: 0.5rem;
    }
    
    .ba-basic-info-title i {
        font-size: 1rem;
    }
    
    .ba-basic-info-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
        min-width: 0;
        overflow: hidden;
    }
    
    .ba-info-item {
        padding: 0.875rem;
        min-width: 0;
        overflow-x: auto;
        overflow-y: hidden;
    }
    
    .ba-info-header {
        gap: 0.375rem;
        margin-bottom: 0.5rem;
    }
    
    .ba-info-icon {
        font-size: 0.75rem;
    }
    
    .ba-info-label {
        font-size: 0.75rem;
        line-height: 1.1;
        min-width: 0;
    }
    
    .ba-info-value {
        font-size: 0.875rem;
        line-height: 1.3;
        min-width: 0;
    }
}

/* 지난주 조회수 Top 10 섹션 스타일 */
.ba-top-posts-section {
    display: none;
    background: var(--surface-color);
    border-radius: var(--radius-md);
    padding: 32px;
    margin-bottom: 2rem;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(229, 231, 235, 0.8);
    overflow-x: hidden;
}

.ba-top-posts-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-800);
    margin: 0 0 1.5rem 0;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--gray-100);
}

.ba-top-posts-title i {
    color: var(--primary-color);
    font-size: 1.25rem;
}

.ba-top-posts-container {
    max-height: 280px;
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 0.5rem;
}

.ba-top-posts-container::-webkit-scrollbar {
    width: 6px;
}

.ba-top-posts-container::-webkit-scrollbar-track {
    background: var(--gray-100);
    border-radius: 3px;
}

.ba-top-posts-container::-webkit-scrollbar-thumb {
    background: var(--gray-300);
    border-radius: 3px;
}

.ba-top-posts-container::-webkit-scrollbar-thumb:hover {
    background: var(--gray-400);
}

.ba-top-posts-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    overflow-x: hidden;
}

.ba-top-post-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-x: hidden;
}

.ba-top-post-item:hover {
    border-color: var(--gray-300);
}

.ba-post-rank {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    background: var(--gradient-primary);
    color: var(--white);
    border-radius: 50%;
    font-size: 1rem;
    font-weight: 700;
    flex-shrink: 0;
}

.ba-post-content {
    flex: 1;
    min-width: 0;
}

.ba-post-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--gray-800);
    line-height: 1.4;
    margin-bottom: 0.75rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ba-post-stats {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.ba-post-stat {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.75rem;
    color: var(--gray-600);
}

.ba-post-stat i {
    font-size: 0.75rem;
    color: var(--gray-400);
}

.ba-post-goto {
    flex-shrink: 0;
}

.ba-goto-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    background: var(--gray-100);
    color: var(--gray-600);
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.ba-goto-btn:hover {
    background: var(--primary-color);
    color: var(--white);
}

.ba-goto-btn i {
    font-size: 0.875rem;
}



/* 1200px 이하 반응형 */
@media (max-width: 1200px) {
    .ba-top-posts-section {
        padding: 28px;
    }
    
    .ba-top-posts-title {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
        padding-bottom: 1rem;
    }
    
    .ba-top-posts-title i {
        font-size: 1.25rem;
    }
    
    .ba-top-post-item {
        padding: 0.875rem;
        gap: 0.75rem;
    }
    
    .ba-post-rank {
        width: 2.25rem;
        height: 2.25rem;
        font-size: 0.9rem;
    }
    
    .ba-post-title {
        font-size: 0.85rem;
        margin-bottom: 0.5rem;
    }
    
    .ba-post-stats {
        gap: 0.75rem;
    }
    
    .ba-post-stat {
        font-size: 0.7rem;
    }
}

/* 900px 이하 반응형 */
@media (max-width: 900px) {
    .ba-top-posts-section {
        padding: 24px;
    }
    
    .ba-top-posts-title {
        font-size: 1.375rem;
        gap: 0.625rem;
        margin-bottom: 1.25rem;
        padding-bottom: 0.875rem;
    }
    
    .ba-top-posts-title i {
        font-size: 1.125rem;
    }
    
    .ba-top-posts-list {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .ba-top-post-item {
        flex-direction: row;
        align-items: flex-start;
        gap: 0.75rem;
        padding: 1rem;
    }
    
    .ba-post-rank {
        width: 2rem;
        height: 2rem;
        font-size: 0.8rem;
        flex-shrink: 0;
    }
    
    .ba-post-content {
        flex: 1;
        min-width: 0;
    }
    
    .ba-post-title {
        font-size: 0.9rem;
        margin-bottom: 0.75rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        line-height: 1.3;
    }
    
    .ba-post-stats {
        gap: 0.5rem;
        flex-wrap: wrap;
    }
    
    .ba-post-stat {
        font-size: 0.75rem;
    }
    
    .ba-post-goto {
        flex-shrink: 0;
        align-self: flex-start;
    }
}

/* 768px 이하 반응형 */
@media (max-width: 768px) {
    .ba-top-posts-section {
        padding: 20px;
        margin-bottom: 1rem; /* 16px */
    }
    
    .ba-top-posts-title {
        font-size: 1.25rem;
        gap: 0.625rem;
        margin-bottom: 1.25rem;
        padding-bottom: 0.75rem;
    }
    
    .ba-top-posts-title i {
        font-size: 1.125rem;
    }
    
    .ba-top-posts-container {
        max-height: 250px;
    }
    
    .ba-top-post-item {
        padding: 0.875rem;
    }
    
    .ba-post-title {
        font-size: 0.85rem;
    }
    
    .ba-post-stat {
        font-size: 0.7rem;
    }
    
    .ba-goto-btn {
        width: 1.75rem;
        height: 1.75rem;
    }
    
    .ba-goto-btn i {
        font-size: 0.7rem;
    }
}

/* 480px 이하 반응형 */
@media (max-width: 480px) {
    .ba-top-posts-section {
        padding: 12px;
        margin-bottom: 0.75rem; /* 12px */
    }
    
    .ba-top-posts-title {
        font-size: 1.125rem;
        gap: 0.5rem;
        margin-bottom: 1rem;
        padding-bottom: 0.5rem;
    }
    
    .ba-top-posts-title i {
        font-size: 1rem;
    }
    
    .ba-top-posts-container {
        max-height: 220px;
    }
    
    .ba-top-post-item {
        padding: 0.75rem;
        gap: 0.5rem;
    }
    
    .ba-post-rank {
        width: 1.75rem;
        height: 1.75rem;
        font-size: 0.75rem;
    }
    
    .ba-post-title {
        font-size: 0.8rem;
        margin-bottom: 0.5rem;
    }
    
    .ba-post-stats {
        gap: 0.375rem;
        flex-wrap: wrap;
    }
    
    .ba-post-stat {
        font-size: 0.65rem;
    }
    
    .ba-goto-btn {
        width: 1.5rem;
        height: 1.5rem;
    }
    
    .ba-goto-btn i {
        font-size: 0.65rem;
    }
}

/* 포스트 목록 테이블 스타일 (블로그 분석 전용) */

/* 테이블 컨테이너 */
.ba-table-container {
    display: none;
    border-radius: var(--radius-md);
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(229, 231, 235, 0.8);
    margin-bottom: 2rem;
    background: var(--surface-color);
    overflow: hidden;
}

/* 테이블 스크롤 영역 */
.ba-table-scroll {
    overflow: auto;
}

/* 테이블 */
.ba-results-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 0.875rem;
    background: var(--surface-color);
}

.ba-results-table th {
    background: #e2e8f0;
    padding: 0.625rem 0.875rem;
    text-align: center;
    font-weight: 600;
    color: var(--gray-700);
    border-bottom: 1px solid var(--gray-300);
    border-right: 1px solid var(--gray-300);
    white-space: nowrap;
    position: sticky;
    top: 0;
    z-index: 1003;
    font-size: 0.875rem;
}

.ba-results-table th:last-child {
    border-right: none;
}

.ba-results-table td {
    padding: 0.25rem 0.875rem;
    border-bottom: 1px solid var(--gray-100);
    border-right: 1px solid var(--gray-100);
    color: var(--gray-700);
    white-space: nowrap;
    vertical-align: middle;
    font-size: 0.875rem;
    line-height: 1.2;
    text-align: center;
    height: 38.594px;
}

.ba-results-table td:last-child {
    border-right: none;
}

.ba-results-table tbody tr {
    transition: all 0.15s ease;
}

.ba-results-table tbody tr:hover {
    background: rgba(30, 64, 175, 0.03);
}

.ba-results-table tr:last-child td {
    border-bottom: none;
}

/* No. 열 스타일 */
.ba-results-table td:nth-child(1) {
    font-weight: 700;
    color: var(--primary-color);
}

/* 발행일 열 스타일 */
.ba-results-table td:nth-child(2) {
    color: var(--gray-700);
}

/* 제목 열 스타일 */
.ba-results-table td:nth-child(3) {
    font-weight: 600;
    color: var(--gray-700);
    max-width: 300px;
    text-align: left;
    padding: 0.25rem 0.875rem;
}

/* 제목 열 내용 컨테이너 */
.ba-title-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    width: 100%;
}

/* 제목 텍스트 */
.ba-title-text {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    flex: 1;
    min-width: 0;
    transition: color 0.2s ease;
}

.ba-title-text:hover {
    color: var(--primary-color);
}

/* 바로가기 아이콘 */
.ba-link-icon {
    color: var(--primary-color);
    cursor: pointer;
    font-size: 0.875rem;
    transition: all 0.2s ease;
    padding: 0.25rem;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    flex-shrink: 0;
}

.ba-link-icon:hover {
    color: var(--white);
    background: var(--primary-color);
    box-shadow: 0 2px 8px rgba(30, 64, 175, 0.25);
}

/* 노출 지수 열 스타일 (background는 JavaScript에서 등급에 따라 동적으로 설정됨) */
.ba-results-table td:nth-child(4) {
    font-weight: 600;
    color: var(--white);
    min-width: 100px;
    width: 100px;
    font-size: 0.9375rem;
}

/* 댓글, 공감, 공유 열 스타일 */
.ba-results-table td:nth-child(5),
.ba-results-table td:nth-child(6),
.ba-results-table td:nth-child(7) {
    color: var(--gray-700);
}

/* 미디어 관련 열들 (이미지, 동영상) */
.ba-results-table td:nth-child(8),
.ba-results-table td:nth-child(9) {
    color: var(--gray-700);
}

/* 1200px 브레이크포인트 */
@media (max-width: 1200px) {
    .ba-results-table th {
        padding: 0.5625rem 0.8125rem;
        font-size: 0.8438rem;
    }
    
    .ba-results-table td {
        padding: 0.25rem 0.8125rem;
        font-size: 0.8438rem;
        height: 38.594px;
    }
    
    .ba-results-table td:nth-child(3) {
        max-width: 290px;
    }
    
    .ba-results-table td:nth-child(4) {
        min-width: 95px;
        width: 95px;
        font-size: 0.90625rem;
    }
    
    .ba-link-icon {
        font-size: 0.8438rem;
    }
}

/* 테이블 스크롤 영역 스크롤바 스타일링 - PC에서만 표시 */
@media (min-width: 1025px) {
    .ba-table-scroll::-webkit-scrollbar {
        width: 5px;
        height: 5px;
    }

    .ba-table-scroll::-webkit-scrollbar-track {
        background: var(--gray-100);
        border-radius: 2.5px;
    }

    .ba-table-scroll::-webkit-scrollbar-thumb {
        background: var(--gray-300);
        border-radius: 2.5px;
    }

    .ba-table-scroll::-webkit-scrollbar-thumb:hover {
        background: var(--gray-400);
    }

    .ba-table-scroll::-webkit-scrollbar-corner {
        background: var(--gray-100);
    }
}

/* 태블릿에서 스크롤바 숨기기 */
@media (max-width: 1024px) {
    .ba-table-scroll::-webkit-scrollbar {
        display: none;
    }
    
    .ba-table-scroll {
        scrollbar-width: none;
    }
    
    .ba-results-table th {
        z-index: 10;
    }
}

/* 900px 브레이크포인트 */
@media (max-width: 900px) {
    .ba-results-table th {
        padding: 0.53125rem 0.78125rem;
        font-size: 0.8281rem;
    }
    
    .ba-results-table td {
        padding: 0.25rem 0.78125rem;
        font-size: 0.8281rem;
        height: 35px;
    }
    
    .ba-results-table td:nth-child(3) {
        max-width: 285px;
    }
    
    .ba-results-table td:nth-child(4) {
        min-width: 92px;
        width: 92px;
        font-size: 0.89063rem;
    }
    
    .ba-link-icon {
        font-size: 0.8281rem;
        padding: 0.21875rem;
    }
}

/* 모바일에서 스크롤바 숨기기 */
@media (max-width: 768px) {
    .ba-table-scroll::-webkit-scrollbar {
        display: none;
    }
    
    .ba-table-scroll {
        scrollbar-width: none;
    }
    
    .ba-table-container {
        margin-bottom: 16px;
    }
    
    .ba-results-table {
        font-size: 0.8125rem;
    }
    
    .ba-results-table th {
        padding: 0.5rem 0.75rem;
        font-size: 0.8125rem;
    }
    
    .ba-results-table td {
        padding: 0.25rem 0.75rem;
        font-size: 0.8125rem;
        height: 33px;
    }
    
    .ba-results-table td:nth-child(3) {
        max-width: 280px;
    }
    
    .ba-results-table td:nth-child(4) {
        min-width: 90px;
        width: 90px;
        font-size: 0.875rem;
    }
    
    .ba-link-icon {
        font-size: 0.8125rem;
        padding: 0.1875rem;
    }
}

@media (max-width: 480px) {
    .ba-table-container {
        margin-bottom: 12px;
    }
    
    .ba-results-table {
        font-size: 0.75rem;
    }
    
    .ba-results-table th {
        padding: 0.375rem 0.5rem;
        font-size: 0.75rem;
    }
    
    .ba-results-table td {
        padding: 0.25rem 0.5rem;
        font-size: 0.75rem;
        height: 29px;
    }
    
    .ba-results-table td:nth-child(3) {
        max-width: 280px;
    }
    
    .ba-results-table td:nth-child(4) {
        min-width: 80px;
        width: 80px;
        font-size: 0.8125rem;
    }
    
    .ba-link-icon {
        font-size: 0.75rem;
        padding: 0.125rem;
    }
}

/* 페이지네이션 컨테이너 */
.ba-pagination-container {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 2rem;
    margin-bottom: 2rem;
    padding: 1.5rem 0;
}

/* 페이지네이션 */
.ba-pagination {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* 페이지 버튼 공통 스타일 */
.ba-page-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    border: 1px solid var(--gray-200);
    background: var(--surface-color);
    color: var(--gray-600);
    font-size: 1rem;
    font-weight: 500;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    user-select: none;
}

.ba-page-btn:hover {
    background: var(--gray-50);
    border-color: var(--gray-400);
}

/* 활성 페이지 */
.ba-page-btn.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
    font-weight: 600;
}

.ba-page-btn.active:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
}

/* 돋보기 아이콘 */
.ba-search-page-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    border: 1px solid var(--primary-color);
    background: var(--surface-color);
    color: var(--primary-color);
    font-size: 1rem;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 0.2s ease;
    margin-left: 0.75rem;
}

.ba-search-page-btn:hover {
    background: var(--primary-color);
    color: var(--white);
    box-shadow: 0 2px 8px rgba(30, 64, 175, 0.25);
}

/* 페이지네이션 768px 반응형 */
@media (max-width: 768px) {
    .ba-pagination-container {
        margin-top: 1.5rem;
        margin-bottom: 1.5rem;
        padding: 1rem 0;
        gap: 0.5rem;
    }
    
    .ba-pagination {
        gap: 0.375rem;
    }
    
    .ba-page-btn,
    .ba-search-page-btn {
        width: 2.5rem;
        height: 2.5rem;
        font-size: 0.9375rem;
    }
    
    .ba-search-page-btn {
        margin-left: 0.5rem;
    }
}

/* 페이지네이션 480px 반응형 */
@media (max-width: 480px) {
    .ba-pagination-container {
        margin-top: 1rem;
        margin-bottom: 1rem;
        padding: 0.75rem 0;
        gap: 0.375rem;
    }
    
    .ba-page-btn,
    .ba-search-page-btn {
        width: 2.25rem;
        height: 2.25rem;
        font-size: 0.875rem;
    }
    
    .ba-pagination {
        gap: 0.25rem;
    }
    
    .ba-search-page-btn {
        margin-left: 0.375rem;
    }
}

/* 블로그 분석 페이지 닉네임 모달 스타일 */

/* 모달 오버레이 */
.ba-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    padding: 1rem;
}

/* 모달 컨테이너 */
.ba-modal-container {
    background: var(--surface-color);
    border-radius: var(--radius-md);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    max-width: 75vw;
    height: 430px;
    max-height: 430px;
    width: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* 모달 헤더 */
.ba-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--gray-200);
    background: var(--gray-50);
    border-radius: var(--radius-md) var(--radius-md) 0 0;
}

.ba-modal-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--gray-800);
}

.ba-modal-title i {
    color: var(--primary-color);
    font-size: 1rem;
}

.ba-modal-close-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    background: transparent;
    border: none;
    border-radius: var(--radius-sm);
    color: var(--gray-500);
    cursor: pointer;
    transition: all 0.2s ease;
}

.ba-modal-close-btn:hover {
    background: var(--gray-200);
    color: var(--gray-700);
}

.ba-modal-close-btn i {
    font-size: 0.875rem;
}

/* 모달 콘텐츠 */
.ba-modal-content {
    flex: 1;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

/* 모달 로딩 */
.ba-modal-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
    margin-bottom: 0;
    text-align: center;
    width: 100%;
    height: 100%;
    flex: 1;
}

.ba-loading-spinner {
    margin-bottom: 1rem;
}

.ba-loading-spinner i {
    font-size: 2rem;
    color: var(--primary-color);
    animation: spin 1s linear infinite;
}

.ba-loading-text {
    font-size: 0.875rem;
    color: var(--gray-600);
    font-weight: 500;
}

/* 모달 테이블 래퍼 */
.ba-modal-table-wrapper {
    flex: 1;
    overflow: hidden;
    padding: 1.5rem;
}

/* 모달 테이블 컨테이너 */
.ba-modal-table-container {
    width: 100%;
    overflow-x: auto;
    overflow-y: auto;
    flex: 1;
    max-height: 100%;
    border-radius: var(--radius-md);
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(229, 231, 235, 0.8);
    background: var(--surface-color);
    -webkit-overflow-scrolling: touch;
    display: block;
}

/* 모달 테이블 */
.ba-modal-results-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 0.875rem;
    background: var(--surface-color);
    min-width: 650px;
}

.ba-modal-results-table th {
    background: #e2e8f0;
    padding: 0.625rem 0.875rem;
    text-align: center;
    font-weight: 600;
    color: var(--gray-700);
    border-bottom: 1px solid var(--gray-300);
    border-right: 1px solid var(--gray-300);
    white-space: nowrap;
    position: sticky;
    top: 0;
    z-index: 10;
    font-size: 0.875rem;
}

.ba-modal-results-table th:last-child {
    border-right: none;
}

.ba-modal-results-table td {
    padding: 0.25rem 0.875rem;
    border-bottom: 1px solid var(--gray-100);
    border-right: 1px solid var(--gray-100);
    color: var(--gray-700);
    white-space: nowrap;
    vertical-align: middle;
    font-size: 0.875rem;
    line-height: 1.2;
    text-align: center;
}

.ba-modal-results-table td:last-child {
    border-right: none;
}

.ba-modal-results-table tbody tr {
    transition: all 0.15s ease;
}

.ba-modal-results-table tbody tr:hover {
    background: rgba(30, 64, 175, 0.03);
}

.ba-modal-results-table tr:last-child td {
    border-bottom: none;
}

/* 모달 테이블 특정 열 스타일 */

/* 선택 열 스타일 (체크 아이콘) */
.ba-modal-results-table td:nth-child(1) {
    text-align: center;
}

/* 프로필 이미지 열 스타일 */
.ba-modal-results-table td:nth-child(2) {
    text-align: center;
}

.ba-modal-profile-image {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid var(--gray-200);
}

/* 블로그명, 닉네임, 블로그 아이디, 소개글 열 스타일 */
.ba-modal-results-table td:nth-child(3),
.ba-modal-results-table td:nth-child(4),
.ba-modal-results-table td:nth-child(5),
.ba-modal-results-table td:nth-child(6) {
    font-weight: 400;
    color: var(--gray-700);
    text-align: left;
    white-space: nowrap;
}

/* 모달 테이블 공식 블로그 배지 */
.ba-modal-results-table .ba-official-badge {
    width: 1rem;
    height: 1rem;
    vertical-align: -0.2em;
    display: inline-block;
    margin-left: 0.3125rem;
}

/* 모달 내 아이콘들 */
.ba-modal-check-icon {
    color: var(--primary-color);
    cursor: pointer;
    font-size: 1.1rem;
    transition: all 0.2s ease;
    padding: 0.375rem;
    border-radius: var(--radius-sm);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.ba-modal-check-icon:hover {
    color: var(--white);
    background: var(--primary-color);
    box-shadow: 0 2px 4px rgba(30, 64, 175, 0.3);
}

/* 모달 반응형 디자인 */

/* 1200px 이하 */
@media (max-width: 1200px) {
    .ba-modal-container {
        max-width: 80vw;
        height: 400px;
        max-height: 400px;
    }
    
    .ba-modal-header {
        padding: 1.125rem 1.375rem;
    }

    
    .ba-modal-table-wrapper {
        padding: 1.375rem;
    }
    
    .ba-modal-results-table {
        min-width: 600px;
    }
    
    .ba-modal-results-table th {
        padding: 0.5625rem 0.8125rem;
        font-size: 0.8438rem;
    }
    
    .ba-modal-results-table td {
        padding: 0.25rem 0.8125rem;
        font-size: 0.8438rem;
    }
    
    .ba-modal-profile-image {
        width: 30px;
        height: 30px;
    }
}

/* 모달 테이블 컨테이너 스크롤바 스타일링 - PC에서만 표시 */
@media (min-width: 1025px) {
    .ba-modal-table-container::-webkit-scrollbar {
        width: 6px;
        height: 6px;
    }

    .ba-modal-table-container::-webkit-scrollbar-track {
        background: var(--gray-100);
        border-radius: 3px;
    }

    .ba-modal-table-container::-webkit-scrollbar-thumb {
        background: var(--gray-300);
        border-radius: 3px;
    }

    .ba-modal-table-container::-webkit-scrollbar-thumb:hover {
        background: var(--gray-400);
    }

    .ba-modal-table-container::-webkit-scrollbar-corner {
        background: var(--gray-100);
    }
}

/* 태블릿에서 스크롤바 숨기기 */
@media (max-width: 1024px) {
    .ba-modal-table-container::-webkit-scrollbar {
        display: none;
    }
    
    .ba-modal-table-container {
        scrollbar-width: none;
    }
}

/* 900px 이하 */
@media (max-width: 900px) {
    .ba-modal-overlay {
        padding: 0.75rem;
    }
    
    .ba-modal-container {
        max-width: 85vw;
        height: 380px;
        max-height: 380px;
    }
    
    .ba-modal-header {
        padding: 1rem 1.25rem;
    }

    
    .ba-modal-table-wrapper {
        padding: 1.25rem;
    }
    
    .ba-modal-results-table {
        min-width: 550px;
    }
    
    .ba-modal-results-table th {
        padding: 0.53125rem 0.78125rem;
        font-size: 0.8281rem;
    }
    
    .ba-modal-results-table td {
        padding: 0.25rem 0.78125rem;
        font-size: 0.8281rem;
    }
    
    .ba-modal-check-icon {
        font-size: 1.0625rem;
        padding: 0.28125rem;
    }
    
    .ba-modal-profile-image {
        width: 28px;
        height: 28px;
    }
}

/* 768px 이하 */
@media (max-width: 768px) {
    .ba-modal-overlay {
        padding: 0.5rem;
    }
    
    .ba-modal-container {
        max-width: 90vw;
        height: 350px;
        max-height: 350px;
    }
    
    .ba-modal-header {
        padding: 0.875rem 1rem;
    }
    
    .ba-modal-title {
        font-size: 1rem;
        gap: 0.375rem;
    }
    
    .ba-modal-title i {
        font-size: 0.875rem;
    }
    
    .ba-modal-close-btn {
        width: 1.75rem;
        height: 1.75rem;
    }
    
    .ba-modal-close-btn i {
        font-size: 0.8125rem;
    }
    
    .ba-modal-loading {
        padding: 2rem 1rem;
    }
    
    .ba-loading-spinner i {
        font-size: 1.75rem;
        animation: spin 1s linear infinite;
    }
    
    .ba-loading-text {
        font-size: 0.8125rem;
    }
    
    .ba-modal-table-wrapper {
        padding: 1rem;
    }
    
    .ba-modal-results-table {
        font-size: 0.8125rem;
        min-width: 500px;
    }
    
    .ba-modal-results-table th {
        padding: 0.5rem 0.75rem;
        font-size: 0.8125rem;
    }
    
    .ba-modal-results-table td {
        padding: 0.25rem 0.75rem;
        font-size: 0.8125rem;
    }
    
    .ba-modal-check-icon {
        font-size: 1rem;
        padding: 0.25rem;
    }
    
    .ba-modal-profile-image {
        width: 26px;
        height: 26px;
    }
}

/* 480px 이하 */
@media (max-width: 480px) {
    .ba-modal-overlay {
        padding: 0.25rem;
    }
    
    .ba-modal-container {
        max-width: 95vw;
        height: 300px;
        max-height: 300px;
    }
    
    .ba-modal-header {
        padding: 0.75rem 0.875rem;
    }
    
    .ba-modal-title {
        font-size: 0.9375rem;
        gap: 0.375rem;
    }
    
    .ba-modal-title i {
        font-size: 0.8125rem;
    }
    
    .ba-modal-close-btn {
        width: 1.5rem;
        height: 1.5rem;
    }
    
    .ba-modal-close-btn i {
        font-size: 0.75rem;
    }
    
    .ba-modal-loading {
        padding: 1.5rem 0.75rem;
    }
    
    .ba-loading-spinner i {
        font-size: 1.5rem;
        animation: spin 1s linear infinite;
    }
    
    .ba-loading-text {
        font-size: 0.75rem;
    }
    
    .ba-modal-table-wrapper {
        padding: 0.75rem;
    }
    
    .ba-modal-results-table {
        font-size: 0.75rem;
        min-width: 450px;
    }
    
    .ba-modal-results-table th {
        padding: 0.375rem 0.5rem;
        font-size: 0.75rem;
    }
    
    .ba-modal-results-table td {
        padding: 0.25rem 0.5rem;
        font-size: 0.75rem;
    }
    
    .ba-modal-check-icon {
        font-size: 0.875rem;
        padding: 0.1875rem;
    }
    
    .ba-modal-profile-image {
        width: 24px;
        height: 24px;
    }
}

