.seo-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 30px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
}

/* 입력 영역 */
.input-group {
    display: flex;
    gap: 12px;
    margin-bottom: 30px;
}

.input-group input {
    flex: 1;
    padding: 12px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s;
    background: #f8f9fa;
}

.input-group input:focus {
    outline: none;
    border-color: #2196F3;
    background: white;
    box-shadow: 0 0 0 4px rgba(33, 150, 243, 0.1);
}

#analyzeSeo {
    padding: 12px 24px;
    background: #2196F3;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
}

#analyzeSeo:hover {
    background: #1976D2;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(33, 150, 243, 0.2);
}

/* 분석 결과 영역 */
.seo-analysis {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.seo-section {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    border: 1px solid #e3f2fd;
}

.seo-section h3 {
    color: #2196F3;
    margin-bottom: 16px;
    font-size: 18px;
    font-weight: 600;
    padding-bottom: 8px;
    border-bottom: 2px solid #e3f2fd;
}

.seo-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 12px 0;
    border-bottom: 1px solid #eee;
}

.seo-item:last-child {
    border-bottom: none;
}

.seo-item .label {
    color: #555;
    font-weight: 500;
    min-width: 100px;
}

.seo-item .value {
    color: #333;
    flex: 1;
    margin-left: 20px;
    word-break: break-word;
}

/* 개선 사항 리스트 */
.improvement-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.improvement-list li {
    padding: 12px 16px;
    margin-bottom: 8px;
    background: #fff3e0;
    border-left: 4px solid #ff9800;
    border-radius: 4px;
    color: #e65100;
    font-size: 14px;
}

/* 로딩 상태 */
.analyzing {
    text-align: center;
    padding: 40px;
    color: #2196F3;
    font-size: 18px;
    font-weight: 500;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { opacity: 0.6; }
    50% { opacity: 1; }
    100% { opacity: 0.6; }
}

/* 에러 메시지 */
.error-message {
    padding: 20px;
    background: #ffebee;
    border-radius: 8px;
    color: #d32f2f;
}

.error-message p {
    margin: 0 0 10px 0;
}

.error-message ul {
    margin: 0;
    padding-left: 20px;
    color: #c62828;
}

/* 반응형 디자인 */
@media (max-width: 768px) {
    .seo-container {
        padding: 20px;
        margin: 0 15px;
    }

    .input-group {
        flex-direction: column;
    }

    #analyzeSeo {
        width: 100%;
    }

    .seo-item {
        flex-direction: column;
    }

    .seo-item .value {
        margin-left: 0;
        margin-top: 8px;
    }
} 