/* ==============================================================================
   Kolive Donation Campaign Full-Wide View Dedicated Stylesheet
   기부 캠페인 풀와이드 상세페이지 전용 스타일 (Zero Inline Style)
============================================================================== */

.donation-detail-wrap {
    max-width: 60rem; /* 960px */
    margin: 1.88rem auto 7.5rem;
    padding: 0 1.25rem;
}

.donation-hero-image-wrap {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 1.25rem;
    overflow: hidden;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    margin-bottom: 1.88rem;
}

.donation-hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.donation-header-info {
    margin-bottom: 1.88rem;
    padding-bottom: 1.56rem;
    border-bottom: 1px solid #e2e8f0;
}

.donation-tags-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    flex-wrap: wrap;
}

.donation-cat-pill {
    font-size: 0.78rem;
    font-weight: 800;
    color: #4338ca;
    background: #e0e7ff;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
}

.donation-subcat-pill {
    background: #f1f5f9;
    color: #475569;
}

.donation-org-pill {
    font-size: 0.78rem;
    font-weight: 800;
    color: #0f172a;
    background: #f1f5f9;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
}

.donation-detail-title {
    font-size: 1.75rem;
    font-weight: 900;
    color: #0f172a;
    line-height: 1.35;
    margin: 0 0 1.25rem 0;
}

/* 모금 현황 프로그레스 박스 */
.donation-fund-status-box {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 1rem;
    padding: 1.5rem;
    margin-bottom: 2.5rem;
}

.donation-fund-meta {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 0.75rem;
}

.donation-fund-pct {
    font-size: 2rem;
    font-weight: 900;
    color: #0284c7;
}

.donation-rate-label {
    font-size: 0.81rem;
    color: #64748b;
    font-weight: 700;
}

.donation-fund-amounts {
    text-align: right;
}

.donation-fund-current {
    font-size: 1.38rem;
    font-weight: 900;
    color: #0f172a;
}

.donation-fund-target {
    font-size: 0.81rem;
    color: #64748b;
    font-weight: 600;
}

.donation-progress-track {
    width: 100%;
    height: 0.75rem;
    background: #e2e8f0;
    border-radius: 9999px;
    overflow: hidden;
}

.donation-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #0284c7, #38bdf8);
    transition: width 0.4s ease;
}

/* 캠페인 본문 스토리 영역 */
.donation-story-title {
    font-size: 1.38rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 1.25rem;
    border-left: 4px solid #0284c7;
    padding-left: 0.75rem;
}

.donation-story-box {
    background: #ffffff;
    padding: 0.63rem 0;
}

.donation-story-section {
    font-size: 1.03rem;
    color: #334155;
    line-height: 1.85;
    margin-bottom: 3.13rem;
}

.donation-story-section p {
    margin-bottom: 1.25rem;
}

.donation-story-section img {
    max-width: 100%;
    border-radius: 0.88rem;
    margin: 1.5rem 0;
}

/* 기관 정보 카드 */
.donation-org-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 1.13rem;
    padding: 1.75rem;
    display: flex;
    align-items: center;
    gap: 1.25rem;
    margin-bottom: 3.75rem;
}

.donation-org-icon {
    width: 4rem;
    height: 4rem;
    background: #f1f5f9;
    border-radius: 0.88rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: #0284c7;
    flex-shrink: 0;
}

.donation-org-content {
    flex: 1;
}

.donation-org-name {
    font-size: 1.06rem;
    font-weight: 800;
    color: #0f172a;
}

.donation-org-desc {
    font-size: 0.84rem;
    color: #64748b;
    margin: 0.38rem 0 0.63rem 0;
}

.donation-org-link {
    font-size: 0.78rem;
    font-weight: 700;
    color: #0284c7;
    text-decoration: none;
}

/* 화면 하단 고정 기부 유틸리티 바 (Bottom Fixed Bar) */
.donation-fixed-bottom-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #ffffff;
    border-top: 1px solid #cbd5e1;
    box-shadow: 0 -0.63rem 1.56rem rgba(15, 23, 42, 0.1);
    padding: 1rem 1.5rem;
    z-index: 9999;
}

.donation-official-bar {
    background: #e0f2fe;
    border-bottom: 1px solid #bae6fd;
    margin: -1rem -1.5rem 0.88rem -1.5rem;
    padding: 0.63rem 1.5rem;
    text-align: center;
}

.donation-official-link {
    color: #0369a1;
    font-size: 0.94rem;
    font-weight: 900;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.donation-official-badge {
    background: #0284c7;
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 800;
    padding: 0.13rem 0.5rem;
    border-radius: 0.38rem;
}

.donation-official-icon {
    font-size: 0.88rem;
}

.donation-fixed-inner {
    max-width: 68.75rem;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
}

.donation-fixed-status {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.donation-status-label {
    font-size: 0.75rem;
    color: #64748b;
    font-weight: 700;
}

.donation-status-amount {
    font-size: 1.13rem;
    color: #0284c7;
    font-weight: 900;
}

.donation-status-percent {
    font-size: 0.75rem;
    color: #94a3b8;
}

.donation-apply-form {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex: 1;
    justify-content: flex-end;
}

.donation-preset-chips {
    display: flex;
    gap: 0.38rem;
}

.preset-chip-btn {
    padding: 0.5rem 0.88rem;
    border-radius: 1.25rem;
    border: 1px solid #cbd5e1;
    background: #ffffff;
    font-size: 0.81rem;
    font-weight: 700;
    color: #475569;
    cursor: pointer;
    transition: all 0.2s;
}

.preset-chip-btn:hover,
.preset-chip-btn.active {
    background: #0284c7;
    color: #ffffff;
    border-color: #0284c7;
}

.donation-amount-wrap {
    position: relative;
    width: 9.38rem;
}

.donation-amount-input {
    width: 100%;
    padding: 0.63rem 2rem 0.63rem 0.88rem;
    border: 1px solid #cbd5e1;
    border-radius: 0.63rem;
    font-weight: 800;
    font-size: 0.88rem;
    background: #ffffff;
}

.donation-unit-text {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.81rem;
    font-weight: 700;
    color: #94a3b8;
}

.donation-pay-select {
    padding: 0.63rem 0.75rem;
    border: 1px solid #cbd5e1;
    border-radius: 0.63rem;
    font-size: 0.81rem;
    font-weight: 700;
    color: #334155;
    background: #ffffff;
}

.donation-fixed-submit-btn {
    background: #0284c7;
    color: #ffffff;
    border: none;
    border-radius: 0.75rem;
    font-size: 1rem;
    font-weight: 900;
    padding: 0.75rem 1.75rem;
    cursor: pointer;
    transition: background 0.2s;
    white-space: nowrap;
}

.donation-fixed-submit-btn:hover {
    background: #0369a1;
}

@media (max-width: 768px) {
    .donation-fixed-inner {
        flex-direction: column;
        gap: 0.63rem;
    }
    .donation-apply-form {
        max-width: 100%;
        width: 100%;
        flex-wrap: wrap;
    }
}
