@import url('https://static.toss.im/tps/main.css');@import url('https://static.toss.im/tps/others.css');
* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Toss Product Sans',sans-serif;; } 

/* body { background: rgba(0,0,0,1) }  */

.popup-container { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; max-width: 1400px; } 

.popup-modal-main {position:fixed; top:0; left:0; width: 100%; min-height:100vh; max-height: 100vh; display: none; justify-content: center; align-items: center; background: rgba(0,0,0,0.6); overflow: auto; padding: 20px; box-sizing:border-box;}
.popup-main { position: relative; width: 100%; max-width: 652px; background-color: white; border-radius: 20px; box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); padding: 22px; display: flex; flex-direction: column; margin-bottom: 0px; transition: all 0.3s ease; word-break: keep-all; }

.popup-modal {position: fixed; width: 100%; min-height: 100vh; display: flex; justify-content: center; align-items: center; background: rgba(0,0,0,0.6); top: 0;}
.cancel-page {position: absolute; overflow: auto; padding: 20px;}
.cancel-page .popup {margin-bottom: 0;}

.popup { position: relative; width: 100%; max-width: 652px; background-color: white; border-radius: 20px; box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); padding: 22px; display: flex; flex-direction: column; margin-bottom: 20px; transition: all 0.3s ease; word-break: keep-all; } 

.popup-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; } 

.popup-title { font-size: 22px; font-weight: bold; color: #333; } 

.close-btn { cursor: pointer; font-size: 24px; color: #999; font-weight: bold; } 

.popup-subtitle { font-size: 15px; color: #666; margin-bottom: 20px; } 
.popup-cancel-msg { font-size: 15px; color: #666; margin-left: 20px; margin-right:20px; margin-bottom: 20px; }

.payment-info { display: flex; flex-direction: column; margin-bottom: 10px; } 

.payment-row { display: flex; justify-content: center; margin-bottom: 5px; text-align: center; } 

.payment-label { font-size: 16px; color: #666; } 

.payment-value { font-size: 16px; color: #4285f4; font-weight: bold; margin-left: 5px; } 

.form-group { margin-bottom: 15px; display: flex; gap: 20px; align-items: center;} 

.form-label { display: block; font-size: 15px; margin-bottom: 8px; color: #333; width: 20%; max-width: 100px; word-break: keep-all; flex-shrink: 0; } 

.required::after { content: "*"; color: #ff6b6b; margin-left: 3px; } 

.form-input { width: 100%; max-width: 40%; padding: 12px 15px; border: 1px solid #ddd; border-radius: 9px; font-size: 16px; outline: none; flex-grow: 1; } 
.form-input-cert { width: 100%; padding: 12px 15px; border: 1px solid #ddd; border-radius: 9px; font-size: 16px; outline: none; flex-grow: 1; } 

.form-input:focus { border-color: #4285f4; } 

.form-group.group2 { } 
.form-group.group2 .form-label { width: 50%; max-width: 300px; } 



.email-group { display: flex; align-items: center; gap: 10px; } 

.email-input { flex: 1; } 

.domain-select { width: 55%; padding: 12px 15px; border: 1px solid #ddd; border-radius: 9px; font-size: 16px; outline: none; appearance: none; background-image: url('data:image/svg+xml; utf8,<svg fill="%23666" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/></svg>'); background-repeat: no-repeat; background-position: right 10px center; } 

.note-input { width: 100%; height: 100px; padding: 12px 15px; border: 1px solid #ddd; border-radius: 5px; font-size: 16px; resize: none; outline: none; } 

.btn-group { margin-top: auto; display: flex; gap: 10px; margin-top: 20px; } 

.btn { flex: 1; padding: 10px 20px; border: none; border-radius: 5px; font-size: 16px; font-weight: bold; cursor: pointer; transition: background-color 0.2s; } 

.btn-primary { background-color: #4285f4; color: white; } 

.btn-primary:hover { background-color: #3367d6; } 

.btn-secondary { background-color: #777; color: white; } 

.btn-secondary:hover { background-color: #666; } 

.notice-list { list-style-type: disc; margin-left: 20px; margin-top: 15px; color: #666; font-size: 14px; } 

.notice-list li { margin-bottom: 5px; } 

.message-box { text-align: center; margin: 30px 0; } 

.message-title { font-size: 18px; font-weight: bold; margin-bottom: 10px; } 

.message-content { font-size: 16px; color: #666; margin-bottom: 15px; } 

.image-container { border: 1px solid #ddd; border-radius: 5px; height: 250px; display: flex; justify-content: center; align-items: center; margin: 20px 0; } 

.image-placeholder { color: #999; font-size: 16px; height: 100%;} 
.image-placeholder img {height: 100%;} 

.popup-btn { display: flex; justify-content: center; margin-top: auto; } 
.popup-btn .btn { width: 100%; max-width: 200px; } 

.auth-btn { background-color: #777; color: white; padding: 12px 15px; border: none; border-radius: 5px; font-size: 14px; cursor: pointer; margin-left: 10px; white-space: nowrap;} 
.auth-btn:hover { background-color: #666; } 

@media (max-width: 468px){
.popup-modal-main {align-items:start; padding: 20px 20px 100px 20px;}
 .popup-main {overflow: auto; padding: 20px;}
 .popup { height: auto; min-height: 500px; padding: 20px; } 

 .popup-title { font-size: 26px; } 

 .form-group { flex-direction: column; gap: 0; align-items: start;} 

 .form-label { font-size: 18px; width: 100%; } 

 .form-input { max-width: 100%; } 

 .group-email { align-items: start; } 
 .group-email .form-input { width: 40%; } 

 .form-input,
 .domain-select,
 .note-input { padding: 10px; font-size: 18px; } 

 .form-group.group2 .form-label { width: 100%; max-width: auto; } 

 .btn { padding: 12px 15px; font-size: 18px; } 

 .email-group { flex-wrap: wrap; } 

 .domain-select { width: 100%; } 

 .image-container { height: 180px; } 
 }

/* 탭 버튼 스타일 */
.tab-buttons { display: flex; margin-bottom: 20px; overflow-x: auto; gap: 10px; } 

.tab-btn { padding: 10px 15px; background-color: #f1f1f1; border: none; border-radius: 5px; cursor: pointer; white-space: nowrap; } 

.tab-btn.active { background-color: #4285f4; color: white; } 