* {
    padding: 0;
    margin: 0;
    border: none;
}

body {
    font-size: 14px;
    font-family: 'Roboto', sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background-color: #f5f5f5;
}

.signup-wrapper {
    width: 400px;
    padding: 30px;
    box-sizing: border-box;
    background: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    border-radius: 10px;
    position: relative; /* X 버튼을 절대 위치로 설정하기 위해 relative로 설정 */
}

.signup-wrapper > h2 {
    font-size: 24px;
    margin-bottom: 20px;
}

.close-button {
    position: absolute;
    top: 15px;
    right: 15px; /* left를 right로 변경하여 오른쪽 끝으로 이동 */
    font-size: 24px;
    font-weight: bold;
    color: #333;
    cursor: pointer;
    background: transparent;
    border: none;
    transition: color 0.3s;
}

.close-button:hover {
    color: #31b554; /* 마우스를 올렸을 때 색상 변경 */
}

#signupForm > input {
    width: 100%;
    height: 40px;
    padding: 0 10px;
    box-sizing: border-box;
    margin-bottom: 12px;
    border-radius: 6px;
    background-color: #F8F8F8;
    border: 1px solid #ddd;
}

#signupForm > input::placeholder {
    color: #D2D2D2; /* Placeholder color for consistency */
}

#signupForm > button {
    color: #fff;
    font-size: 16px;
    background-color: #31b554;
    margin-top: 20px;
    cursor: pointer;
    border: none;
    width: 100%;
    height: 40px;
    border-radius: 6px;
}

.input-group {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
}

.input-group > input {
    flex: 1;
    height: 40px;
    padding: 0 10px;
    border-radius: 6px 0 0 6px;
    margin-right: -1px;
    background-color: #F8F8F8;
    border: 1px solid #ddd;
}

.input-group > .check-button {
    height: 40px;
    padding: 0 10px;
    background-color: #31b554;
    color: #fff;
    border: none;
    border-radius: 0 6px 6px 0;
    cursor: pointer;
    margin-left: -1px;
}

.postcode-group {
    display: flex;
    margin-bottom: 12px;
}

.postcode-group > input {
    flex: 1;
    height: 40px;
    padding: 0 10px;
    border-radius: 6px 0 0 6px;
    margin-right: -1px;
    background-color: #F8F8F8;
    border: 1px solid #ddd;
}

.postcode-group > .find-postcode-button {
    height: 40px;
    padding: 0 10px;
    background-color: #31b554;
    color: #fff;
    border: none;
    border-radius: 0 6px 6px 0;
    cursor: pointer;
    margin-left: -1px;
}

.form-group {
    margin-bottom: 20px;
    text-align: center; /* Center the company selection */
}

.form-group > label {
    display: block;
    margin-bottom: 10px;
}

.form-group > select {
    width: 100%;
    height: 40px;
    padding: 0 10px;
    border-radius: 6px;
    background-color: #F8F8F8;
    border: 1px solid #ddd;
    font-size: 14px; /* Font size to match other inputs */
    color: #333; /* Text color to match other inputs */
}

.form-group > select:focus {
    border-color: #31b554;
    outline: none;
}

.radio-group {
    text-align: left;
    margin-bottom: 20px;
}

.radio-group > label {
    display: block;
    margin-bottom: 8px;
}

.radio-group > input[type="radio"] {
    margin-right: 8px;
}

.radio-group > h2 {
    font-size: 24px;
    color: #31b554;
    margin-bottom: 20px;
}

.agreement-container {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.agreement-container input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-right: 10px;
}

.agreement-container label {
    margin-right: 10px;
}

.agreement-container a {
    text-decoration: none;
    color: #000;
    margin-left: auto;
}

.agreement-container a::after {
    content: '>';
    font-weight: bold;
    margin-left: 4px;
}