/* 실험 과정 체크 도우미 - 스타일 파일 */
/* 일러스트 감성: 핑크 + 흰색 + 리본 + 폭죽 효과 */

/* 기본 설정 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif;
    font-size: 18px;
    background-color: #fff5f9;
    background-image: 
        /* 일러스트풍 별 포인트 */
        radial-gradient(ellipse 8px 3px at 10px 5px, transparent 60%, #ffb6c1 60%, #ffb6c1 65%, transparent 65%),
        radial-gradient(ellipse 8px 3px at 20px 5px, transparent 60%, #ffb6c1 60%, #ffb6c1 65%, transparent 65%),
        radial-gradient(circle 2px at 15px 5px, #ff69b4 50%, transparent 50%),
        /* 일러스트풍 리본 */
        radial-gradient(ellipse 12px 8px at 45px 10px, transparent 55%, #ff9ec4 55%, #ff9ec4 62%, transparent 62%),
        radial-gradient(ellipse 12px 8px at 57px 10px, transparent 55%, #ff9ec4 55%, #ff9ec4 62%, transparent 62%),
        radial-gradient(circle 3px at 51px 10px, #ff69b4 50%, transparent 50%),
        /* 반복 패턴 */
        radial-gradient(ellipse 8px 3px at 110px 5px, transparent 60%, #ffb6c1 60%, #ffb6c1 65%, transparent 65%),
        radial-gradient(ellipse 8px 3px at 120px 5px, transparent 60%, #ffb6c1 60%, #ffb6c1 65%, transparent 65%),
        radial-gradient(circle 2px at 115px 5px, #ff69b4 50%, transparent 50%),
        radial-gradient(ellipse 12px 8px at 145px 10px, transparent 55%, #ff9ec4 55%, #ff9ec4 62%, transparent 62%),
        radial-gradient(ellipse 12px 8px at 157px 10px, transparent 55%, #ff9ec4 55%, #ff9ec4 62%, transparent 62%),
        radial-gradient(circle 3px at 151px 10px, #ff69b4 50%, transparent 50%),
        /* 연한 그라데이션 오버레이 */
        linear-gradient(135deg, rgba(255, 192, 203, 0.1), rgba(255, 248, 255, 0.5));
    background-size: 180px 35px;
    color: #5a4a5a;
    line-height: 1.6;
    padding: 20px;
}

/* 폭죽 캔버스 */
#fireworks-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

#fireworks-canvas.active {
    opacity: 1;
}

/* 앱 헤더 - 일러스트 풍 */
#app-header {
    text-align: center;
    padding: 35px 25px;
    background: linear-gradient(135deg, #ffc0cb, #ff9ec4, #ffb6c1);
    border-radius: 25px;
    margin-bottom: 35px;
    box-shadow: 0 6px 25px rgba(255, 158, 196, 0.5);
    border: 3px solid #ff69b4;
    position: relative;
    overflow: hidden;
}

#app-header::before {
    content: "🎀";
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 2.2rem;
    filter: drop-shadow(0 3px 6px rgba(255, 105, 180, 0.5));
    animation: bounce 2s ease-in-out infinite;
}

#app-header::after {
    content: "✨";
    position: absolute;
    top: 15px;
    right: 25px;
    font-size: 1.5rem;
    animation: sparkle 1.5s ease-in-out infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-8px); }
}

@keyframes sparkle {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.2); }
}

#app-header h1 {
    font-size: 2.8rem;
    color: #fff;
    text-shadow: 3px 3px 6px rgba(255, 105, 180, 0.4), 0 0 15px rgba(255, 255, 255, 0.6);
    margin-bottom: 12px;
    letter-spacing: 2px;
}

#app-header p {
    font-size: 1.25rem;
    color: #fff;
    text-shadow: 1px 1px 3px rgba(255, 105, 180, 0.3);
}

/* 섹션 공통 스타일 - 일러스트 풍 */
section {
    background: #fff;
    border-radius: 25px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 6px 20px rgba(255, 182, 193, 0.35);
    border: 2.5px solid #ffb6c1;
    position: relative;
}

section::before {
    content: "🎀";
    position: absolute;
    top: -14px;
    left: 25px;
    font-size: 1.3rem;
    filter: drop-shadow(0 3px 5px rgba(255, 105, 180, 0.4));
}

section h2 {
    font-size: 1.9rem;
    color: #ff69b4;
    margin-bottom: 22px;
    padding-bottom: 12px;
    border-bottom: 3px dashed #ffb6c1;
    letter-spacing: 1px;
}

/* 기능 1: 실험 과정 입력 */
#experiment-input textarea {
    width: 100%;
    min-height: 160px;
    padding: 18px;
    font-size: 1.1rem;
    border: 2.5px solid #ffb6c1;
    border-radius: 18px;
    resize: vertical;
    background-color: #fffafb;
    background-image: linear-gradient(rgba(255, 182, 193, 0.1) 1px, transparent 1px);
    background-size: 100% 30px;
    color: #5a4a5a;
    font-family: inherit;
}

#experiment-input textarea:focus {
    outline: none;
    border-color: #ff69b4;
    box-shadow: 0 0 15px rgba(255, 105, 180, 0.35);
}

#experiment-input button {
    margin-top: 18px;
    padding: 14px 35px;
    font-size: 1.15rem;
    background: linear-gradient(135deg, #ff69b4, #ff9ec4, #ffb6c1);
    color: #fff;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(255, 105, 180, 0.4);
    font-weight: bold;
    letter-spacing: 1px;
}

#experiment-input button:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 20px rgba(255, 105, 180, 0.5);
}

/* 기능 2: 체크리스트 - 일러스트 풍 */
#checklist-container .empty-message {
    text-align: center;
    color: #d0b0b0;
    font-size: 1.15rem;
    font-style: italic;
    padding: 25px;
}

#checklist {
    list-style: none;
    padding: 0;
}

#checklist li {
    padding: 18px 20px;
    margin-bottom: 12px;
    background-color: #fff5f9;
    border-radius: 18px;
    border: 2.5px solid #ffe4ec;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
    position: relative;
}

#checklist li::before {
    content: "";
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    width: 14px;
    height: 14px;
    background: 
        radial-gradient(ellipse 7px 5px at 4px 5px, transparent 50%, #ff9ec4 50%, #ff9ec4 56%, transparent 56%),
        radial-gradient(ellipse 7px 5px at 10px 5px, transparent 50%, #ff9ec4 50%, #ff9ec4 56%, transparent 56%),
        radial-gradient(circle 2.5px at 7px 5px, #ff69b4 50%, transparent 50%);
    opacity: 0.6;
}

#checklist li:hover {
    border-color: #ffb6c1;
    background-color: #fff0f8;
    transform: translateX(5px);
}

#checklist li.completed {
    background: linear-gradient(135deg, #ffb6c1, #ffc0cb);
    border-color: #ff69b4;
}

#checklist li input[type="checkbox"] {
    width: 22px;
    height: 22px;
    margin-right: 15px;
    accent-color: #ff69b4;
    cursor: pointer;
}

#checklist li label {
    font-size: 1.15rem;
    color: #5a4a5a;
    cursor: pointer;
    flex: 1;
}

#checklist li.completed label {
    text-decoration: line-through;
    color: #fff;
    font-weight: bold;
}

/* 기능 3: 순서 경고 메시지 */
#warning-message {
    padding: 18px 22px;
    background-color: #fff0f5;
    border-left: 5px solid #ff69b4;
    border-radius: 12px;
    color: #ff1493;
    font-weight: bold;
    font-size: 1.1rem;
    margin-bottom: 15px;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(255, 105, 180, 0.3); }
    50% { box-shadow: 0 0 0 8px rgba(255, 105, 180, 0); }
}

#warning-message.hidden {
    display: none;
}

/* 기능 4: 진행도 바 - 일러스트 풍 */
#progress-container {
    width: 100%;
    height: 35px;
    background-color: #ffe8f0;
    border-radius: 18px;
    overflow: hidden;
    margin-bottom: 12px;
    border: 2.5px solid #ffb6c1;
    box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.05);
}

#progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #ff69b4, #ff9ec4, #ffb6c1, #ffc0cb);
    background-size: 300% 100%;
    animation: progressShine 3s linear infinite;
    transition: width 0.6s ease;
    border-radius: 18px 0 0 18px;
    position: relative;
}

@keyframes progressShine {
    0% { background-position: 0% 50%; }
    100% { background-position: 100% 50%; }
}

#progress-fill::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

#progress-text {
    text-align: center;
    font-size: 1.3rem;
    color: #ff69b4;
    font-weight: bold;
    text-shadow: 0 0 10px rgba(255, 105, 180, 0.3);
}

/* 100% 달성 시 애니메이션 */
#progress-fill.complete {
    animation: completeGlow 1s ease-in-out infinite alternate, progressShine 2s linear infinite;
}

@keyframes completeGlow {
    0% { box-shadow: 0 0 5px rgba(255, 105, 180, 0.5); }
    100% { box-shadow: 0 0 20px rgba(255, 105, 180, 0.9), 0 0 30px rgba(255, 192, 203, 0.6); }
}

/* 기능 5: 실험 메모 */
#experiment-memo {
    width: 100%;
    min-height: 110px;
    padding: 18px;
    font-size: 1.1rem;
    border: 2.5px solid #ffb6c1;
    border-radius: 18px;
    resize: vertical;
    background-color: #fffafb;
    background-image: linear-gradient(rgba(255, 182, 193, 0.1) 1px, transparent 1px);
    background-size: 100% 30px;
    color: #5a4a5a;
    font-family: inherit;
    margin-bottom: 18px;
}

#experiment-memo:focus {
    outline: none;
    border-color: #ff69b4;
    box-shadow: 0 0 15px rgba(255, 105, 180, 0.35);
}

#save-memo-btn {
    padding: 14px 35px;
    font-size: 1.15rem;
    background: linear-gradient(135deg, #ff69b4, #ff9ec4, #ffb6c1);
    color: #fff;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(255, 105, 180, 0.4);
    font-weight: bold;
    letter-spacing: 1px;
    margin-bottom: 22px;
}

#save-memo-btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 20px rgba(255, 105, 180, 0.5);
}

.memo-display-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
}

.memo-display-header h3 {
    font-size: 1.5rem;
    color: #ff69b4;
    margin: 0;
    letter-spacing: 1px;
}

.delete-all-btn {
    padding: 10px 18px;
    font-size: 0.95rem;
    background: linear-gradient(135deg, #ff8fa3, #ff6b8a);
    color: #fff;
    border: none;
    border-radius: 22px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 3px 8px rgba(255, 107, 138, 0.35);
    font-weight: bold;
}

.delete-all-btn:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 5px 12px rgba(255, 107, 138, 0.5);
}

#memo-list {
    list-style: none;
    padding: 0;
}

#memo-list li {
    padding: 18px;
    margin-bottom: 12px;
    background-color: #fff5f9;
    border-radius: 18px;
    border: 2.5px solid #ffe4ec;
    color: #5a4a5a;
    font-size: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    transition: all 0.3s ease;
}

#memo-list li:hover {
    border-color: #ffb6c1;
    background-color: #fff0f8;
    transform: translateX(5px);
}

#memo-list li .memo-content {
    flex: 1;
    padding-right: 50px;
}

#memo-list li .delete-memo-btn {
    background: linear-gradient(135deg, #ff8fa3, #ff6b8a);
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 3px 8px rgba(255, 107, 138, 0.35);
}

#memo-list li .delete-memo-btn:hover {
    transform: scale(1.15) rotate(90deg);
    box-shadow: 0 5px 12px rgba(255, 107, 138, 0.5);
}

.no-memo-message {
    text-align: center;
    color: #d0b0b0;
    font-style: italic;
    padding: 20px;
    display: none;
    font-size: 1.1rem;
}

.no-memo-message.show {
    display: block;
}

/* 안전 주의문구 - 일러스트 풍 */
#safety-warning {
    text-align: center;
    padding: 22px;
    background: linear-gradient(135deg, #fff5f9, #fff0f5);
    border-radius: 18px;
    border: 2.5px dashed #ffb6c1;
    margin-top: 35px;
    color: #b09090;
    font-size: 0.95rem;
    position: relative;
}

#safety-warning::after {
    content: "🎀";
    position: absolute;
    bottom: -16px;
    right: 25px;
    font-size: 1.2rem;
    filter: drop-shadow(0 3px 5px rgba(255, 105, 180, 0.4));
}

/* 단계 추가 버튼 */
.add-step-btn {
    margin-top: 15px;
    padding: 12px 30px;
    font-size: 1.1rem;
    background: linear-gradient(135deg, #69b4ff, #9ec4ff, #b6c1ff);
    color: #fff;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(105, 180, 255, 0.4);
    font-weight: bold;
    letter-spacing: 1px;
    display: block;
    margin-left: auto;
}

.add-step-btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 20px rgba(105, 180, 255, 0.5);
}

/* 모달 오버레이 스타일 */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.modal-overlay.show {
    display: flex;
}

/* 모달 스타일 */
.modal {
    background: #fff;
    border-radius: 25px;
    padding: 35px;
    max-width: 500px;
    width: 90%;
    border: 3px solid #ffb6c1;
    box-shadow: 0 10px 30px rgba(255, 105, 180, 0.4);
    position: relative;
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-content {
    position: relative;
}

.modal-content::before {
    content: "🎀";
    position: absolute;
    top: -18px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 1.5rem;
    filter: drop-shadow(0 3px 6px rgba(255, 105, 180, 0.5));
}

.modal-content h3 {
    font-size: 1.5rem;
    color: #ff69b4;
    margin-bottom: 20px;
    text-align: center;
    letter-spacing: 1px;
}

.modal-content input[type="text"] {
    width: 100%;
    padding: 15px;
    font-size: 1.1rem;
    border: 2.5px solid #ffb6c1;
    border-radius: 18px;
    background-color: #fffafb;
    background-image: linear-gradient(rgba(255, 182, 193, 0.1) 1px, transparent 1px);
    background-size: 100% 30px;
    color: #5a4a5a;
    font-family: inherit;
    margin-bottom: 20px;
}

.modal-content input[type="text"]:focus {
    outline: none;
    border-color: #ff69b4;
    box-shadow: 0 0 15px rgba(255, 105, 180, 0.35);
}

/* 모달 폼 스타일 */
.modal-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.modal-form label {
    font-weight: bold;
    color: #ff69b4;
    font-size: 1.05rem;
}

.modal-form input[type="text"],
.modal-form select {
    width: 100%;
    padding: 15px;
    font-size: 1.1rem;
    border: 2.5px solid #ffb6c1;
    border-radius: 18px;
    background-color: #fffafb;
    background-image: linear-gradient(rgba(255, 182, 193, 0.1) 1px, transparent 1px);
    background-size: 100% 30px;
    color: #5a4a5a;
    font-family: inherit;
}

.modal-form input[type="text"]:focus,
.modal-form select:focus {
    outline: none;
    border-color: #ff69b4;
    box-shadow: 0 0 15px rgba(255, 105, 180, 0.35);
}

.modal-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

.modal-buttons button {
    padding: 12px 30px;
    font-size: 1.1rem;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: bold;
    letter-spacing: 1px;
}

#add-step-btn-modal {
    background: linear-gradient(135deg, #ff69b4, #ff9ec4, #ffb6c1);
    color: #fff;
    box-shadow: 0 5px 15px rgba(255, 105, 180, 0.4);
}

#add-step-btn-modal:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 20px rgba(255, 105, 180, 0.5);
}

#close-modal-btn {
    background: linear-gradient(135deg, #a0a0a0, #c0c0c0);
    color: #fff;
    box-shadow: 0 5px 15px rgba(160, 160, 160, 0.3);
}

#close-modal-btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 20px rgba(160, 160, 160, 0.4);
}

/* 단계별 메모 스타일 */
.step-memo-section {
    margin-top: 20px;
    padding: 15px;
    background-color: #fff5f9;
    border-radius: 15px;
    border: 2px solid #ffe4ec;
}

.step-memo-section summary {
    cursor: pointer;
    font-weight: bold;
    color: #ff69b4;
    padding: 10px;
    list-style: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.step-memo-section summary::before {
    content: "▶";
    transition: transform 0.3s ease;
}

.step-memo-section summary.open::before {
    transform: rotate(90deg);
}

.step-memo-textarea {
    width: 100%;
    min-height: 80px;
    padding: 12px;
    font-size: 1rem;
    border: 2px solid #ffb6c1;
    border-radius: 12px;
    resize: vertical;
    background-color: #fffafb;
    background-image: linear-gradient(rgba(255, 182, 193, 0.1) 1px, transparent 1px);
    background-size: 100% 25px;
    color: #5a4a5a;
    font-family: inherit;
    margin-top: 10px;
    margin-bottom: 10px;
}

.step-memo-textarea:focus {
    outline: none;
    border-color: #ff69b4;
    box-shadow: 0 0 10px rgba(255, 105, 180, 0.3);
}

.step-memo-save-btn {
    padding: 8px 20px;
    font-size: 1rem;
    background: linear-gradient(135deg, #ff69b4, #ff9ec4);
    color: #fff;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: bold;
}

.step-memo-save-btn:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 5px 12px rgba(255, 105, 180, 0.4);
}

.step-memo-display {
    margin-top: 10px;
    padding: 10px;
    background-color: #fff;
    border-radius: 10px;
    border: 1px solid #ffb6c1;
    font-size: 0.95rem;
    color: #5a4a5a;
}

.step-memo-display.empty {
    color: #d0b0b0;
    font-style: italic;
}

.step-memo-delete-btn {
    float: right;
    padding: 5px 12px;
    font-size: 0.85rem;
    background: linear-gradient(135deg, #ff8fa3, #ff6b8a);
    color: #fff;
    border: none;
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.step-memo-delete-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 3px 8px rgba(255, 107, 138, 0.4);
}

/* 반응형 디자인 */
@media (max-width: 768px) {
    body {
        font-size: 16px;
        padding: 12px;
    }

    #app-header {
        padding: 28px 18px;
    }

    #app-header h1 {
        font-size: 2.2rem;
    }

    #app-header p {
        font-size: 1.1rem;
    }

    section {
        padding: 22px;
    }

    section h2 {
        font-size: 1.6rem;
    }

    #experiment-input textarea,
    #experiment-memo {
        font-size: 1rem;
    }

    #experiment-input button,
    #save-memo-btn {
        padding: 12px 25px;
        font-size: 1rem;
    }
}

/* 실험 리포트 스타일 */
#report-area {
    margin-top: 35px;
    padding: 35px;
    background: linear-gradient(135deg, #fff5f9, #fff0f5, #ffe8f0);
    border-radius: 25px;
    border: 3px solid #ffb6c1;
    box-shadow: 0 6px 25px rgba(255, 158, 196, 0.5);
}

#report-area h2 {
    font-size: 2rem;
    color: #ff69b4;
    margin-bottom: 25px;
    text-align: center;
}

#generate-report-btn {
    width: 100%;
    padding: 15px 30px;
    font-size: 1.3rem;
    background: linear-gradient(135deg, #69b4ff, #9ec4ff, #b6c1ff);
    color: #fff;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(105, 180, 255, 0.4);
    font-weight: bold;
    letter-spacing: 1px;
    margin-bottom: 25px;
}

#generate-report-btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 20px rgba(105, 180, 255, 0.5);
}

#generate-report-btn:disabled {
    background: linear-gradient(135deg, #d0d0d0, #e0e0e0);
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.report-display {
    background: #fff;
    border-radius: 20px;
    padding: 30px;
    border: 2.5px solid #ffe4ec;
    box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.03);
    min-height: 100px;
}

.report-display .empty-message {
    text-align: center;
    color: #d0b0b0;
    font-size: 1.15rem;
    font-style: italic;
    padding: 25px;
}

/* 리포트 내용 스타일 */
.report-section {
    margin-bottom: 25px;
    padding: 20px;
    background-color: #fff5f9;
    border-radius: 15px;
    border: 2px solid #ffe4ec;
}

.report-section h3 {
    font-size: 1.4rem;
    color: #ff69b4;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #ffb6c1;
    display: flex;
    align-items: center;
    gap: 10px;
}

.report-section h3 .icon {
    font-size: 1.5rem;
}

.report-step-item {
    padding: 12px 15px;
    margin-bottom: 10px;
    background-color: #fff;
    border-radius: 12px;
    border-left: 4px solid #ffb6c1;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 1.05rem;
    color: #5a4a5a;
}

.report-step-item.completed {
    border-left-color: #6bcb77;
    background-color: #f0fff0;
}

.report-step-item.incomplete {
    border-left-color: #ff8fa3;
}

.report-step-item .step-number {
    min-width: 30px;
    height: 30px;
    background: linear-gradient(135deg, #ff69b4, #ff9ec4);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.9rem;
}

.report-step-item.completed .step-number {
    background: linear-gradient(135deg, #6bcb77, #9ee59a);
}

.report-step-item .step-check {
    margin-left: auto;
    font-size: 1.3rem;
}

.report-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
    margin-bottom: 25px;
}

.report-stat-card {
    background: linear-gradient(135deg, #fff5f9, #fff0f8);
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    border: 2px solid #ffe4ec;
}

.report-stat-card .stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: #ff69b4;
    line-height: 1;
    margin-bottom: 8px;
}

.report-stat-card .stat-number.green {
    color: #6bcb77;
}

.report-stat-card .stat-number.blue {
    color: #4d96ff;
}

.report-stat-card .stat-label {
    font-size: 0.95rem;
    color: #8a7a8a;
}

.report-memo-section {
    margin-bottom: 15px;
    padding: 15px;
    background-color: #fff;
    border-radius: 12px;
    border: 1px solid #ffe4ec;
}

.report-memo-section .memo-step-title {
    font-weight: bold;
    color: #ff69b4;
    margin-bottom: 8px;
    font-size: 1.05rem;
}

.report-memo-section .memo-text {
    color: #5a4a5a;
    font-size: 0.95rem;
    line-height: 1.5;
    white-space: pre-wrap;
}

.report-summary {
    padding: 20px;
    background: linear-gradient(135deg, #fff0f8, #ffe8f0);
    border-radius: 15px;
    border: 2px solid #ffb6c1;
    text-align: center;
}

.report-summary .summary-text {
    font-size: 1.2rem;
    color: #5a4a5a;
    line-height: 1.6;
    margin-bottom: 15px;
}

.report-summary .summary-rating {
    font-size: 2rem;
    margin-bottom: 10px;
}

.report-timestamp {
    text-align: right;
    font-size: 0.9rem;
    color: #d0b0b0;
    margin-top: 15px;
}

.report-action-buttons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.report-action-buttons button {
    flex: 1;
    padding: 12px 20px;
    font-size: 1.1rem;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: bold;
    letter-spacing: 1px;
}

.report-print-btn {
    background: linear-gradient(135deg, #ff69b4, #ff9ec4, #ffb6c1);
    color: #fff;
    box-shadow: 0 4px 12px rgba(255, 105, 180, 0.4);
}

.report-print-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(255, 105, 180, 0.5);
}

.report-copy-btn {
    background: linear-gradient(135deg, #69b4ff, #9ec4ff, #b6c1ff);
    color: #fff;
    box-shadow: 0 4px 12px rgba(105, 180, 255, 0.4);
}

.report-copy-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(105, 180, 255, 0.5);
}

/* 실험 요약 박스 스타일 */
.experiment-summary-box {
    margin-top: 20px;
    padding: 20px;
    background: linear-gradient(135deg, #fff5f9, #fff0f8);
    border-radius: 15px;
    border: 2px solid #ffb6c1;
    text-align: left;
}

.experiment-summary-content {
    font-size: 1.05rem;
    color: #5a4a5a;
    line-height: 1.7;
}

/* 인쇄용 스타일 */
@media print {
    body * {
        visibility: hidden;
    }
    #report-display, #report-display * {
        visibility: visible;
    }
    #report-display {
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
    }
    .report-action-buttons {
        display: none !important;
    }
}