@charset "utf-8";
/* auto_indexer.css - 자동 페이지 색인 전용 스타일 */

/* 페이지 전용 배경 */
body.auto-indexer-page {
    background: #f5f7fa;
}

/* 메인 래퍼 */
.indexer-wrapper {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 30px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
}

/* 페이지 제목 */
.page-title {
    color: #333;
    font-size: 2rem;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 3px solid #4ECDC4;
    display: flex;
    align-items: center;
    gap: 10px;
}

.page-title i {
    color: #4ECDC4;
}

/* 진행 상태 메시지 */
.indexing-progress {
    text-align: center;
    padding: 20px;
    background: #e3f2fd;
    border-radius: 8px;
    margin-bottom: 20px;
}

.progress-message {
    color: #1976d2;
    font-size: 1.1rem;
    margin: 0;
}

.progress-message i {
    margin-right: 8px;
}

/* 구분선 */
.divider {
    border: none;
    border-top: 2px solid #e0e0e0;
    margin: 25px 0;
}

/* 결과 박스 */
.result-box {
    background: #f5f5f5;
    padding: 25px;
    border-radius: 8px;
    margin: 20px 0;
    border-left: 4px solid #4ECDC4;
}

.result-title {
    color: #333;
    font-size: 1.5rem;
    margin: 0 0 20px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.result-title i {
    color: #667eea;
}

/* 성공 메시지 */
.success-message {
    color: #155724;
    background: #d4edda;
    padding: 15px 20px;
    border-radius: 6px;
    border: 1px solid #c3e6cb;
    margin: 15px 0;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.success-message i {
    font-size: 1.2rem;
}

/* 에러 섹션 */
.error-section {
    margin-top: 20px;
    padding: 20px;
    background: #fff3cd;
    border-radius: 6px;
    border: 1px solid #ffc107;
}

.error-title {
    color: #856404;
    margin: 0 0 15px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.error-title i {
    color: #ffc107;
}

.error-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.error-item {
    color: #721c24;
    background: #f8d7da;
    padding: 10px 15px;
    margin: 8px 0;
    border-radius: 4px;
    border-left: 3px solid #dc3545;
    font-size: 0.95rem;
}

/* 안내 섹션 */
.intro-section {
    text-align: center;
    padding: 20px;
}

.intro-text {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 25px;
    line-height: 1.6;
}

.info-box {
    background: #e8f5e9;
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
    text-align: left;
    border: 1px solid #c8e6c9;
}

.info-item {
    color: #2e7d32;
    margin: 12px 0;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.info-item i {
    color: #4caf50;
    font-size: 1.2rem;
    min-width: 20px;
}

.info-item strong {
    font-weight: 600;
}

/* 액션 버튼 영역 */
.action-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 30px;
    flex-wrap: wrap;
}

/* 버튼 스타일 */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn i {
    font-size: 1.1rem;
}

.btn-start {
    background: linear-gradient(135deg, #4ECDC4 0%, #44b3aa 100%);
    color: white;
    padding: 15px 40px;
    font-size: 1.2rem;
    box-shadow: 0 4px 15px rgba(78, 205, 196, 0.3);
}

.btn-start:hover {
    background: linear-gradient(135deg, #44b3aa 0%, #3a9d95 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(78, 205, 196, 0.4);
}

.btn-start:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(78, 205, 196, 0.3);
}

.btn-primary {
    background: #667eea;
    color: white;
    box-shadow: 0 3px 10px rgba(102, 126, 234, 0.3);
}

.btn-primary:hover {
    background: #5a6fd6;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.btn-secondary {
    background: #6c757d;
    color: white;
    box-shadow: 0 3px 10px rgba(108, 117, 125, 0.3);
}

.btn-secondary:hover {
    background: #5a6268;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(108, 117, 125, 0.4);
}

/* 반응형 디자인 */
@media (max-width: 768px) {
    .indexer-wrapper {
        margin: 1rem;
        padding: 20px;
    }
    
    .page-title {
        font-size: 1.5rem;
        flex-direction: column;
        text-align: center;
    }
    
    .result-box {
        padding: 15px;
    }
    
    .result-title {
        font-size: 1.2rem;
    }
    
    .action-buttons {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
    
    .info-box {
        padding: 15px;
    }
    
    .info-item {
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .indexer-wrapper {
        margin: 0.5rem;
        padding: 15px;
    }
    
    .page-title {
        font-size: 1.3rem;
    }
    
    .btn-start {
        padding: 12px 30px;
        font-size: 1rem;
    }
    
    .intro-text {
        font-size: 1rem;
    }
}

/* 애니메이션 */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.result-box,
.intro-section {
    animation: fadeIn 0.5s ease;
}

/* 스피너 애니메이션 */
@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.fa-spinner.fa-spin {
    animation: spin 1s linear infinite;
}