/**
 * 공개검증 페이지 컴포넌트 스타일
 * 
 * @created 2026-01-19
 */

/* ========================================
   Intro Section (검증 인트로)
======================================== */
.intro-banner {
    background: #fff;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    margin-bottom: 2rem;
}

.banner-image {
    width: 100%;
    aspect-ratio: 21/9;
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.banner-image.has-image {
    aspect-ratio: auto;
}

.banner-image::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.banner-image img {
    width: 100%;
    height: auto;
    display: block;
}

.banner-image.has-image::before {
    display: none;
}

.banner-content {
    position: absolute;
    text-align: center;
    color: #fff;
    padding: 2rem;
    z-index: 1;
}

.banner-icon {
    width: 80px;
    height: 80px;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    border: 1px solid rgba(255,255,255,0.2);
}

.banner-icon i {
    font-size: 2.5rem;
}

.banner-title {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
    letter-spacing: -0.02em;
}

.banner-desc {
    font-size: 1.1rem;
    opacity: 0.9;
    max-width: 500px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Info Cards */
.info-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.info-card {
    background: #fff;
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    border: 1px solid #f1f5f9;
}

.info-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.info-card-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
    font-size: 1.75rem;
}

.info-card-icon.blue {
    background: #eff6ff;
    color: #3b82f6;
}

.info-card-icon.green {
    background: #ecfdf5;
    color: #10b981;
}

.info-card-icon.purple {
    background: #f5f3ff;
    color: #8b5cf6;
}

.info-card h3 {
    font-size: 1.125rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.5rem;
}

.info-card p {
    font-size: 0.9rem;
    color: #64748b;
    margin: 0;
    line-height: 1.6;
}

/* CTA Section */
.cta-section {
    text-align: center;
    padding: 2rem 0;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1.25rem 3rem;
    font-size: 1.125rem;
    font-weight: 700;
    background: #6366f1;
    color: #fff;
    border: none;
    border-radius: 16px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 
        0 4px 6px -1px rgba(99, 102, 241, 0.25),
        0 10px 20px -5px rgba(99, 102, 241, 0.3);
}

.cta-btn:hover {
    background: #4f46e5;
    transform: translateY(-3px);
    box-shadow: 
        0 8px 15px -3px rgba(99, 102, 241, 0.35),
        0 16px 35px -8px rgba(99, 102, 241, 0.4);
    color: #fff;
}

.cta-btn i {
    font-size: 1.25rem;
}

.cta-note {
    margin-top: 1rem;
    color: #64748b;
    font-size: 0.875rem;
}

/* ========================================
   Agree Section (개인정보 동의)
======================================== */
.agree-wrapper {
    max-width: 700px;
    margin: 0 auto;
}

.step-indicator {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.step-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--gray-300);
    transition: all 0.3s;
}

.step-dot.active {
    background: var(--primary-accent);
    transform: scale(1.2);
}

.step-dot.completed {
    background: var(--success);
}

.privacy-section {
    margin-bottom: 2rem;
}

.privacy-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 0.75rem;
}

.privacy-title .required-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.125rem 0.5rem;
    background: #fef2f2;
    color: #dc2626;
    font-size: 0.7rem;
    font-weight: 600;
    border-radius: 4px;
}

.privacy-title .required-badge i {
    font-size: 0.75rem;
}

.agree-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1rem;
    background: var(--gray-50);
    border-radius: 12px;
    margin-top: 0.75rem;
    cursor: pointer;
    transition: background 0.2s;
}

.agree-checkbox:hover {
    background: var(--gray-100);
}

.agree-checkbox input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-top: 2px;
    flex-shrink: 0;
}

.agree-checkbox label {
    font-weight: 500;
    color: var(--gray-700);
    cursor: pointer;
    line-height: 1.5;
}

/* ========================================
   Show Section (작품 상세)
======================================== */
.work-detail-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.work-detail-media {
    background: var(--gray-100);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
    position: relative;
}

.work-detail-media img {
    max-width: 100%;
    max-height: 600px;
    object-fit: contain;
}

.work-detail-media.pdf-viewer {
    padding: 0;
}

.work-detail-media.pdf-viewer iframe,
.work-detail-media.pdf-viewer embed {
    width: 100%;
    height: 600px;
    border: none;
}

.work-detail-info {
    padding: 2rem;
}

.work-detail-category {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    color: #6366f1;
    background: #eef2ff;
    padding: 0.375rem 0.75rem;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.work-detail-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
}

.work-detail-author {
    font-size: 1rem;
    color: var(--gray-500);
    margin-bottom: 1.5rem;
}

.work-detail-description {
    color: var(--gray-600);
    line-height: 1.8;
    white-space: pre-wrap;
}

/* Report Form (표절 제보) */
.report-section {
    margin-top: 3rem;
}

.report-card {
    background: #fff;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.report-card-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--gray-200);
}

.report-card-header i {
    font-size: 1.5rem;
    color: var(--danger);
}

.report-card-header h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gray-900);
    margin: 0;
}

.char-counter {
    font-size: 0.8rem;
    color: var(--gray-500);
    text-align: right;
    margin-top: 0.25rem;
}

.char-counter.warning {
    color: var(--warning);
}

.char-counter.error {
    color: var(--danger);
}

/* ========================================
   Responsive
======================================== */
@media (max-width: 991.98px) {
    .info-cards {
        grid-template-columns: 1fr;
    }
    
    .banner-title {
        font-size: 1.5rem;
    }
    
    .banner-desc {
        font-size: 1rem;
    }
}

@media (max-width: 575.98px) {
    .banner-image {
        aspect-ratio: 16/9;
    }
    
    .banner-image.has-image {
        aspect-ratio: auto;
    }
    
    .banner-icon {
        width: 60px;
        height: 60px;
    }
    
    .banner-icon i {
        font-size: 2rem;
    }
    
    .cta-btn {
        width: 100%;
        padding: 1rem 2rem;
    }
    
    .work-detail-media {
        min-height: 250px;
    }
    
    .work-detail-info {
        padding: 1.5rem;
    }
    
    .work-detail-title {
        font-size: 1.25rem;
    }
    
    .report-card {
        padding: 1.5rem;
    }
}
