/* 컨테이너 정렬 */
#signupContainer {
    display: flex;
    justify-content: center;
    padding: 50px 0;
}

/* 폼 박스 */
.signup-form-container {
    width: 400px;
    padding: 30px;
    border-radius: 8px;
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

/* 제목 */
.signup-form-container h1 {
    text-align: center;
    margin-bottom: 30px;
    font-size: 24px;
    color: #000;
}

/* 각 입력 그룹 */
.form-group {
    margin-bottom: 20px;
}

/* 라벨은 위에 */
.form-group label {
    display: block;
    margin-bottom: 6px;
    font-size: 14px;
    font-weight: bold;
    color: #000;
}

/* input + button 같이 나올 때 */
.input-with-button {
    display: flex;
    align-items: center;
}

/* 단독 input 필드 */
.form-group input[type="text"],
.form-group input[type="password"] {
    width: 100%;
    padding: 12px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 2px;
    outline: none;
    box-sizing: border-box;
}

/* input + 버튼일 때 input 스타일 */
.input-with-button input {
    flex: 1;
    padding: 12px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 2px;
    outline: none;
    box-sizing: border-box;
}

/* 버튼 스타일 */
.input-with-button button,
#signupBtn,
#verifyCode,
#userPhoneChk {
    margin-left: 8px;
    padding: 12px 16px;
    background-color: #fdcf25;
    color: #5c4033;
    border: none;
    border-radius: 2px;
    font-weight: bold;
    font-size: 14px;
    white-space: nowrap;
    cursor: pointer;
}

.input-with-button button:hover,
#signupBtn:hover,
#verifyCode:hover,
#userPhoneChk:hover {
    background-color: #f4be00;
}

/* 회원가입 버튼 */
#signupBtn {
    width: 100%;
    margin-top: 20px;
    padding: 14px;
    font-size: 16px;
    border-radius: 4px;
}

/* 에러 메시지 */
.error-message {
    color: red;
    font-size: 12px;
    margin-top: 4px;
}

/* 수평 구분선 */
hr {
    border: none;
    border-top: 1px solid #ddd;
    margin: 20px 0;
}

@media screen and (max-width: 480px) {
    #signupContainer {
        padding: 30px 10px;
    }

    .signup-form-container {
        width: 100%;
        padding: 20px;
        box-shadow: none;
        border-radius: 6px;
    }

    .signup-form-container h1 {
        font-size: 20px;
        margin-bottom: 20px;
    }

    .form-group {
        margin-bottom: 15px;
    }

    .form-group label {
        font-size: 13px;
    }

    .form-group input[type="text"],
    .form-group input[type="password"] {
        padding: 10px;
        font-size: 13px;
    }

    .input-with-button {
        flex-direction: column;
        align-items: stretch;
    }

    .input-with-button input {
        margin-bottom: 8px;
        padding: 10px;
        font-size: 13px;
    }

    .input-with-button button,
    #signupBtn,
    #verifyCode,
    #userPhoneChk {
        width: 100%;
        margin-left: 0;
        font-size: 14px;
        padding: 10px;
    }

    #signupBtn {
        font-size: 15px;
        padding: 12px;
        margin-top: 15px;
    }

    .error-message {
        font-size: 11px;
    }
}
