/* app.html 전용 스타일 */

body {
    background: linear-gradient(135deg, #F7B28D 0%, #F28C28 100%) !important;
}

.app-container {
    max-width: 100%;
    min-height: 100vh;
    background: linear-gradient(135deg, #F7B28D 0%, #F28C28 100%);
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.screen {
    display: none;
    width: 100%;
    max-width: 500px;
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    animation: fadeIn 0.3s ease-in;
}

.screen.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 주제 선택 화면 */
.screen-header {
    text-align: center;
    margin-bottom: 40px;
}

.screen-header h1 {
    font-size: 1.8em;
    color: #333;
    margin-bottom: 10px;
    line-height: 1.4;
}

.topic-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.topic-card {
    background: linear-gradient(135deg, #F7B28D 0%, #F28C28 100%);
    border-radius: 15px;
    padding: 30px 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(242, 140, 40, 0.3);
    min-height: 140px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.topic-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(242, 140, 40, 0.4);
}

.topic-card:active {
    transform: translateY(-2px);
}

.topic-icon {
    font-size: 3em;
    margin-bottom: 15px;
}

.topic-title {
    font-size: 1.3em;
    font-weight: bold;
    color: white;
}

/* 질문 화면 */
.question-header {
    margin-bottom: 30px;
}

.back-btn {
    background: none;
    border: none;
    color: #E67E22;
    font-size: 1.1em;
    cursor: pointer;
    padding: 10px 0;
    margin-bottom: 15px;
    transition: color 0.2s;
    font-weight: 600;
}

.back-btn:hover {
    color: #D35400;
}

.progress-bar {
    width: 100%;
    height: 6px;
    background: #e0e0e0;
    border-radius: 3px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(135deg, #F7B28D 0%, #F28C28 100%);
    transition: width 0.3s ease;
    width: 0%;
}

.question-content {
    min-height: 300px;
}

.question-content h2 {
    font-size: 1.5em;
    color: #333;
    margin-bottom: 30px;
    line-height: 1.5;
}

.question-options {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.option-btn {
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    padding: 18px 20px;
    font-size: 1.1em;
    color: #333;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: left;
    width: 100%;
}

.option-btn:hover {
    border-color: #F28C28;
    background: #FFF5E6;
    transform: translateX(5px);
}

.option-btn:active {
    transform: translateX(3px);
}

.option-btn.selected {
    border-color: #E67E22;
    background: linear-gradient(135deg, #F7B28D 0%, #F28C28 100%);
    color: white;
    font-weight: 600;
}

/* 완료 화면 */
.completion-content {
    text-align: center;
}

.completion-content h2 {
    color: #E67E22;
    margin-bottom: 20px;
    font-size: 1.8em;
    font-weight: 700;
}

.completion-content p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 30px;
}

.consultation-summary {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 20px;
    text-align: left;
    margin-top: 20px;
}

.consultation-summary h3 {
    color: #E67E22;
    margin-bottom: 15px;
    font-size: 1.2em;
    font-weight: 700;
}

.summary-item {
    padding: 10px 0;
    border-bottom: 1px solid #e0e0e0;
}

.summary-item:last-child {
    border-bottom: none;
}

.summary-item strong {
    color: #333;
    display: inline-block;
    min-width: 120px;
}

.summary-item span {
    color: #666;
}

/* 모바일 반응형 */
@media (max-width: 480px) {
    .app-container {
        padding: 10px;
    }

    .screen {
        padding: 20px;
        border-radius: 15px;
    }

    .screen-header h1 {
        font-size: 1.5em;
    }

    .topic-cards {
        gap: 15px;
    }

    .topic-card {
        padding: 25px 15px;
        min-height: 120px;
    }

    .topic-icon {
        font-size: 2.5em;
        margin-bottom: 10px;
    }

    .topic-title {
        font-size: 1.1em;
    }

    .question-content h2 {
        font-size: 1.3em;
    }

    .option-btn {
        padding: 15px;
        font-size: 1em;
    }
}

