body {
    margin: 0;
    font-family: 'Segoe UI', sans-serif;
    background: #f4f6f8;  /* 은은한 연회색 */
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

/* 로그인 카드 */
.login-container {
    background: white;
    padding: 40px;
    width: 350px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    text-align: center;
}

.login-container h2 {
    margin-bottom: 25px;
    color: #333;
}

/* 입력창 */
.input-group {
    margin-bottom: 15px;
    text-align: left;
}

.input-group label {
    font-size: 14px;
    font-weight: bold;
    color: #555;
}

.input-group input {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    box-sizing: border-box;
}

/* 버튼 */
button {
    width: 100%;
    padding: 12px;
    background-color: #5c6bc0;
    border: none;
    border-radius: 6px;
    color: white;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

button:hover {
    background-color: #3f51b5;
}

/* 에러 메시지 */
.error-message {
    margin-top: 15px;
    color: red;
    font-size: 14px;
}

/* 회원가입 링크 */
.signup-link {
    margin-top: 20px;
    font-size: 14px;
}

.signup-link a {
    text-decoration: none;
    color: #5c6bc0;
    font-weight: bold;
}

/* ===== 오른쪽 고정 박스 ===== */
.side-box {
    position: fixed;
    top: 120px;
    right: 30px;
    width: 120px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 1000;
}

/* 링크 공통 */
.side-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 12px;
    text-decoration: none;
    color: #333;
    font-size: 14px;
    transition: all 0.2s ease;
    background: #f7f7f7;
}

.side-link:hover {
    background: #eeeeee;
}

/* ========================= */
/* 모바일 반응형 */
/* ========================= */
@media (max-width: 1024px) {

body {
    height: auto;
    padding: 20px;
    align-items: flex-start;
}

/* 로그인 카드 */
.login-container {
    width: 100%;
    max-width: 420px;
    padding: 30px 20px;
}

/* 제목 */
.login-container h2 {
    font-size: 22px;
}

/* 입력창 */
.input-group input {
    padding: 12px;
    font-size: 16px;
}

/* 버튼 */
button {
    padding: 14px;
    font-size: 16px;
}

/* 사이드박스 → 모바일에서는 하단 고정 */
.side-box {
    position: fixed;
    bottom: 15px;
    right: 15px;
    top: auto;
    width: auto;
    padding: 8px;
}

.side-link {
    font-size: 13px;
    padding: 8px 10px;
}

}