/* Stock Reporter Frontend Styles - Updated Version */

/* 기본 컨테이너 스타일 */
.sr-premium-container { 
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; 
    line-height: 1.6;
    color: #333;
}

/* Premium Hero 섹션 */
.sr-premium-hero { 
    position: relative; 
    color: #fff; 
    padding: 120px 20px; 
    text-align: center; 
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); 
    border-radius: 12px; 
    overflow: hidden; 
    margin-bottom: 60px; 
}

.sr-hero-overlay { 
    position: absolute; 
    top: 0; 
    left: 0; 
    right: 0; 
    bottom: 0; 
    background: rgba(0,0,0,0.3); 
}

.sr-hero-content { 
    position: relative; 
    z-index: 2; 
    max-width: 800px; 
    margin: 0 auto; 
}

.sr-hero-subtitle { 
    display: inline-block; 
    background: rgba(255,255,255,0.2); 
    padding: 8px 16px; 
    border-radius: 20px; 
    font-size: 14px; 
    margin-bottom: 20px; 
}

.sr-premium-hero h1 { 
    font-size: 48px; 
    margin: 0 0 20px 0; 
    font-weight: 700; 
}

.sr-hero-lead { 
    font-size: 20px; 
    opacity: 0.9; 
    margin-bottom: 40px; 
    line-height: 1.6; 
}

.sr-hero-buttons { 
    margin: 20px 0; 
}

.sr-hero-button { 
    display: inline-block; 
    padding: 15px 35px; 
    margin: 0 10px; 
    border-radius: 8px; 
    font-size: 18px; 
    font-weight: 600; 
    text-decoration: none; 
    transition: all 0.3s ease; 
}

.sr-hero-button.primary { 
    background: #007bff; 
    color: white; 
}

.sr-hero-button.secondary { 
    background: transparent; 
    color: white; 
    border: 2px solid white; 
}

.sr-hero-button:hover { 
    transform: translateY(-2px); 
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.sr-already-subscribed { 
    margin-top: 20px; 
    font-style: italic; 
    opacity: 0.8; 
}

/* 가격 섹션 */
.sr-pricing-section { 
    padding: 60px 20px; 
    max-width: 1200px; 
    margin: 0 auto; 
}

.sr-section-title { 
    text-align: center; 
    font-size: 36px; 
    margin-bottom: 50px; 
    color: #333; 
}

.sr-pricing-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); 
    gap: 30px; 
    margin-bottom: 60px; 
}

.sr-pricing-card { 
    background: #fff; 
    border-radius: 16px; 
    padding: 40px 30px; 
    text-align: center; 
    box-shadow: 0 10px 30px rgba(0,0,0,0.1); 
    position: relative; 
    border: 2px solid transparent; 
    transition: all 0.3s ease; 
}

.sr-pricing-card:hover { 
    transform: translateY(-5px); 
    box-shadow: 0 20px 40px rgba(0,0,0,0.15); 
}

.sr-pricing-card.featured { 
    border-color: #007bff; 
    transform: scale(1.05); 
    background: linear-gradient(135deg, #f8f9ff 0%, #ffffff 100%); 
}

.sr-pricing-card.current-plan { 
    border-color: #28a745; 
    background: linear-gradient(135deg, #f8fff8 0%, #ffffff 100%);
}

.sr-badge, .sr-current-plan-badge { 
    position: absolute; 
    top: -15px; 
    left: 50%; 
    transform: translateX(-50%); 
    background: #007bff; 
    color: white; 
    padding: 8px 16px; 
    border-radius: 20px; 
    font-size: 12px; 
    font-weight: 600;
}

.sr-current-plan-badge { 
    background: #28a745; 
}

.sr-pricing-card h3 { 
    font-size: 24px; 
    margin-bottom: 20px; 
    color: #333; 
}

.sr-price { 
    margin-bottom: 30px; 
}

.sr-price-amount { 
    font-size: 48px; 
    font-weight: 700; 
    color: #007bff; 
}

.sr-price-period { 
    font-size: 16px; 
    color: #666; 
}

.sr-price-description { 
    font-size: 16px; 
    color: #666; 
    margin-bottom: 30px; 
}

.sr-features-list { 
    list-style: none; 
    padding: 0; 
    margin-bottom: 40px; 
    text-align: left; 
}

.sr-features-list li { 
    padding: 8px 0; 
    padding-left: 25px; 
    position: relative; 
    font-size: 16px; 
}

.sr-features-list li:before { 
    content: "✓"; 
    position: absolute; 
    left: 0; 
    color: #28a745; 
    font-weight: bold; 
}


/* 사용자 액션 섹션 */
.sr-user-actions { 
    display: flex; 
    justify-content: center; 
    gap: 20px; 
    margin: 40px 0; 
    flex-wrap: wrap; 
}

.sr-my-page-link { 
    display: inline-block; 
    padding: 12px 30px; 
    background: #17a2b8; 
    color: white; 
    text-decoration: none; 
    border-radius: 6px; 
    font-weight: 600; 
    transition: all 0.3s; 
}

.sr-my-page-link.secondary { 
    background: #28a745; 
}

.sr-my-page-link.tertiary { 
    background: #6f42c1; 
}

.sr-my-page-link:hover { 
    transform: translateY(-2px); 
    opacity: 0.9; 
}

/* 기능 및 FAQ 섹션 */
.sr-features-section, .sr-faq-section { 
    padding: 60px 20px; 
    max-width: 1200px; 
    margin: 0 auto; 
}

.sr-features-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); 
    gap: 40px; 
}

.sr-feature-card { 
    text-align: center; 
    padding: 30px 20px; 
    background: #f8f9fa; 
    border-radius: 12px; 
    transition: all 0.3s ease;
}

.sr-feature-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.sr-feature-icon { 
    font-size: 48px; 
    margin-bottom: 20px; 
}

.sr-feature-card h3 { 
    font-size: 22px; 
    margin-bottom: 15px; 
    color: #333; 
}

.sr-faq-container { 
    max-width: 800px; 
    margin: 0 auto; 
}

.sr-faq-item { 
    border-bottom: 1px solid #eee; 
    padding: 20px 0; 
}

.sr-faq-item h4 { 
    font-size: 18px; 
    margin-bottom: 10px; 
    color: #333; 
}

.sr-faq-item p { 
    color: #666; 
    line-height: 1.6; 
}

/* 마이페이지 스타일 */
.sr-my-page { 
    max-width: 1000px; 
    margin: 40px auto; 
    padding: 0 20px; 
}

.sr-my-page-header { 
    text-align: center; 
    margin-bottom: 40px; 
}

.sr-my-page-header h1 { 
    font-size: 32px; 
    color: #333; 
}

.sr-my-page-content section { 
    margin-bottom: 30px; 
}

.sr-my-page-content h2 { 
    font-size: 22px; 
    color: #007bff; 
    margin-bottom: 15px; 
}

.sr-my-page-grid { 
    display: grid; 
    grid-template-columns: 1fr 1fr; 
    gap: 30px; 
    margin-bottom: 30px; 
}

.sr-info-card { 
    background: white; 
    padding: 25px; 
    border-radius: 8px; 
    box-shadow: 0 2px 10px rgba(0,0,0,0.1); 
    transition: all 0.3s ease;
}

.sr-info-card:hover {
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

.sr-info-card p { 
    margin-bottom: 10px; 
}

.sr-btn-primary, .sr-btn-secondary { 
    display: inline-block; 
    padding: 12px 24px; 
    border-radius: 6px; 
    text-decoration: none; 
    font-weight: 600; 
    margin-top: 15px; 
    transition: all 0.3s ease;
}

.sr-btn-primary { 
    background: #007bff; 
    color: white; 
}

.sr-btn-secondary { 
    background: #6c757d; 
    color: white; 
}

.sr-btn-primary:hover, .sr-btn-secondary:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

/* 리포트 관련 스타일 */
.sr-reports-list { 
    margin-bottom: 20px; 
}

.sr-report-item { 
    padding: 15px 0; 
    border-bottom: 1px solid #eee; 
    transition: all 0.3s ease;
}

.sr-report-item:hover {
    background: #f8f9fa;
    padding-left: 10px;
}

.sr-report-item h4 { 
    margin: 0 0 5px 0; 
    font-size: 16px; 
}

.sr-report-item h4 a { 
    color: #007bff; 
    text-decoration: none; 
}

.sr-report-item h4 a:hover {
    text-decoration: underline;
}

.sr-report-meta { 
    font-size: 14px; 
    color: #666; 
    margin: 0; 
}

/* 관심종목 관리자 스타일 */
.sr-watchlist-page { 
    max-width: 1200px; 
    margin: 40px auto; 
    padding: 0 20px; 
}

.sr-selector-container { 
    margin-bottom: 40px; 
}

.sr-header { 
    text-align: center; 
    margin-bottom: 40px; 
}

.sr-header h1 { 
    font-size: 32px; 
    color: #333; 
    margin-bottom: 10px; 
}

.sr-header p { 
    font-size: 18px; 
    color: #666; 
}

.sr-selection-panel, .sr-pool-panel { 
    background: white; 
    border-radius: 12px; 
    padding: 25px; 
    margin-bottom: 30px; 
    box-shadow: 0 4px 12px rgba(0,0,0,0.1); 
}

.sr-panel-header { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    margin-bottom: 20px; 
    padding-bottom: 15px; 
    border-bottom: 1px solid #eee; 
}

.sr-panel-header h2 { 
    font-size: 20px; 
    color: #333; 
    margin: 0; 
}

.sr-save-btn { 
    background: #007bff; 
    color: white; 
    padding: 10px 20px; 
    border: none; 
    border-radius: 6px; 
    cursor: pointer; 
    font-weight: 600; 
    transition: all 0.3s ease;
}

.sr-save-btn:disabled { 
    background: #ccc; 
    cursor: not-allowed; 
}

.sr-save-btn:hover:not(:disabled) { 
    background: #0056b3; 
    transform: translateY(-1px);
}

.sr-selected-tags { 
    display: flex; 
    flex-wrap: wrap; 
    gap: 8px; 
    min-height: 50px; 
    align-items: flex-start; 
    padding: 15px; 
    background: #f8f9fa; 
    border-radius: 8px; 
}

.sr-selected-tags:empty:before { 
    content: "선택된 종목이 없습니다. 아래에서 종목을 클릭하여 추가하세요."; 
    color: #999; 
    font-style: italic; 
}

#sr-search-input { 
    padding: 10px 15px; 
    border: 1px solid #ddd; 
    border-radius: 6px; 
    font-size: 14px; 
    min-width: 250px; 
    transition: border-color 0.3s ease;
}

#sr-search-input:focus { 
    border-color: #007bff; 
    outline: none; 
    box-shadow: 0 0 5px rgba(0,123,255,0.3);
}

.sr-stock-tags-pool { 
    display: flex; 
    flex-wrap: wrap; 
    gap: 8px; 
    max-height: 400px; 
    overflow-y: auto; 
    padding: 20px; 
    background: #f8f9fa; 
    border-radius: 8px; 
}

.sr-tag { 
    display: inline-flex; 
    align-items: center; 
    padding: 6px 12px; 
    background: white; 
    border: 1px solid #ddd; 
    border-radius: 16px; 
    cursor: pointer; 
    font-size: 13px; 
    transition: all 0.2s; 
    user-select: none; 
}

.sr-tag:hover { 
    background: #007bff; 
    color: white; 
    transform: scale(1.02);
}

.sr-tag.selected { 
    background: #007bff; 
    color: white; 
    border-color: #0056b3; 
}

.sr-tag .sr-remove-icon { 
    margin-left: 8px; 
    font-size: 16px; 
    opacity: 0.7; 
    cursor: pointer; 
    transition: opacity 0.2s;
}

.sr-tag .sr-remove-icon:hover {
    opacity: 1;
}

.sr-action-status { 
    margin-top: 15px; 
    text-align: center; 
    font-weight: 500; 
    min-height: 20px; 
    transition: all 0.3s ease;
}

.sr-action-status.success { 
    color: #28a745; 
}

.sr-action-status.error { 
    color: #dc3545; 
}

.sr-action-status.saving { 
    color: #007bff; 
}

/* 최신 리포트 섹션 */
.sr-recent-reports-section { 
    background: white; 
    border-radius: 12px; 
    padding: 30px; 
    box-shadow: 0 4px 12px rgba(0,0,0,0.1); 
}

.sr-recent-reports-section h2 { 
    color: #333; 
    margin-bottom: 20px; 
}

.sr-reports-preview { 
    display: grid; 
    gap: 15px; 
    margin-bottom: 20px; 
}

.sr-report-preview-item { 
    display: flex; 
    align-items: center; 
    padding: 15px; 
    background: #f8f9fa; 
    border-radius: 8px; 
    transition: all 0.3s ease;
}

.sr-report-preview-item:hover {
    background: #e9ecef;
    transform: translateX(5px);
}

.sr-report-symbol { 
    background: #007bff; 
    color: white; 
    padding: 8px 12px; 
    border-radius: 4px; 
    font-weight: bold; 
    margin-right: 15px; 
    min-width: 50px; 
    text-align: center; 
}

.sr-report-content h4 { 
    margin: 0 0 5px 0; 
    font-size: 16px; 
}

.sr-report-content h4 a { 
    color: #333; 
    text-decoration: none; 
}

.sr-report-content h4 a:hover { 
    color: #007bff; 
}

.sr-report-date { 
    font-size: 14px; 
    color: #666; 
}

.sr-view-all-reports { 
    display: inline-block; 
    padding: 10px 20px; 
    background: #28a745; 
    color: white; 
    text-decoration: none; 
    border-radius: 6px; 
    font-weight: 600; 
    transition: all 0.3s ease;
}

.sr-view-all-reports:hover {
    background: #218838;
    transform: translateY(-2px);
}

/* 유저 리포트 페이지 */
.sr-user-reports { 
    max-width: 1200px; 
    margin: 40px auto; 
    padding: 0 20px; 
}

.sr-reports-header { 
    text-align: center; 
    margin-bottom: 40px; 
}

.sr-reports-header h1 { 
    font-size: 32px; 
    color: #333; 
    margin-bottom: 10px; 
}

.sr-reports-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); 
    gap: 30px; 
}

.sr-report-card { 
    background: white; 
    border-radius: 12px; 
    padding: 25px; 
    box-shadow: 0 4px 12px rgba(0,0,0,0.1); 
    transition: all 0.3s; 
}

.sr-report-card:hover { 
    transform: translateY(-3px); 
    box-shadow: 0 8px 20px rgba(0,0,0,0.15); 
}

.sr-report-card .sr-report-symbol { 
    background: #007bff; 
    color: white; 
    padding: 6px 12px; 
    border-radius: 4px; 
    font-weight: bold; 
    display: inline-block; 
    margin-bottom: 15px; 
}

.sr-report-card h3 { 
    margin: 0 0 10px 0; 
    font-size: 18px; 
    line-height: 1.4; 
}

.sr-report-card h3 a { 
    color: #333; 
    text-decoration: none; 
}

.sr-report-card h3 a:hover { 
    color: #007bff; 
}

.sr-report-excerpt { 
    color: #666; 
    font-size: 14px; 
    line-height: 1.5; 
    margin-bottom: 15px; 
}

.sr-report-meta { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
}

.sr-report-date { 
    font-size: 14px; 
    color: #999; 
}

.sr-read-more { 
    color: #007bff; 
    text-decoration: none; 
    font-weight: 600; 
    font-size: 14px; 
    transition: all 0.3s ease;
}

.sr-read-more:hover {
    text-decoration: underline;
}

.sr-no-reports { 
    text-align: center; 
    padding: 60px 20px; 
}

.sr-no-reports h2 { 
    color: #666; 
    margin-bottom: 20px; 
}

/* 로그인 필수 메시지 */
.sr-login-required {
    text-align: center;
    padding: 60px 20px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.sr-login-button {
    display: inline-block;
    padding: 12px 30px;
    background: #007bff;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    margin-top: 20px;
    transition: all 0.3s ease;
}

.sr-login-button:hover {
    background: #0056b3;
    transform: translateY(-2px);
}

/* 리포트 바디 스타일 */
.report-body { 
    max-width: 1200px; 
    margin: 0 auto; 
    padding: 30px 20px; 
    background: #f8f9fa; 
    font-family: "Segoe UI", sans-serif; 
}

.grid { 
    display: grid; 
    grid-template-columns: 1fr 1fr; 
    gap: 20px; 
    margin-bottom: 20px; 
}

.card { 
    background: white; 
    border-radius: 12px; 
    padding: 25px; 
    box-shadow: 0 4px 12px rgba(0,0,0,0.08); 
}

.card h2 { 
    font-size: 18px; 
    color: #0a4db3; 
    margin: 0 0 20px 0; 
    padding-bottom: 10px; 
    border-bottom: 1px solid #eee; 
}

.info-grid { 
    display: grid; 
    grid-template-columns: repeat(3, 1fr); 
    gap: 10px; 
}

.info-item { 
    background: #f9fafc; 
    border-radius: 8px; 
    padding: 12px; 
}

.info-label { 
    font-size: 12px; 
    color: #666; 
    margin-bottom: 5px; 
}

.info-value { 
    font-size: 15px; 
    font-weight: 600; 
    color: #333; 
}

.info-value a { 
    color: #007bff; 
    text-decoration: none; 
}

.info-value a:hover { 
    text-decoration: underline; 
}

/* 전략 박스 */
.strategy-box { 
    background: #f0f8ff; 
    border-left: 4px solid #007bff; 
    padding: 25px; 
    margin-bottom: 30px; 
    border-radius: 8px; 
}

.strategy-box h2 { 
    color: #007bff; 
    margin-bottom: 15px; 
}

/* 차트 그리드 */
.chart-grid { 
    display: grid; 
    grid-template-columns: 1fr 1fr; 
    gap: 20px; 
}

.recommendation-score-card { 
    text-align: center; 
}

.score-gauge-container { 
    position: relative; 
    margin: 20px 0; 
}

.score { 
    font-size: 24px; 
    font-weight: bold; 
    color: #007bff; 
}

.score-label { 
    font-size: 14px; 
    color: #666; 
    margin-top: 10px; 
}

/* OG 카드 */
.og-cards { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); 
    gap: 20px; 
    margin-top: 20px; 
}

.og-card { 
    background: white; 
    border: 1px solid #eee; 
    border-radius: 12px; 
    overflow: hidden; 
    text-decoration: none; 
    color: inherit; 
    transition: all 0.2s ease; 
    display: block; 
}

.og-card:hover { 
    box-shadow: 0 8px 20px rgba(0,0,0,0.1); 
    transform: translateY(-2px); 
}

.og-card img { 
    width: 100%; 
    height: 180px; 
    object-fit: cover; 
}

.og-card-content { 
    padding: 20px; 
}

.og-card-content h3 { 
    margin: 0 0 10px 0; 
    font-size: 16px; 
    color: #333; 
    line-height: 1.4; 
}

.og-card-content p { 
    margin: 0; 
    font-size: 13px; 
    color: #666; 
}

/* 반응형 디자인 */
@media (max-width: 768px) {
    .sr-premium-hero h1 { 
        font-size: 32px; 
    }
    
    .sr-hero-lead { 
        font-size: 18px; 
    }
    
    .sr-pricing-grid { 
        grid-template-columns: 1fr; 
    }
    
    .sr-features-grid { 
        grid-template-columns: 1fr; 
    }
    
    .grid, .chart-grid { 
        grid-template-columns: 1fr; 
    }
    
    .info-grid { 
        grid-template-columns: 1fr; 
    }
    
    .sr-panel-header { 
        flex-direction: column; 
        gap: 15px; 
        align-items: stretch; 
    }
    
    .sr-my-page-grid { 
        grid-template-columns: 1fr; 
    }
    
    .sr-user-actions { 
        flex-direction: column; 
        align-items: center; 
    }
    
    .sr-reports-grid { 
        grid-template-columns: 1fr; 
    }
    
    .sr-hero-buttons {
        flex-direction: column;
        gap: 10px;
    }
    
    .sr-hero-button {
        margin: 5px 0;
    }
    
    #sr-search-input {
        min-width: 200px;
        width: 100%;
    }
}

@media (max-width: 480px) {
    .sr-premium-hero {
        padding: 80px 15px;
    }
    
    .sr-pricing-section,
    .sr-features-section,
    .sr-faq-section {
        padding: 40px 15px;
    }
    
    .sr-section-title {
        font-size: 28px;
    }
    
    .sr-pricing-card {
        padding: 30px 20px;
    }
    
    .sr-price-amount {
        font-size: 36px;
    }
}

/* 애니메이션 효과 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.sr-pricing-card,
.sr-feature-card,
.sr-report-card {
    animation: fadeInUp 0.6s ease-out;
}

/* 포커스 스타일 개선 */
.sr-cta-button:focus,
.sr-btn-primary:focus,
.sr-btn-secondary:focus,
.sr-hero-button:focus {
    outline: 2px solid #007bff;
    outline-offset: 2px;
}

/* 스크롤바 스타일링 */
.sr-stock-tags-pool::-webkit-scrollbar {
    width: 8px;
}

.sr-stock-tags-pool::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.sr-stock-tags-pool::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 4px;
}

.sr-stock-tags-pool::-webkit-scrollbar-thumb:hover {
    background: #a1a1a1;
}

/* 에러 및 디버그 스타일 */
.sr-error {
    background: #f8d7da;
    color: #721c24;
    padding: 15px;
    border: 1px solid #f5c6cb;
    border-radius: 6px;
    margin: 10px 0;
    font-weight: 500;
}

.sr-no-content {
    background: #fff3cd;
    color: #856404;
    padding: 15px;
    border: 1px solid #ffeaa7;
    border-radius: 6px;
    margin: 10px 0;
    text-align: center;
    font-style: italic;
}

.sr-debug-info {
    background: #d1ecf1;
    color: #0c5460;
    padding: 10px;
    border: 1px solid #bee5eb;
    border-radius: 4px;
    margin: 5px 0;
    font-size: 12px;
    font-family: monospace;
}

/* 멤버십 상태 표시 스타일 */
.status-active {
    color: #28a745;
    font-weight: bold;
    background: #d4edda;
    padding: 2px 8px;
    border-radius: 4px;
}

.status-trial {
    color: #fd7e14;
    font-weight: bold;
    background: #fff3cd;
    padding: 2px 8px;
    border-radius: 4px;
}

.status-inactive {
    color: #dc3545;
    font-weight: bold;
    background: #f8d7da;
    padding: 2px 8px;
    border-radius: 4px;
}

/* Premium Products 페이지 개선 */
.sr-current-plan-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: #28a745;
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
}

.sr-pricing-card.current-plan {
    border: 2px solid #28a745;
    background: linear-gradient(135deg, #f8fff8 0%, #ffffff 100%);
}

.sr-cta-button.current {
    background: #6c757d;
    cursor: default;
}

.sr-cta-button.current:hover {
    background: #6c757d;
    transform: none;
}

.sr-cta-button.active {
    background: #28a745;
}

.sr-cta-button.active:hover {
    background: #218838;
}

/* 디버깅 정보 스타일 */
.debug-info {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 15px;
    margin: 20px 0;
    font-family: 'Courier New', monospace;
    font-size: 12px;
    max-height: 400px;
    overflow-y: auto;
}

.debug-info h4 {
    color: #007bff;
    margin-top: 0;
    margin-bottom: 10px;
}

/* 새로고침 버튼 스타일 */
.refresh-controls {
    background: #e9ecef;
    padding: 10px;
    border-radius: 6px;
    margin: 10px 0;
    text-align: center;
}

.refresh-controls .button {
    margin: 0 5px;
    padding: 8px 15px;
    background: #007bff;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    display: inline-block;
}

.refresh-controls .button:hover {
    background: #0056b3;
}

/* 멤버십 정보 카드 개선 */
.sr-membership-info .sr-info-card {
    border-left: 4px solid #007bff;
    background: linear-gradient(135deg, #f8f9ff 0%, #ffffff 100%);
}

.sr-membership-info .sr-info-card p {
    margin-bottom: 12px;
    line-height: 1.6;
}

.sr-membership-info .sr-info-card p strong {
    color: #333;
    font-weight: 600;
}

/* 가격 정보 강조 */
.price-highlight {
    color: #007bff;
    font-weight: bold;
    font-size: 1.1em;
}

/* 만료일 경고 스타일 */
.expiry-warning {
    color: #fd7e14;
    font-weight: bold;
}

.expiry-critical {
    color: #dc3545;
    font-weight: bold;
    background: #f8d7da;
    padding: 2px 8px;
    border-radius: 4px;
}

/* 성공 메시지 스타일 */
.notice.notice-success {
    background: #d4edda;
    border-left: 4px solid #28a745;
    color: #155724;
    padding: 12px;
    margin: 10px 0;
    border-radius: 4px;
}

/* 모바일 반응형 개선 */
@media (max-width: 768px) {
    .debug-info {
        font-size: 10px;
        padding: 10px;
    }
    
    .refresh-controls {
        padding: 8px;
    }
    
    .refresh-controls .button {
        display: block;
        margin: 5px 0;
        text-align: center;
    }
    
    .sr-current-plan-badge {
        font-size: 10px;
        padding: 6px 12px;
    }
}


/* CTA 버튼 색상 구분 */
.sr-cta-button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    text-align: center;
}

.sr-cta-button.current {
    background: #6c757d;
    color: white;
    cursor: default;
}

.sr-cta-button.premium {
    background: #28a745;
    color: white;
}

.sr-cta-button.premium:hover {
    background: #218838;
}

.sr-cta-button.upgrade {
    background: #ffc107;
    color: #212529;
}

.sr-cta-button.upgrade:hover {
    background: #e0a800;
}

.sr-cta-button:not(.current):not(.premium):not(.upgrade) {
    background: #007bff;
    color: white;
}

.sr-cta-button:not(.current):not(.premium):not(.upgrade):hover {
    background: #0056b3;
}

.sr-current-plan-badge {
    background: #28a745 !important;
}
