/* app/fun/static/css/lunch.css */

/* 점심 메뉴 추천 페이지 전용 스타일 */
/* 폰트는 base.html의 main.css에서 전역으로 설정됨 */

/* 배경은 main-content에만 적용 (사이드바 제외) */
.lunch-page .main-content {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: calc(100vh - 150px);
    border-radius: 8px;
    padding: 2rem;
    width: 100%;
    box-sizing: border-box;
    max-width: 100%;
    overflow-x: hidden;
}

/* 점심 메뉴 추천 페이지의 모든 텍스트에 폰트 강제 적용 */
.lunch-page .main-content,
.lunch-page .main-content *,
.lunch-page .main-content label,
.lunch-page .main-content select,
.lunch-page .main-content button,
.lunch-page .main-content h2,
.lunch-page .main-content div,
.lunch-page .main-content span,
.lunch-page .main-content a,
.lunch-page .main-content form,
.lunch-page .main-content input {
    font-family: 'Noto Sans KR', 'Nanum Gothic', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Helvetica Neue', Arial, sans-serif !important;
}

.lunch-container {
    max-width: 600px;
    margin: 0 auto;
    color: #333;
}

.header {
    text-align: center;
    margin-bottom: 1.5rem;
    color: #fff;
}

.header h1 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
    font-weight: 400;
}

.header .subtitle {
    font-size: 0.875rem;
    opacity: 0.9;
}

.content {
    background: #fff;
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

/* 폼 스타일 */
.lunch-form {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.form-group label {
    font-size: 1.1rem;
    font-weight: 400;
    color: #333;
}

.form-group select {
    padding: 1rem;
    font-size: 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    background: #fff;
    color: #333;
    cursor: pointer;
    transition: all 0.2s;
}

.form-group select:hover {
    border-color: #667eea;
}

.form-group select:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.submit-btn {
    padding: 1.25rem 2rem;
    font-size: 1.2rem;
    font-weight: 400;
    color: #fff;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    margin-top: 1rem;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(102, 126, 234, 0.4);
}

.submit-btn:active {
    transform: translateY(0);
}

/* 결과 스타일 */
.result-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.result-card {
    background: linear-gradient(135deg, #f8f9ff 0%, #fff 100%);
    border-radius: 12px;
    padding: 2rem;
    border: 2px solid #e2e8f0;
}

.result-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #e2e8f0;
}

.result-header h2 {
    font-size: 1.5rem;
    color: #667eea;
    font-weight: 400;
}

.result-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.menu-name {
    font-size: 2.5rem;
    font-weight: 400;
    text-align: center;
    color: #333;
    padding: 1rem;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.menu-comment {
    font-size: 1.3rem;
    text-align: center;
    color: #666;
    font-style: italic;
    padding: 1rem;
    background: #f8f9ff;
    border-radius: 8px;
}

.menu-extra {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: #fff;
    border-radius: 8px;
    border-left: 4px solid #667eea;
}

.menu-extra .label {
    font-weight: 400;
    color: #667eea;
    min-width: 100px;
}

.menu-extra .value {
    color: #333;
    flex: 1;
}

.action-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.btn {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 400;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.2s;
    display: inline-block;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(102, 126, 234, 0.4);
}

/* 반응형 스타일 */
@media (max-width: 1024px) {
    .lunch-page .main-content {
        padding: 1.5rem;
    }
}

@media (max-width: 768px) {
    .lunch-page .main-content {
        padding: 1rem;
    }
}

@media (max-width: 640px) {
    .lunch-page .main-content {
        padding: 0.75rem;
        border-radius: 4px;
    }

    .lunch-page .header h1 {
        font-size: 1.5rem;
    }

    .lunch-page .header .subtitle {
        font-size: 0.875rem;
    }

    .lunch-page .content {
        padding: 1.5rem;
    }

    .lunch-page .menu-name {
        font-size: 1.8rem;
    }

    .lunch-page .menu-comment {
        font-size: 1.1rem;
    }

    .lunch-page .form-group select,
    .lunch-page .submit-btn,
    .lunch-page .btn {
        font-size: 1rem;
        padding: 0.875rem 1.5rem;
    }
}

