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;
    background-size: cover;
}

.login-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.logo {
    text-align: center;
    position: relative;
    z-index: 2;
}

.logo img {
    width: 80%;
    height: auto;
    display: inline-block;
}

.login-box {
    background: rgba(36, 106, 253, 0.5);
    padding: 25px;
    border-radius: 16px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.12);
    text-align: left;
    position: relative;
    margin-top: -50px;
    z-index: 1;
    width: 380px;
}
.code-box{
    background: #fff;
    padding: 25px 30px;
    border-radius: 12px;
    width: 260px;
    text-align: center;
}
.code-box input {
    width: 90%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 10px;
    font-size: 14px;
}
.code-box 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;
}

.login-box h3 {
    color: #fff;
    font-size: 15px;
    margin-bottom: 6px;
    margin-top: 15px;
}

.login-box input {
    width: 93%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 10px;
    font-size: 14px;
}

#login-btn {
    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;
}

#login-btn:hover {
    background: #155fcc;
}

.login-box input,
#login-btn,
.signup-link {
    position: relative;
    z-index: 2;
}

.signup-link {
    margin-top: 15px;
    text-align: center;
    font-size: 14px;
    color: #1f74f2;
}

#open-signup a {
    color: #fff;
    cursor: pointer;
}

#open-signup:hover {
    text-decoration: underline;
}

.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: 9998;
}

.hidden {
    display: none !important;
}

.popup-content {
    background: #fff;
    padding: 25px 30px;
    border-radius: 12px;
    width: 260px;
    text-align: center;
}

.popup-content p {
    margin-bottom: 20px;
    margin-top: 7px;
    font-size: 28px;
    font-weight: 600;
    color: #2b2b2b;
    line-height: 1;
}
.popup-content span {
    font-size: 17px;
    font-weight: 500;
    color: #6e6e6e;
}
.popup-content img {
    width: 20%;
}

.close-popup {
    padding: 10px 20px;
    background: #333;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
}

.close-popup:hover {
    background: #555;
}

.modal {
    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;
}

.modal-content {
    background: white;
    width: 450px;
    height: 650px;
    border-radius: 16px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.2);
}

.modal-close {
    position: absolute;
    top: 12px;
    right: 16px;
    font-size: 26px;
    cursor: pointer;
    color: #666;
    z-index: 10000;
}

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

.signup-frame {
    width: 100%;
    height: 100%;
    border: none;
}
/* 모바일 화면 최적화 */
@media screen and (max-width: 480px) {
    body {
        overflow-x: hidden;
        display: block;
    }
    .login-box {width: 330px;}

}
