/* web/DCLICK/public/assets/css/signup.css */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
    font-size: 14px;
}

#app {
    width: 100%;
    max-width: 420px;
}

.signup-container {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    padding: 30px 25px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
}

.brand-section {
    text-align: center;
    margin-bottom: 20px;
}

.brand-logo {
    margin-bottom: 10px;
}

.brand-logo img {
    width: 45px;
    height: 45px;
    object-fit: contain;
}

.brand-title {
    font-size: 20px;
    font-weight: 700;
    color: #333;
    margin-bottom: 4px;
    letter-spacing: -0.5px;
}

.brand-subtitle {
    font-size: 12px;
    color: #666;
    font-weight: 400;
}

.error-message,
.success-message {
    padding: 10px 12px;
    border-radius: 6px;
    margin-bottom: 15px;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.error-message {
    background-color: #fee;
    color: #c33;
    border: 1px solid #fcc;
}

.success-message {
    background-color: #efe;
    color: #3c3;
    border: 1px solid #cfc;
}

.form-section {
    margin-bottom: 18px;
}

.form-group {
    margin-bottom: 12px;
}

.form-label {
    display: block;
    font-size: 12px;
    font-weight: 500;
    color: #444;
    margin-bottom: 5px;
}

.required {
    color: #e74c3c;
}

.form-input {
    width: 100%;
    padding: 9px 11px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 13px;
    transition: all 0.2s ease;
    outline: none;
}

.form-input:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.form-input::placeholder {
    color: #999;
    font-size: 12px;
}

.terms-section {
    margin: 18px 0;
    padding: 12px;
    background: #f8f9fa;
    border-radius: 6px;
}

.terms-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.terms-header {
    padding-bottom: 10px;
    border-bottom: 1px solid #dee2e6;
    margin-bottom: 5px;
}

.terms-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 0;
}

.checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 12px;
}

.checkbox-input {
    width: 16px;
    height: 16px;
    margin-right: 8px;
    cursor: pointer;
}

.checkbox-text {
    color: #333;
}

.btn-view-terms {
    font-size: 11px;
    color: #667eea;
    background: none;
    border: 1px solid #667eea;
    padding: 4px 10px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-view-terms:hover {
    background: #667eea;
    color: white;
}

.signup-button {
    width: 100%;
    padding: 11px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 6px;
}

.signup-button:hover:not(:disabled) {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.signup-button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.login-link {
    text-align: center;
    padding: 15px 0;
    border-top: 1px solid #eee;
    margin-top: 15px;
}

.login-link p {
    font-size: 13px;
    color: #666;
    margin: 0;
}

.login-link a {
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}

.login-link a:hover {
    color: #764ba2;
    text-decoration: underline;
}

.footer-info {
    text-align: center;
    margin-top: 18px;
    padding-top: 12px;
    border-top: 1px solid #eee;
}

.footer-info p {
    font-size: 11px;
    color: #999;
    margin: 0;
}

/* 모달 스타일 */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-content {
    background: white;
    border-radius: 8px;
    max-width: 600px;
    width: 100%;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
}

.modal-header {
    padding: 15px 20px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    font-size: 16px;
    margin: 0;
    color: #333;
}

.modal-close {
    font-size: 24px;
    background: none;
    border: none;
    cursor: pointer;
    color: #999;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    color: #333;
}

.modal-body {
    padding: 20px;
    overflow-y: auto;
    font-size: 13px;
    line-height: 1.6;
}

.modal-body h4 {
    font-size: 14px;
    margin: 15px 0 8px 0;
    color: #333;
}

.modal-body p {
    margin: 6px 0;
    color: #555;
}

.modal-body .notice-text {
    background: #fff9e6;
    padding: 12px;
    border-left: 3px solid #ff9800;
    margin-top: 15px;
    font-size: 12px;
}

@media (max-width: 480px) {
    .signup-container {
        padding: 25px 20px;
    }
    
    .brand-logo img {
        width: 40px;
        height: 40px;
    }
    
    .brand-title {
        font-size: 18px;
    }
    
    .form-label {
        font-size: 11px;
    }
    
    .form-input {
        padding: 8px 10px;
        font-size: 12px;
    }
    
    .checkbox-label {
        font-size: 11px;
    }
    
    .modal-content {
        max-width: 95%;
    }
}
