/* 신규 사용자 가입 모달 오버레이 */ .user-signup-modal-overlay { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background-color: rgba(0, 0, 0, 0.5); display: flex; justify-content: center; align-items: center; z-index: 1000; padding: 20px; } /* 신규 사용자 가입 모달 컨텐츠 */ .user-signup-modal-content { background: white; border-radius: 8px; box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15); max-width: 800px; width: 100%; max-height: 90vh; overflow-y: auto; position: relative; } /* 신규 사용자 가입 모달 헤더 */ .user-signup-modal-header { display: flex; justify-content: space-between; align-items: center; padding: 20px 24px; border-bottom: 1px solid #e5e7eb; background-color: #f9fafb; border-radius: 8px 8px 0 0; } .user-signup-modal-header h2 { margin: 0; font-size: 1.8rem; font-weight: 600; color: #1f2937; } .user-signup-close-button { background: none; border: none; font-size: 1.5rem; cursor: pointer; color: #6b7280; padding: 4px; border-radius: 4px; transition: color 0.2s; } .user-signup-close-button:hover { color: #374151; } /* 신규 사용자 가입 폼 스타일 */ .user-signup-form { padding: 24px; } .user-signup-form-section { margin-bottom: 32px; } .user-signup-form-section h3 { margin: 0 0 16px 0; font-size: 1.4rem; font-weight: 600; color: #374151; padding-bottom: 8px; border-bottom: 2px solid #e5e7eb; } .user-signup-form-row { margin-bottom: 16px; } .user-signup-form-group { display: flex; flex-direction: column; } .user-signup-form-group label { margin-bottom: 6px; font-weight: 500; color: #374151; font-size: 1.1rem; } .user-signup-form-group input, .user-signup-form-group select { padding: 12px 14px; border: 1px solid #d1d5db; border-radius: 6px; font-size: 1.1rem; transition: border-color 0.2s, box-shadow 0.2s; background-color: white; } /* CodeSelect 컴포넌트 스타일링 */ .user-signup-form-group .CodeSelect { width: 100%; } .user-signup-form-group .CodeSelect select { width: 100%; padding: 12px 14px; border: 1px solid #d1d5db; border-radius: 6px; font-size: 1.1rem; transition: border-color 0.2s, box-shadow 0.2s; background-color: white; } .user-signup-form-group .CodeSelect select:focus { outline: none; border-color: #3b82f6; box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1); } .user-signup-form-group .CodeSelect select:disabled { background-color: #f3f4f6; color: #6b7280; cursor: not-allowed; } /* Select 요소 스타일링 */ .user-signup-select { width: 100%; padding: 12px 14px; border: 1px solid #d1d5db; border-radius: 6px; font-size: 1.1rem; transition: border-color 0.2s, box-shadow 0.2s; background-color: white; cursor: pointer; } .user-signup-select:focus { outline: none; border-color: #3b82f6; box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1); } .user-signup-select:disabled { background-color: #f3f4f6; color: #6b7280; cursor: not-allowed; } .user-signup-select option { padding: 8px; font-size: 1rem; } .user-signup-form-group input:focus, .user-signup-form-group select:focus { outline: none; border-color: #3b82f6; box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1); } .user-signup-form-group input:disabled, .user-signup-form-group select:disabled { background-color: #f3f4f6; color: #6b7280; cursor: not-allowed; } /* 입력 필드와 버튼이 함께 있는 경우 */ .user-signup-input-with-button { display: flex; gap: 8px; align-items: flex-end; } .user-signup-input-with-button input { flex: 1; } .user-signup-check-button { padding: 10px 16px; background-color: #6b7280; color: white; border: none; border-radius: 6px; font-size: 0.8rem; font-weight: 500; cursor: pointer; transition: background-color 0.2s; white-space: nowrap; min-width: 80px; } .user-signup-check-button:hover:not(:disabled) { background-color: #4b5563; } .user-signup-check-button:disabled { background-color: #d1d5db; cursor: not-allowed; } /* 메시지 스타일 */ .user-signup-error-message { color: #dc2626; font-size: 0.8rem; margin-top: 4px; display: block; } .user-signup-success-message { color: #059669; font-size: 0.8rem; margin-top: 4px; display: block; } .user-signup-submit-error { background-color: #fef2f2; border: 1px solid #fecaca; color: #dc2626; padding: 12px; border-radius: 6px; margin-bottom: 16px; text-align: center; } /* 폼 액션 버튼 */ .user-signup-form-actions { display: flex; gap: 12px; justify-content: flex-end; padding-top: 20px; border-top: 1px solid #e5e7eb; margin-top: 24px; } .user-signup-cancel-button, .user-signup-submit-button, .user-signup-back-button { padding: 12px 24px; border-radius: 6px; font-weight: 500; font-size: 0.9rem; cursor: pointer; transition: all 0.2s; border: none; min-width: 100px; } .user-signup-cancel-button { background-color: #f3f4f6; color: #374151; border: 1px solid #d1d5db; } .user-signup-cancel-button:hover:not(:disabled) { background-color: #e5e7eb; } .user-signup-submit-button { background-color: #3b82f6; color: white; } .user-signup-submit-button:hover:not(:disabled) { background-color: #2563eb; } .user-signup-back-button { background-color: #6b7280; color: white; } .user-signup-back-button:hover:not(:disabled) { background-color: #4b5563; } .user-signup-cancel-button:disabled, .user-signup-submit-button:disabled, .user-signup-back-button:disabled { opacity: 0.6; cursor: not-allowed; } /* 개인정보제공동의 스타일 */ .user-signup-agreement-content { padding: 24px; } .user-signup-agreement-text { margin-bottom: 24px; } .user-signup-agreement-text h3 { margin: 0 0 16px 0; font-size: 1.4rem; font-weight: 600; color: #374151; } .user-signup-agreement-text h4 { margin: 20px 0 8px 0; font-size: 1.1rem; font-weight: 600; color: #374151; } .user-signup-agreement-text p { margin: 8px 0; color: #6b7280; line-height: 1.5; } .user-signup-agreement-text ul { margin: 8px 0; padding-left: 20px; color: #6b7280; } .user-signup-agreement-text li { margin: 4px 0; line-height: 1.5; } .user-signup-agreement-checkbox { margin-bottom: 24px; padding: 16px; background-color: #f9fafb; border-radius: 6px; border: 1px solid #e5e7eb; } .user-signup-agreement-checkbox label { display: flex; align-items: center; gap: 8px; cursor: pointer; font-weight: 500; color: #374151; } .user-signup-agreement-checkbox input[type="checkbox"] { width: 18px; height: 18px; margin: 0; } .user-signup-agreement-actions { display: flex; gap: 12px; justify-content: flex-end; } .user-signup-next-button { padding: 12px 24px; background-color: #3b82f6; color: white; border: none; border-radius: 6px; font-weight: 500; font-size: 0.9rem; cursor: pointer; transition: background-color 0.2s; min-width: 100px; } .user-signup-next-button:hover:not(:disabled) { background-color: #2563eb; } .user-signup-next-button:disabled { background-color: #d1d5db; cursor: not-allowed; } /* 반응형 디자인 */ @media (max-width: 768px) { .user-signup-modal-content { margin: 10px; max-height: 95vh; } .user-signup-modal-header { padding: 16px 20px; } .user-signup-form { padding: 20px; } .user-signup-form-actions { flex-direction: column; } .user-signup-cancel-button, .user-signup-submit-button, .user-signup-back-button { width: 100%; } .user-signup-input-with-button { flex-direction: column; align-items: stretch; } .user-signup-check-button { width: 100%; margin-top: 8px; } } /* 스크롤바 스타일 */ .user-signup-modal-content::-webkit-scrollbar { width: 6px; } .user-signup-modal-content::-webkit-scrollbar-track { background: #f1f1f1; border-radius: 3px; } .user-signup-modal-content::-webkit-scrollbar-thumb { background: #c1c1c1; border-radius: 3px; } .user-signup-modal-content::-webkit-scrollbar-thumb:hover { background: #a8a8a8; }