/* ๐Ÿ’ก [์ถ”๊ฐ€] ๋กœ๋”ฉ ์˜ค๋ฒ„๋ ˆ์ด ์Šคํƒ€์ผ */ .loading-overlay { position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: rgba(255, 255, 255, 0.8); display: flex; align-items: center; justify-content: center; z-index: 10; } .loading-spinner { border: 4px solid #f3f3f3; border-top: 4px solid #007bff; border-radius: 50%; width: 40px; height: 40px; animation: spin 1s linear infinite; } @keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } } /* ํŒ์—… ์˜ค๋ฒ„๋ ˆ์ด */ .expert-visit-modal-overlay { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.7); z-index: 9999; overflow-y: auto; } .expert-visit-modal-overlay.active { display: flex; align-items: center; justify-content: center; padding: 20px; } .expert-visit-modal-content { background: #fff; border-radius: 10px; width: 100%; max-width: 550px; /* ๋„ˆ๋น„ ์•ฝ๊ฐ„ ์ถ•์†Œ */ max-height: 85vh; /* ๋†’์ด ์ œํ•œ ์ถ•์†Œ */ overflow-y: auto; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3); display: flex; flex-direction: column; position: relative; } .expert-visit-modal-header { display: flex; justify-content: space-between; align-items: center; padding: 15px 20px; /* ํŒจ๋”ฉ ์ถ•์†Œ */ border-bottom: 1px solid #eee; background: #f8f9fa; border-radius: 10px 10px 0 0; } .expert-visit-modal-header h2 { margin: 0; font-size: 18px; font-weight: 600; color: #333; } .expert-visit-modal-close { background: none; border: none; font-size: 24px; cursor: pointer; color: #666; padding: 0; width: 30px; height: 30px; display: flex; align-items: center; justify-content: center; border-radius: 50%; transition: all 0.2s ease; } .expert-visit-modal-close:hover { background: #e9ecef; color: #333; } .expert-visit-modal-body { padding: 20px; } /* ํŒจ๋”ฉ ์ถ•์†Œ */ /* ๋‹จ๊ณ„ ํ‘œ์‹œ */ .expert-visit-steps { display: flex; justify-content: center; margin-bottom: 20px; position: relative; } /* ๋งˆ์ง„ ์ถ•์†Œ */ .expert-visit-steps::before { content: ''; position: absolute; top: 15px; left: 25%; right: 25%; height: 2px; background: #e9ecef; z-index: 1; } .step { display: flex; flex-direction: column; align-items: center; position: relative; z-index: 2; background: #fff; padding: 0 15px; } .step-number { width: 28px; height: 28px; border-radius: 50%; background: #e9ecef; color: #6c757d; /* ํฌ๊ธฐ ์ถ•์†Œ */ display: flex; align-items: center; justify-content: center; font-weight: 600; margin-bottom: 6px; transition: all 0.3s ease; font-size: 13px; } .step.active .step-number { background: #007bff; color: #fff; } .step.completed .step-number { background: #28a745; color: #fff; } .step-text { font-size: 11px; color: #6c757d; font-weight: 500; } .step.active .step-text { color: #007bff; font-weight: 600; } /* ๋‹ฌ๋ ฅ */ .calendar-container { max-width: 100%; } .calendar-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 15px; } /* ๋งˆ์ง„ ์ถ•์†Œ */ .calendar-nav { background: none; border: 1px solid #ddd; width: 30px; height: 30px; border-radius: 50%; /* ํฌ๊ธฐ ์ถ•์†Œ */ cursor: pointer; display: flex; align-items: center; justify-content: center; transition: all 0.2s ease; } .calendar-nav:hover { background: #f8f9fa; border-color: #007bff; } .calendar-title { margin: 0; font-size: 16px; font-weight: 600; color: #333; } .calendar-grid { border: 1px solid #e9ecef; border-radius: 8px; overflow: hidden; } .calendar-weekdays { display: grid; grid-template-columns: repeat(7, 1fr); background: #f8f9fa; } .weekday { padding: 8px 4px; text-align: center; font-weight: 600; color: #495057; font-size: 13px; border-right: 1px solid #e9ecef; } /* ํŒจ๋”ฉ ์ถ•์†Œ */ .weekday:last-child { border-right: none; } .calendar-days { display: grid; grid-template-columns: repeat(7, 1fr); } .calendar-day { aspect-ratio: 1; display: flex; align-items: center; justify-content: center; border-right: 1px solid #e9ecef; border-bottom: 1px solid #e9ecef; cursor: pointer; transition: all 0.2s ease; font-size: 13px; position: relative; padding: 2px; /* ํฐํŠธ ๋ฐ ํŒจ๋”ฉ ์ถ•์†Œ */ } .calendar-day:nth-child(7n) { border-right: none; } .calendar-day.other-month { color: #ccc; background: #f8f9fa; cursor: default; } .calendar-day.available { background: #fff; color: #333; } .calendar-day.available:hover { background: #e3f2fd; color: #1976d2; } .calendar-day.unavailable { background: #f5f5f5; color: #999; cursor: not-allowed; } .calendar-day.full { background: #fbe9e7; color: #c62828; cursor: not-allowed; } /* ์˜ˆ์•ฝ ๋งˆ๊ฐ */ .calendar-day.holiday { background: #e8eaf6; color: #3f51b5; cursor: not-allowed; } /* ํœด์ผ */ .calendar-day.selected { background: #007bff; color: #fff; font-weight: 600; } .calendar-day.today { font-weight: 600; color: #dc3545; } .calendar-loading, .loading, .error, .no-slots { grid-column: 1 / -1; text-align: center; padding: 30px 20px; color: #666; font-style: italic; } .error { color: #dc3545; } /* ๋ฒ”๋ก€ */ .calendar-legend, .time-legend { display: flex; justify-content: center; gap: 15px; margin-top: 10px; flex-wrap: wrap; } .legend-item { display: flex; align-items: center; gap: 4px; font-size: 11px; color: #666; } .legend-color { width: 10px; height: 10px; border-radius: 2px; border: 1px solid #ddd; } .legend-color.available { background: #fff; } .legend-color.unavailable { background: #f5f5f5; } .legend-color.full { background: #fbe9e7; } .legend-color.holiday { background: #e8eaf6; } .legend-color.selected { background: #007bff; } .legend-color.time-available { background: #e8f5e8; border-color: #28a745; } .legend-color.time-full { background: #f8d7da; border-color: #dc3545; } .legend-color.time-too-soon { background: #f1f3f5; border-color: #dee2e6; } .legend-color.time-selected { background: #007bff; border-color: #007bff; } /* ์‹œ๊ฐ„ ์„ ํƒ */ .selected-date-info { margin-bottom: 10px; } .step-description { margin-bottom: 15px; } .step-description h4 { margin: 0 0 8px 0; font-size: 16px; } .step-description p { margin: 0; font-size: 13px; color: #666; } .selected-date-info h4 { margin: 0; color: #333; font-size: 15px; } .time-slots-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(100px, 1fr)); gap: 8px; margin-bottom: 15px; } .time-slot { padding: 10px 6px; border: 2px solid #e9ecef; border-radius: 6px; text-align: center; cursor: pointer; transition: all 0.2s ease; font-size: 13px; font-weight: 500; display: flex; flex-direction: column; gap: 3px; } .time-text { font-weight: 600; } .slot-info { font-size: 10px; opacity: 0.8; } /* ๐Ÿ’ก [์ˆ˜์ •] ์˜ˆ์•ฝ ๊ฐ€๋Šฅ ์Šฌ๋กฏ ์Šคํƒ€์ผ ๋ณ€๊ฒฝ */ .time-slot.available { background: #e7f3ff; border-color: #007bff; color: #004085; } .time-slot.available:hover { background: #d4edda; transform: translateY(-1px); } .time-slot.full { background: #f8d7da; border-color: #dc3545; color: #721c24; cursor: not-allowed; } .time-slot.too-soon { background: #f1f3f5; color: #868e96; cursor: not-allowed; border-color: #dee2e6; } .time-slot.selected { background: #007bff; border-color: #007bff; color: #fff; } /* ๊ณ ๊ฐ ์ •๋ณด ํผ */ .expert-visit-summary { background: #f8f9fa; padding: 12px; border-radius: 8px; margin-bottom: 15px; } .expert-visit-summary h5 { margin: 0 0 8px 0; font-size: 15px; } .summary-grid { display: grid; grid-template-columns: 1fr; gap: 6px; } .summary-item { display: flex; justify-content: space-between; font-size: 13px; } .summary-item .label { font-weight: 500; color: #495057; } .summary-item span { color: #333; } .customer-info-form h4 { margin: 0 0 12px 0; color: #333; font-size: 15px; } .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; } .form-group { margin-bottom: 12px; } .form-group label { display: block; margin-bottom: 6px; font-weight: 500; color: #495057; font-size: 13px; } .required { color: #dc3545; font-weight: bold; } .form-group input, .form-group textarea, .form-group select { width: 100%; padding: 10px; border: 1px solid #ced4da; border-radius: 6px; font-size: 13px; transition: border-color 0.2s ease; box-sizing: border-box; } .form-group textarea { resize: vertical; min-height: 60px; } .form-group input:focus, .form-group textarea:focus, .form-group select:focus { outline: none; border-color: #007bff; box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.25); } /* ๋„ค๋น„๊ฒŒ์ด์…˜ ๋ฒ„ํŠผ */ .expert-visit-nav-buttons { display: flex; justify-content: space-between; gap: 10px; margin-top: 15px; padding-top: 15px; border-top: 1px solid #e9ecef; } .expert-visit-nav-buttons button { padding: 10px 20px; border: none; border-radius: 6px; font-size: 13px; font-weight: 600; cursor: pointer; transition: all 0.2s ease; min-width: 90px; } .btn-prev { background: #6c757d; color: #fff; } .btn-prev:hover { background: #5a6268; } .btn-next, .btn-submit { background: #007bff; color: #fff; } .btn-next:hover, .btn-submit:hover { background: #0056b3; } /* ๋ฐ˜์‘ํ˜• ๋””์ž์ธ - ๋ชจ๋ฐ”์ผ ์ตœ์ ํ™” */ @media (max-width: 768px) { .expert-visit-modal-content { margin: 10px; max-height: 95vh; border-radius: 8px; } .expert-visit-modal-header, .expert-visit-modal-body { padding: 15px; } .expert-visit-modal-header h2 { font-size: 16px; } .expert-visit-steps { margin-bottom: 15px; } .step { padding: 0 8px; } .step-number { width: 24px; height: 24px; font-size: 12px; } .step-text { font-size: 10px; } .calendar-day { font-size: 12px; } .time-slots-grid { grid-template-columns: repeat(auto-fit, minmax(80px, 1fr)); } .form-row { grid-template-columns: 1fr; gap: 0; } .form-group input, .form-group textarea, .form-group select { font-size: 16px; /* iOS ์คŒ ๋ฐฉ์ง€ */ } } @media (max-width: 480px) { .expert-visit-modal-overlay { padding: 0; align-items: flex-end; } .expert-visit-modal-content { margin: 0; width: 100%; max-height: 90vh; border-radius: 10px 10px 0 0; } .expert-visit-nav-buttons { flex-direction: column-reverse; gap: 10px; } .expert-visit-nav-buttons button { width: 100%; } }