/* ============================================
   Bulletin Page Shared Component Styles
   Used by: policy, notice, info, co-build, official-notice
   Created: 2026-07-12 (inline style extraction)
   ============================================ */

/* --- Card Patterns --- */
.bc-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: var(--spacing-base);
    margin-bottom: var(--spacing-base);
    box-shadow: var(--shadow-md);
}
.bc-card-click {
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    padding: var(--spacing-base);
    margin-bottom: var(--spacing-base);
    cursor: pointer;
    transition: transform 0.2s ease;
}
.bc-card-click:active { transform: scale(0.98); }
.bc-card-lg {
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    padding: var(--spacing-lg);
    margin-bottom: var(--spacing-base);
}

/* --- Card Header --- */
.bc-card-header {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-base);
}
.bc-card-header-between {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-sm);
}

/* --- Icon Circle (48px) --- */
.bc-icon-circle {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.bc-icon-circle i {
    font-size: 1.5rem;
    color: white;
}

/* --- Feature List / Item --- */
.bc-feature-list {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}
.bc-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}
.bc-feature-icon {
    font-size: 1.125rem;
    margin-top: 2px;
    flex-shrink: 0;
}
.bc-feature-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--hex-333333);
}
.bc-feature-desc {
    font-size: 0.8125rem;
    color: var(--hex-888888);
    line-height: 1.5;
}

/* --- Tag / Badge --- */
.bc-tag {
    font-size: 0.6875rem;
    padding: 2px 8px;
    border-radius: 0.375rem;
    background: var(--legacy-red);
    color: white;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 3px;
}
.bc-tag-gold {
    font-size: 0.6875rem;
    padding: 2px 8px;
    border-radius: 0.375rem;
    background: linear-gradient(135deg, var(--legacy-gold), var(--amber-gold));
    color: var(--hex-5d3a1a);
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 3px;
}
.bc-tag-info {
    font-size: 0.6875rem;
    padding: 2px 8px;
    border-radius: 0.375rem;
    background: var(--legacy-info);
    color: white;
    font-weight: 600;
}
.bc-tag-success {
    font-size: 0.6875rem;
    padding: 2px 8px;
    border-radius: 0.375rem;
    background: var(--legacy-success);
    color: white;
    font-weight: 600;
}
.bc-tag-red-outline {
    font-size: 0.6875rem;
    padding: 2px 8px;
    border-radius: var(--radius-sm);
    background: rgba(183,28,28,0.10);
    color: #B71C1C;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 3px;
}

/* --- Card Title / Excerpt / Date --- */
.bc-card-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--hex-333333);
    margin-bottom: var(--spacing-sm);
}
.bc-card-excerpt {
    font-size: 0.8125rem;
    color: var(--hex-888888);
    line-height: 1.6;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.bc-date {
    font-size: 0.75rem;
    color: var(--legacy-text-light);
}

/* --- Section Title --- */
.bc-section-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: var(--spacing-md);
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}
.bc-section-title-lg {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: var(--spacing-base);
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

/* --- Banner --- */
.bc-banner {
    border-radius: 1rem;
    padding: 28px;
    margin-bottom: var(--spacing-base);
    color: white;
    text-align: center;
}
.bc-banner-title {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: var(--spacing-sm);
}
.bc-banner-sub {
    font-size: 0.875rem;
    opacity: 0.9;
}
.bc-banner-small {
    font-size: 0.75rem;
    opacity: 0.75;
    margin-top: 6px;
}

/* --- Contact Row --- */
.bc-contact-row {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}
.bc-contact-label {
    font-size: 0.75rem;
    color: var(--legacy-text-light);
}
.bc-contact-value {
    font-size: 1rem;
    font-weight: 600;
    color: var(--hex-333333);
}

/* --- Contact Info Block --- */
.bc-contact-info {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

/* --- Grid (3-column) --- */
.bc-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-base);
}
.bc-grid-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: var(--spacing-base) 8px;
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    text-decoration: none;
    cursor: pointer;
}
.bc-grid-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: var(--spacing-sm);
}
.bc-grid-label {
    font-size: 0.75rem;
    margin-top: var(--spacing-sm);
    color: var(--hex-333333);
    font-weight: 500;
}

/* --- Stat Card --- */
.bc-stat-card {
    text-align: center;
    padding: var(--spacing-md);
    border-radius: var(--radius-md);
}
.bc-stat-value {
    font-size: 1.5rem;
    font-weight: bold;
}
.bc-stat-label {
    font-size: 0.6875rem;
    color: var(--hex-888888);
}

/* --- Rank List --- */
.bc-rank-row {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    padding: var(--spacing-md);
    border-radius: var(--radius-md);
}
.bc-rank-num {
    width: var(--spacing-2xl);
    height: var(--spacing-2xl);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 0.875rem;
    flex-shrink: 0;
}
.bc-rank-info { flex: 1; }
.bc-rank-name {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--hex-333333);
}
.bc-rank-sub {
    font-size: 0.6875rem;
    color: var(--hex-888888);
}
.bc-rank-score {
    text-align: right;
}
.bc-rank-value {
    font-size: 1rem;
    font-weight: bold;
}
.bc-rank-unit {
    font-size: 0.6875rem;
    color: var(--hex-888888);
}

/* --- Buttons --- */
.bc-btn-gradient {
    padding: var(--spacing-md);
    background: linear-gradient(135deg, var(--hex-ff6b35), var(--hex-ff9a5c));
    color: white;
    border: none;
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
}
.bc-btn-secondary {
    padding: var(--spacing-md);
    background: var(--legacy-bg);
    color: var(--hex-333333);
    border: none;
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
}
.bc-btn-row {
    display: flex;
    gap: 10px;
}
.bc-btn-full {
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    transition: all 0.2s ease;
}
.bc-btn-outline {
    background: white;
    color: var(--legacy-info);
    border: 2px solid var(--legacy-info);
}
.bc-btn-outline:active { opacity: 0.8; }
.bc-btn-ghost {
    background: var(--legacy-bg);
    color: var(--legacy-text-secondary);
}

/* --- Form Elements --- */
.bc-form-group {
    margin-bottom: var(--spacing-lg);
}
.bc-form-label {
    font-size: 0.875rem;
    color: var(--legacy-text-secondary);
    display: block;
    margin-bottom: var(--spacing-sm);
    font-weight: 500;
}
.bc-form-label i { margin-right: 6px; }
.bc-form-input {
    width: 100%;
    padding: 14px;
    border: 1px solid var(--hex-e0e0e0);
    border-radius: 0.625rem;
    font-size: 1rem;
    box-sizing: border-box;
}
.bc-form-row {
    display: flex;
    gap: var(--spacing-sm);
}
.bc-form-row .bc-form-input { flex: 1; }
.bc-btn-sms {
    padding: var(--spacing-md) var(--spacing-base);
    background: linear-gradient(135deg, var(--hex-ff6b35), var(--hex-ff9a5c));
    color: white;
    border: none;
    border-radius: 0.625rem;
    font-size: 0.875rem;
    font-weight: 600;
    white-space: nowrap;
}

/* --- Hero (co-build login) --- */
.bc-hero {
    text-align: center;
    margin-bottom: 40px;
}
.bc-hero-icon {
    width: 80px;
    height: 80px;
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}
.bc-hero-icon i { font-size: var(--v85-text-hero); color: white; }
.bc-hero-title {
    font-size: 1.5rem;
    color: var(--hex-333333);
    margin-bottom: var(--spacing-sm);
}
.bc-hero-sub {
    font-size: 0.875rem;
    color: var(--hex-888888);
}

/* --- Modal --- */
.bc-modal-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: var(--z-toast, 1000);
    padding: var(--spacing-base);
}
.bc-modal {
    background: white;
    border-radius: 1rem;
    width: 100%;
    max-width: 700px;
    max-height: 85vh;
    overflow-y: auto;
    padding: 0;
}
.bc-modal-header {
    padding: var(--spacing-base);
    position: sticky;
    top: 0;
    z-index: var(--z-card);
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.bc-modal-close {
    background: rgba(255,255,255,0.2);
    border: none;
    color: white;
    width: var(--spacing-2xl);
    height: var(--spacing-2xl);
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.125rem;
}
.bc-modal-body {
    padding: var(--spacing-base);
    font-size: 0.875rem;
    line-height: 1.8;
}

/* --- Info Page --- */
.bc-meta-row {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-lg);
    padding-bottom: 16px;
    border-bottom: 1px solid var(--hex-f0f0f0);
}
.bc-meta-text {
    font-size: 0.8125rem;
    color: var(--legacy-text-light);
}
.bc-meta-icon {
    color: var(--legacy-text-light);
    font-size: 0.875rem;
}
.bc-article-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--hex-333333);
    line-height: 1.4;
    margin-bottom: var(--spacing-md);
}
.bc-article-content {
    font-size: 0.9375rem;
    line-height: 1.8;
    color: var(--hex-555555);
    white-space: pre-wrap;
}
.bc-id-text {
    font-size: 0.75rem;
    color: var(--legacy-text-light);
    margin-bottom: var(--spacing-sm);
}
