body {
    margin: 0;
    padding: 0;
    font-family: "Noto Sans KR", sans-serif;
    background: url('../img/background.jpg') no-repeat center center fixed;
    background-size: cover;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.signup-container {
    width: 380px;
    max-height: 80%;
    background: #fff;
    padding: 25px;
    margin: 60px auto;
    border-radius: 16px;
    box-shadow: 0 4px 18px rgba(0,0,0,0.12);
    position: relative;
    display: flex;
    flex-direction: column;
}

.signup-content {
    overflow-y: auto;
    max-height: calc(90vh - 70px); 
    padding-right: 10px;
}
.close-btn {
    position: absolute; 
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #333;
}
.signup-container {
    position: relative;
}
.signup-container h2 {
    margin-bottom: 10px;
    font-size: 22px;
    text-align: center;
    font-weight: 600;
}
.id-row {
    display: flex;
    align-items: center;
    gap: 5px;
}
#checkIdBtn {
    border-radius: 7px;
    background-color: #155fcc;
    padding: 10px 10px;
    color: #fff;
    border: none;
}
#closePopup {
    border-radius: 7px;
    background-color: #155fcc;
    padding: 10px 35px;
    color: #fff;
    border: none;

}
#signupCompleteClose {
     border-radius: 7px;
    background-color: #155fcc;
    padding: 10px 35px;
    color: #fff;
    border: none;
}
.id-row input[type="text"] {
    flex: 1; 
}

.signup-container label {
    display: block;
    margin-top: 15px;
    margin-bottom: 6px;
    font-size: 15px;
    font-weight: 500;
}

.signup-container input[type="text"],
.signup-container input[type="password"],
.signup-container input[type="name"],
.signup-container input[type="nickname"],
.signup-container input[type="birth"],
.signup-container input[type="phone"],
.signup-container input[type="bank"],
.signup-container input[type="account"],
.signup-container input[type="account_holder"],
.signup-container input[type="code"],
.signup-container input[type="site_name"],
.signup-container input[type="charge"],
.signup-container input[type="account_holder"],
.signup-container input[type="file"],
.signup-container input[type="charge_image"] {
    width: 100%;
    padding: 12px;
    border-radius: 10px;
    border: 1px solid #ccc;
    font-size: 14px;
    box-sizing: border-box; 
}
.signup-container select {
    width: 100%;
    padding: 12px;
    border-radius: 10px;
    border: 1px solid #ccc;
    font-size: 14px;
    box-sizing: border-box; 
}
.signup-container input[type="button"] {
    width: 100%;
    position: relative;
    padding: 14px;
    background-image: linear-gradient(180deg, #e50213 0%, #8e040e 100%);
    border: none;
    color: #fff;
    font-size: 16px;
    border-radius: 10px;
    cursor: pointer;
    margin-top: 10px;
    z-index: 11;
    pointer-events: auto;
}
.popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.55);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.hidden {
    display: none !important;
}
.popup-box {
    background: #fff;
    padding: 25px 30px;
    border-radius: 12px;
    width: 260px;
    text-align: center;
}
@media screen and (max-width: 480px) {
    .signup-container {width: 330px;}

}