/* EXIF 제거 도구 스타일 */

.tool-section {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-bottom: 50px;
}

.upload-section,
.exif-section,
.process-section {
    background: var(--bg-light);
    padding: 25px;
    border-radius: var(--radius);
    border: 1px solid var(--border-color);
}

.section-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-color);
}

/* 업로드 영역 */
.upload-area {
    border: 2px dashed var(--border-color);
    border-radius: var(--radius);
    padding: 40px 20px;
    text-align: center;
    background: var(--bg-white);
    cursor: pointer;
    transition: all 0.3s ease;
}

.upload-area:hover {
    border-color: var(--primary-color);
    background: rgba(45, 45, 45, 0.02);
}

.upload-area.dragover {
    border-color: var(--primary-color);
    background: rgba(45, 45, 45, 0.05);
}

.upload-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.upload-area p {
    color: var(--text-secondary);
    margin: 15px 0;
    font-size: 1rem;
}

.upload-area .btn {
    margin-top: 15px;
}

.helper-text {
    display: block;
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-top: 10px;
}

.file-info {
    margin-top: 20px;
    padding: 15px;
    background: var(--bg-white);
    border-radius: var(--radius);
    border: 1px solid var(--border-color);
}

.file-info-item {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid var(--border-color);
}

.file-info-item:last-child {
    border-bottom: none;
}

.file-info-label {
    font-weight: 600;
    color: var(--text-primary);
}

.file-info-value {
    color: var(--text-secondary);
}

/* EXIF 정보 섹션 */
.exif-info {
    background: var(--bg-white);
    padding: 20px;
    border-radius: var(--radius);
    border: 1px solid var(--border-color);
}

.exif-info.loading {
    text-align: center;
    color: var(--text-secondary);
    font-style: italic;
}

.exif-table {
    width: 100%;
    border-collapse: collapse;
}

.exif-table th,
.exif-table td {
    padding: 10px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.exif-table th {
    font-weight: 600;
    color: var(--text-primary);
    background: var(--bg-light);
}

.exif-table td {
    color: var(--text-secondary);
}

.exif-table tr:last-child th,
.exif-table tr:last-child td {
    border-bottom: none;
}

.exif-warning {
    background: #fff3cd;
    border: 1px solid #ffc107;
    border-radius: var(--radius);
    padding: 15px;
    margin-top: 15px;
    color: #856404;
}

.exif-warning strong {
    display: block;
    margin-bottom: 5px;
}

/* 처리 결과 섹션 */
.result-info {
    background: var(--bg-white);
    padding: 20px;
    border-radius: var(--radius);
    border: 1px solid var(--border-color);
    margin-bottom: 20px;
}

.info-item {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
}

.info-item:last-child {
    border-bottom: none;
}

.info-label {
    font-weight: 600;
    color: var(--text-primary);
}

.status-removed {
    color: #28a745;
    font-weight: 600;
}

.status-present {
    color: #dc3545;
    font-weight: 600;
}

/* 미리보기 비교 */
.preview-comparison {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.preview-item {
    text-align: center;
}

.preview-item h4 {
    font-size: 1rem;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.preview-image {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 15px;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.preview-image img {
    max-width: 100%;
    max-height: 300px;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.preview-image.empty {
    color: var(--text-secondary);
    font-style: italic;
}

/* 다운로드 섹션 */
.download-section {
    display: flex;
    gap: 10px;
}

.download-section .btn {
    flex: 1;
}

.btn-secondary {
    background: var(--bg-white);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background: var(--bg-light);
    border-color: var(--text-secondary);
}

/* 정보 섹션 */
.info-section {
    margin-top: 50px;
    padding-top: 50px;
    border-top: 2px solid var(--border-color);
}

.info-section h2 {
    font-size: 2rem;
    color: var(--text-primary);
    margin-bottom: 30px;
    text-align: center;
}

.info-card {
    background: var(--bg-light);
    padding: 25px;
    border-radius: var(--radius);
    margin-bottom: 20px;
    border: 1px solid var(--border-color);
}

.info-card h3 {
    font-size: 1.3rem;
    color: #2d2d2d;
    margin-bottom: 15px;
}

.info-card p,
.info-card li {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 10px;
}

.info-card ul,
.info-card ol {
    margin-left: 20px;
}

.info-card li {
    margin-bottom: 8px;
}

/* 반응형 */
@media (max-width: 768px) {
    .preview-comparison {
        grid-template-columns: 1fr;
    }

    .download-section {
        flex-direction: column;
    }

    .download-section .btn {
        width: 100%;
    }

    .info-section h2 {
        font-size: 1.5rem;
    }

    .exif-table {
        font-size: 0.9rem;
    }

    .exif-table th,
    .exif-table td {
        padding: 8px 5px;
    }
}

@media (max-width: 480px) {
    .upload-section,
    .exif-section,
    .process-section {
        padding: 20px 15px;
    }

    .upload-area {
        padding: 30px 15px;
    }

    .upload-icon {
        font-size: 2.5rem;
    }
}

