@import url('https://fonts.googleapis.com/css2?family=Rajdhani:wght@500;700&display=swap');

body {
    margin: 0;
    font-family: 'Rajdhani', sans-serif;

    /* 배경 이미지 */
    background-image: url("/public/img/loginBack.png");
    background-size: cover;          /* 비율 유지하며 화면 꽉 채우기 */
    background-position: center;     /* 중심 기준 정렬 */
    background-repeat: no-repeat;
    background-attachment: fixed;    /* 스크롤 시 고정 (옵션, 원하면 제거 가능) */

    /* 중앙 정렬 레이아웃 */
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}


.login-container {
    width: 100%;
    max-width: 420px;
    padding: 20px;
}

.login-box {
    background: #1a1a1d;
    border: 1px solid #27272b;
    padding: 40px 36px;
    border-radius: 8px;
    text-align: center;
}

.title {
    color: #ff4655;
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 35px;
}

.input-group {
    text-align: left;
    margin-bottom: 20px;
}

.input-group label {
    color: #ccc;
    font-size: 14px;
}

.input-group input {
    width: calc(100% - 28px);
    padding: 12px 14px;
    margin-top: 6px;
    background: #131315;
    border: 1px solid #303036;
    border-radius: 6px;
    color: white;
    font-size: 15px;
    transition: 0.2s;
}

.input-group input:focus {
    outline: none;
    border-color: #ff4655;
    box-shadow: 0 0 8px #ff465580;
}

.login-btn {
    width: 100%;
    padding: 13px;
    margin-top: 10px;
    background: #ff4655;
    border: none;
    border-radius: 6px;
    font-size: 18px;
    color: white;
    cursor: pointer;
    transition: 0.2s;
}

.login-btn:hover {
    background: #e63d4b;
    transform: scale(1.02);
}

.register-link {
    display: block;
    margin-top: 20px;
    color: #fff;
    font-size: 14px;
    text-decoration: none;
    opacity: 0.7;
}

.register-link:hover {
    opacity: 1;
}

.msg {
    margin-top: 16px;
    font-size: 14px;
    color: #ff4655;
}
