/* 수술비 검색 전용 스타일 */

/* 라디오 버튼 그룹 스타일 */
.radio-group {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.radio-label {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    font-size: 14px;
    min-width: 80px;
    justify-content: center;
}

.radio-label:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(98, 126, 234, 0.5);
}

.radio-label input[type="radio"] {
    opacity: 0;
    position: absolute;
}

.radio-label input[type="radio"]:checked + .radio-text {
    color: white;
}

.radio-label:has(input[type="radio"]:checked) {
    background: linear-gradient(135deg, #627eea 0%, #4f46e5 100%);
    border-color: #627eea;
    color: white;
}

.radio-text {
    transition: color 0.3s ease;
}

/* 폼 힌트 스타일 */
.form-hint {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 4px;
}

/* 수술 결과 카드 스타일 */
.surgery-results {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.surgery-result-card {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    padding: 20px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    cursor: pointer;
}

.surgery-result-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.surgery-result-card .card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.surgery-type-badge {
    background: linear-gradient(135deg, #627eea 0%, #4f46e5 100%);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    flex-shrink: 0;
}

.surgery-category {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

.card-body {
    margin-bottom: 16px;
}

.surgery-name {
    font-size: 18px;
    font-weight: 600;
    color: white;
    margin: 0 0 8px 0;
    line-height: 1.4;
}

.surgery-desc {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.5;
    margin: 0 0 8px 0;
}

.relevance-score {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    color: #f59e0b;
}

.relevance-score i {
    color: #f59e0b;
}

.card-footer {
    display: flex;
    justify-content: flex-end;
}

.detail-btn {
    padding: 8px 16px;
    background: rgba(255, 0, 0, 0.1);
    border: 1px solid rgba(98, 126, 234, 0.3);
    border-radius: 6px;
    color: #250404;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
}

.detail-btn:hover {
    background: rgba(98, 126, 234, 0.3);
    border-color: #627eea;
}

/* 하이라이트 스타일 */
mark.highlight {
    background: linear-gradient(135deg, #f59e0b 0%, #f97316 100%);
    color: white;
    padding: 2px 4px;
    border-radius: 4px;
    font-weight: 600;
}

/* 검색 결과 없음 스타일 */
.no-results {
    text-align: center;
    padding: 60px 20px;
    color: rgba(255, 255, 255, 0.7);
}

.no-results i {
    font-size: 48px;
    margin-bottom: 16px;
    opacity: 0.5;
}

.no-results h4 {
    font-size: 20px;
    margin-bottom: 8px;
    color: white;
}

.no-results p {
    font-size: 14px;
    margin-bottom: 24px;
}

.search-suggestions {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 20px;
    backdrop-filter: blur(10px);
    text-align: left;
    max-width: 400px;
    margin: 0 auto;
}

.search-suggestions h5 {
    font-size: 16px;
    color: white;
    margin-bottom: 12px;
}

.search-suggestions ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.search-suggestions li {
    padding: 6px 0;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    position: relative;
    padding-left: 20px;
}

.search-suggestions li::before {
    content: "•";
    color: #627eea;
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* 페이지네이션 스타일 */
.pagination-wrapper {
    margin-top: 32px;
    display: flex;
    justify-content: center;
}

.pagination-nav {
    display: flex;
    gap: 8px;
}

.page-link {
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.page-link:hover {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    text-decoration: none;
}

.page-link.active {
    background: linear-gradient(135deg, #627eea 0%, #4f46e5 100%);
    border-color: #627eea;
    color: white;
}

/* 모달 스타일 */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.modal-content {
    position: relative;
    background: rgba(255, 255, 255, 0.95);
    margin: 5% auto;
    padding: 0;
    border-radius: 16px;
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    overflow: hidden;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    background: linear-gradient(135deg, #627eea 0%, #4f46e5 100%);
    color: white;
}

.modal-title-section {
    flex: 1;
}

.modal-surgery-type {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 8px;
}

.modal-title {
    font-size: 20px;
    font-weight: 600;
    margin: 0;
    line-height: 1.3;
}

.close-modal {
    background: none;
    border: none;
    color: white;
    font-size: 20px;
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    transition: background 0.3s ease;
}

.close-modal:hover {
    background: rgba(255, 255, 255, 0.2);
}

.modal-body {
    padding: 24px;
    color: #333;
    overflow-y: auto;
    max-height: calc(80vh - 100px);
}

.modal-detail-row {
    margin-bottom: 16px;
    line-height: 1.6;
}

.modal-detail-row strong {
    color: #627eea;
    display: inline-block;
    min-width: 80px;
    margin-right: 8px;
}

.modal-category,
.modal-subcategory {
    color: #666;
}

.modal-description {
    margin-top: 8px;
    line-height: 1.7;
    color: #444;
}

/* 반응형 디자인 */
@media (max-width: 768px) {
    .radio-group {
        flex-direction: column;
    }
    
    .radio-label {
        min-width: auto;
        width: 100%;
    }
    
    .surgery-result-card .card-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .surgery-type-badge {
        align-self: flex-start;
    }
    
    .modal-content {
        margin: 10% auto;
        width: 95%;
    }
    
    .modal-header {
        padding: 16px;
    }
    
    .modal-title {
        font-size: 18px;
    }
    
    .modal-body {
        padding: 16px;
    }
}

/* 애니메이션 */
@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.modal.show .modal-content {
    animation: modalFadeIn 0.3s ease-out;
} 

/* 수술비 검색 페이지 모바일 전용 CSS */

/* CSS 변수 추가 */
:root {
    --surgery-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --surgery-primary: #667eea;
    --surgery-secondary: #764ba2;
    --glass-blur: blur(12px);
    --white: #ffffff;
    --bg-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 25%, #f093fb 50%, #f5576c 75%, #4facfe 100%);
    --gray-50: #f9fafb;
    --gray-700: #374151;
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --radius-xl: 18px;
    --transition-normal: 0.25s ease;
}

/* 기본 스타일 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    line-height: 1.5;
    color: var(--gray-700);
    background: var(--gray-50);
    overflow-x: hidden;
    font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* 컬러풀 배경 */
.glass-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: var(--bg-gradient);
    background-size: 400% 400%;
    animation: gradientShift 10s ease infinite;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.glass-blob {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: var(--glass-blur);
    animation: float 8s ease-in-out infinite;
}

.blob-1 {
    width: 300px;
    height: 300px;
    top: 5%;
    left: 5%;
    animation-delay: 0s;
    background: rgba(98, 126, 234, 0.1);
}

.blob-2 {
    width: 200px;
    height: 200px;
    top: 40%;
    right: 5%;
    animation-delay: 3s;
    background: rgba(79, 70, 229, 0.1);
}

.blob-3 {
    width: 150px;
    height: 150px;
    bottom: 5%;
    left: 40%;
    animation-delay: 6s;
    background: rgba(16, 185, 129, 0.1);
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    33% { transform: translateY(-15px) rotate(3deg); }
    66% { transform: translateY(8px) rotate(-3deg); }
}

/* 메인 컨텐츠 */
.main-content {
    position: relative;
    min-height: 100vh;
    padding-top: 70px;
}

.main-wrapper {
    width: 100%;
    margin-top : 20px;
    padding: 0;
}

/* 히어로 섹션 및 배경 스타일 개선 */
.hero-section {
    position: relative;
    padding: 10px 0px 20px;
    text-align: center;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: var(--glass-blur);
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.hero-content {
    max-width: 600px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: var(--glass-blur);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    color: var(--white);
    margin-bottom: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-badge i {
    color: #667eea;
}

.hero-title {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 700;
    color: var(--white);
    margin-bottom: 8px;
    line-height: 1.1;
}

.gradient-text {
    background: var(--surgery-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0;
    line-height: 1.4;
}

/* 모바일 플로팅 버튼 - 실손보험료 페이지와 동일한 스타일 */
.mobile-floating-btn {
    position: fixed;
    bottom: 30px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: var(--surgery-gradient);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 22px;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
    z-index: 9999;
    transition: all 0.3s ease;
    display: none;
    align-items: center;
    justify-content: center;
}

.mobile-floating-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 30px rgba(102, 126, 234, 0.4);
}

.mobile-floating-btn i {
    font-size: 22px;
}

.mobile-floating-btn span {
    display: none;
}

/* 모바일 검색 인터페이스 */
.mobile-search-interface {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    border-radius: 20px 20px 0 0;
    box-shadow: 0 -5px 30px rgba(0, 0, 0, 0.1);
    transform: translateY(100%);
    transition: transform 0.3s ease;
    z-index: 10001;
    display: none;
}

.mobile-search-interface.active {
    display: block;
    transform: translateY(0);
}

.mobile-search-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 20px 0 20px;
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 15px;
}

.mobile-search-header h3 {
    margin: 0;
    font-size: 18px;
    color: #333;
    font-weight: 600;
}

.mobile-close-btn {
    background: #f5f5f5;
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #666;
    transition: all 0.2s ease;
}

.mobile-close-btn:hover {
    background: #e0e0e0;
    color: #333;
}

.mobile-search-form {
    padding: 20px;
}

.mobile-form-group {
    margin-bottom: 20px;
}

.mobile-form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
    font-size: 14px;
}

.mobile-form-control {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
}

.mobile-form-control:focus {
    outline: none;
    border-color: #667eea;
}

.mobile-search-filters {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.mobile-filter-badge {
    background: #f8f9fa;
    border: 1px solid #e0e0e0;
    border-radius: 20px;
    padding: 8px 12px;
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 12px;
    flex: 1;
    justify-content: center;
}

.mobile-filter-badge.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-color: #667eea;
}

.mobile-filter-badge input[type="radio"] {
    display: none;
}

.mobile-filter-badge .badge-text {
    font-weight: 500;
}

.mobile-filter-badge .badge-icon {
    font-size: 12px;
}

.mobile-search-btn {
    width: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 14px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.mobile-search-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.3);
}

.mobile-info-section {
    margin-top: 20px;
}

.mobile-info-card {
    background: linear-gradient(135deg, #f8f9ff 0%, #e3f2fd 100%);
    border: 1px solid #667eea;
    border-radius: 8px;
    padding: 12px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.mobile-info-card .info-icon {
    color: #667eea;
    font-size: 16px;
    margin-top: 2px;
}

.mobile-info-card .info-content h6 {
    margin: 0 0 4px 0;
    color: #333;
    font-size: 14px;
    font-weight: 600;
}

.mobile-info-card .info-content p {
    margin: 0;
    color: #666;
    font-size: 12px;
    line-height: 1.4;
}

/* 모바일 검색 결과 영역 */
.mobile-search-results {
    position: fixed;
    top: 50px;
    left: 0;
    right: 0;
    bottom: 0;
    background: white;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: 1002;
    display: none;
    height: calc(100vh - 50px);
}

.mobile-search-results.active {
    display: block;
    transform: translateX(0);
}

.mobile-results-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    position: sticky;
    top: 0;
    z-index: 10;
}

.mobile-back-btn {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: white;
    font-size: 16px;
    transition: all 0.2s ease;
}

.mobile-back-btn:hover {
    background: rgba(255, 255, 255, 0.3);
}

.mobile-results-title {
    text-align: center;
    flex: 1;
}

.mobile-results-title h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
}

.mobile-results-title .results-count {
    font-size: 12px;
    opacity: 0.8;
}

.mobile-new-search-btn {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: white;
    font-size: 16px;
    transition: all 0.2s ease;
}

.mobile-new-search-btn:hover {
    background: rgba(255, 255, 255, 0.3);
}

.mobile-results-content {
    padding: 20px;
    overflow-y: auto;
    height: calc(100vh - 50px - 66px);
}

.mobile-results-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.mobile-result-card {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.mobile-result-card:hover {
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.15);
    transform: translateY(-2px);
}

.mobile-result-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.mobile-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.mobile-surgery-type {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
}

.mobile-category {
    color: #666;
    font-size: 12px;
    background: #f5f5f5;
    padding: 2px 6px;
    border-radius: 8px;
}

.mobile-surgery-name {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #333;
    line-height: 1.3;
}

.mobile-surgery-desc {
    font-size: 13px;
    color: #666;
    line-height: 1.4;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.mobile-detail-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 6px;
    padding: 8px 16px;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    align-self: flex-start;
}

.mobile-detail-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}

.mobile-relevance-score {
    margin-top: 8px;
    text-align: right;
}

.mobile-relevance-score small {
    background: #f0f0f0;
    color: #666;
    padding: 2px 6px;
    border-radius: 8px;
    font-size: 11px;
}

.mobile-no-results {
    text-align: center;
    padding: 40px 20px;
    color: #666;
}

.mobile-no-results i {
    font-size: 48px;
    color: #ddd;
    margin-bottom: 16px;
}

.mobile-no-results h3 {
    margin: 0 0 8px 0;
    font-size: 18px;
    color: #333;
}

.mobile-no-results p {
    margin: 0 0 20px 0;
    font-size: 14px;
}

/* PC 검색 인터페이스 스타일 개선 */
.surgery-content {
    max-width: 1200px;
    margin: 0 auto;
}

.pc-search-interface {
    display: grid;
    grid-template-columns: 380px 1fr;
    gap: 20px;
    height: calc(100vh - 180px);
    align-items: start;
}

.search-sidebar {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: var(--glass-blur);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 18px;
    padding: 25px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    position: sticky;
    top: 90px;
    height: fit-content;
}

.search-results-area {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: var(--glass-blur);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 18px;
    padding: 20px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    overflow: hidden;
}

/* 반응형 디자인 */
@media (max-width: 1200px) {
    .pc-search-interface {
        grid-template-columns: 360px 1fr;
        gap: 15px;
    }
}

@media (max-width: 1024px) {
    .pc-search-interface {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .search-sidebar {
        position: static;
    }
}

@media (max-width: 768px) {
    .mobile-floating-btn {
        display: flex;
    }
    
    .pc-search-interface {
        display: none;
    }
    
    .surgery-content {
        padding: 15px 15px 30px 15px;
    }
    
    .hero-section {
        padding: 10px 0 20px;
    }
}

@media (max-width: 480px) {
    .mobile-floating-btn {
        bottom: 20px;
        right: 16px;
        padding: 10px 16px;
        font-size: 13px;
    }
    
    .mobile-search-interface {
        border-radius: 16px 16px 0 0;
    }
    
    .mobile-search-form {
        padding: 16px;
    }
    
    .mobile-form-control {
        padding: 10px 12px;
        font-size: 14px;
    }
    
    .mobile-search-filters {
        gap: 6px;
    }
    
    .mobile-filter-badge {
        padding: 6px 10px;
        font-size: 11px;
    }
    
    .mobile-search-btn {
        padding: 12px;
        font-size: 14px;
    }
    
    .mobile-results-content {
        padding: 16px;
    }
    
    .mobile-result-card {
        padding: 14px;
    }
    
    .mobile-surgery-name {
        font-size: 15px;
    }
    
    .mobile-surgery-desc {
        font-size: 12px;
    }
}

/* 키워드 하이라이트 스타일 */
.mobile-result-card .highlight {
    background: linear-gradient(120deg, #fff3cd 0%, #ffeaa7 100%);
    padding: 2px 4px;
    border-radius: 3px;
    font-weight: 600;
    color: #856404;
}

/* 모바일 모달 스타일 개선 */
@media (max-width: 768px) {
    .modal-content {
        margin: 5% auto;
        width: 95%;
        max-width: none;
        border-radius: 16px;
    }
    
    .modal-header {
        padding-bottom: 15px;
        border-bottom: 1px solid #f0f0f0;
    }
    
    .modal-surgery-type {
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        color: white;
        padding: 4px 8px;
        border-radius: 12px;
        font-size: 12px;
        font-weight: 600;
    }
    
    .modal-title {
        color: #333;
        font-size: 18px;
        margin: 8px 0 0 0;
    }
    
    .modal-body {
        padding-top: 15px;
    }
    
    .detail-row {
        margin-bottom: 12px;
        padding: 8px 0;
        border-bottom: 1px solid #f8f9fa;
    }
    
    .detail-row:last-child {
        border-bottom: none;
    }
    
    .detail-row strong {
        color: #667eea;
        font-size: 14px;
    }
    
    .detail-row span,
    .detail-row p {
        color: #666;
        font-size: 14px;
        line-height: 1.5;
    }
} 