@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@400;500;600;700&display=swap');

.korea-wrapper{font-family:'Noto Sans SC',sans-serif;max-width:900px;margin:0 auto;padding:20px;color:#1f2937}
.korea-steps{display:flex;justify-content:space-between;margin-bottom:30px;padding:0 20px}
.korea-step{display:flex;flex-direction:column;align-items:center;opacity:.4}
.korea-step.active,.korea-step.done{opacity:1}
.korea-step-num{width:36px;height:36px;border-radius:50%;background:#e5e7eb;display:flex;align-items:center;justify-content:center;font-weight:600;margin-bottom:6px}
.korea-step.active .korea-step-num,.korea-step.done .korea-step-num{background:#374151;color:#fff}
.korea-step-text{font-size:13px}
.korea-panel{display:none}
.korea-panel.active{display:block}
.korea-card{background:#f9fafb;border-radius:12px;padding:24px;margin-bottom:20px}
.korea-card-title{font-size:18px;font-weight:600;margin-bottom:16px}
.korea-slider-box{padding:10px 0}
.korea-days-display{font-size:28px;font-weight:700;color:#374151}
#korea-days{width:100%;height:8px;margin-top:15px;-webkit-appearance:none;background:#e5e7eb;border-radius:4px;cursor:pointer}
#korea-days::-webkit-slider-thumb{-webkit-appearance:none;width:24px;height:24px;background:#374151;border-radius:50%;cursor:pointer}
.korea-options{display:flex;flex-wrap:wrap;gap:12px}
.korea-option{position:relative}
.korea-option input{position:absolute;opacity:0}
.korea-option span{display:inline-block;padding:12px 20px;background:#fff;border:2px solid #e5e7eb;border-radius:8px;cursor:pointer;transition:all .2s}
.korea-option input:checked+span{border-color:#374151;background:#f3f4f6}
.korea-btn{padding:14px 28px;border-radius:8px;font-size:16px;font-weight:600;cursor:pointer;border:2px solid #e5e7eb;background:#fff;color:#374151;transition:all .2s}
.korea-btn-primary{background:#374151;color:#fff;border-color:#374151}
.korea-btn-primary:hover{background:#1f2937}
.korea-btn-add{width:100%;margin-top:10px;background:#f9fafb;border:2px dashed #d1d5db}
.korea-btn-add:hover{background:#f3f4f6;border-color:#9ca3af}
.korea-actions{display:flex;gap:12px;margin-top:20px;justify-content:center;flex-wrap:wrap}
.korea-loading{text-align:center;padding:60px 20px}
.korea-spinner{width:48px;height:48px;border:4px solid #e5e7eb;border-top-color:#374151;border-radius:50%;animation:korea-spin 1s linear infinite;margin:0 auto 20px}
@keyframes korea-spin{to{transform:rotate(360deg)}}
.korea-summary{background:#f3f4f6;border-radius:12px;padding:20px;margin-bottom:24px;display:flex;gap:30px;flex-wrap:wrap}
.korea-summary-item{display:flex;align-items:center;gap:10px}
.korea-summary-label{color:#6b7280;font-size:14px}
.korea-summary-value{font-weight:600;font-size:16px;color:#374151}
.korea-day{background:#fff;border-radius:12px;margin-bottom:20px;overflow:hidden;box-shadow:0 1px 3px rgba(0,0,0,.1)}
.korea-day-header{background:#374151;color:#fff;padding:16px 20px;display:flex;justify-content:space-between;align-items:center}
.korea-day-num{font-size:18px;font-weight:600}
.korea-day-actions{display:flex;gap:8px}
.korea-day-btn{background:rgba(255,255,255,.2);border:none;color:#fff;height:28px;border-radius:4px;cursor:pointer;font-size:13px;padding:0 10px}
.korea-day-btn:hover{background:rgba(255,255,255,.3)}
.korea-day-btn-regen{background:rgba(59,130,246,.8);font-weight:500}
.korea-day-btn-regen:hover{background:rgba(59,130,246,1)}
.korea-day-btn-move{background:rgba(255,255,255,.15)}
.korea-day-btn-move:hover{background:rgba(255,255,255,.25)}
.korea-block{display:flex;gap:16px;padding:16px 20px;border-bottom:1px solid #f3f4f6;align-items:center}
.korea-block:last-child{border-bottom:none}
.korea-block-icon{font-size:24px;width:40px;text-align:center;flex-shrink:0}
.korea-block-content{flex:1;min-width:0}
.korea-block-time{font-size:12px;color:#6b7280;margin-bottom:4px}
.korea-block-place{font-size:16px;font-weight:600;color:#1f2937;margin-bottom:2px}
.korea-block-reason{font-size:14px;color:#6b7280}
.korea-block-actions{display:flex;gap:6px;flex-shrink:0}
.korea-block-actions button{background:none;border:none;font-size:16px;cursor:pointer;padding:4px;opacity:.6}
.korea-block-actions button:hover{opacity:1}
.korea-block-transfer{background:#f0fdf4;cursor:pointer}
.korea-block-transfer:hover{background:#dcfce7}
.korea-block-cancelled{background:#fef2f2}
.korea-block-cancelled:hover{background:#fee2e2}
.korea-block-cancelled .korea-block-place{color:#dc2626}
.korea-preview{background:#fff;border-radius:12px;overflow:hidden;box-shadow:0 4px 6px rgba(0,0,0,.1)}
.korea-preview-header{background:linear-gradient(135deg,#374151,#1f2937);color:#fff;padding:40px;text-align:center}
.korea-preview-header h2{color:#fff;font-size:28px;margin-bottom:8px}
.korea-preview-logo{font-size:48px;margin-bottom:16px}
#korea-preview-body{padding:30px}
.korea-modal{display:none;position:fixed;top:0;left:0;right:0;bottom:0;background:rgba(0,0,0,.5);z-index:9999;align-items:center;justify-content:center}
.korea-modal.active{display:flex}
.korea-modal-box{background:#fff;border-radius:12px;width:90%;max-width:500px;max-height:80vh;overflow:auto}
.korea-modal-head{padding:20px;border-bottom:1px solid #e5e7eb;display:flex;justify-content:space-between;align-items:center;font-weight:600}
.korea-modal-head button{background:none;border:none;font-size:24px;cursor:pointer;color:#6b7280}
.korea-modal-body{padding:20px}
.korea-modal-foot{padding:20px;border-top:1px solid #e5e7eb;display:flex;justify-content:flex-end;gap:12px}
.korea-field{margin-bottom:16px}
.korea-field label{display:block;margin-bottom:8px;font-weight:500}
.korea-field input,.korea-field select,.korea-field textarea{width:100%;padding:10px;border:1px solid #e5e7eb;border-radius:6px;font-size:14px;box-sizing:border-box}
.korea-alt{padding:12px;border:2px solid #e5e7eb;border-radius:8px;margin-bottom:8px;cursor:pointer}
.korea-alt:hover,.korea-alt.selected{border-color:#374151;background:#f9fafb}
.korea-alt-section{margin-bottom:16px}
.korea-alt-title{font-weight:600;color:#374151;padding:8px 0;border-bottom:1px solid #e5e7eb;margin-bottom:8px}
.korea-toast{position:fixed;bottom:20px;left:50%;transform:translateX(-50%);background:#374151;color:#fff;padding:12px 24px;border-radius:8px;display:none;z-index:10000}
.korea-toast.active{display:block}
.korea-btn-line{display:none;background:#06C755;color:#fff;border-color:#06C755}
.korea-btn-line:hover{background:#05b048}
@media(max-width:640px){
.korea-wrapper{padding:10px}
.korea-step-text{display:none}
.korea-options{flex-direction:column}
.korea-actions{flex-direction:column}
.korea-summary{flex-direction:column;gap:12px}
.korea-block{flex-wrap:wrap}
.korea-block-actions{width:100%;justify-content:flex-end;margin-top:8px;padding-top:8px;border-top:1px solid #f3f4f6}
.korea-btn-download{display:none}
.korea-btn-line{display:block}
}
