/* 배경 이미지에만 투명도를 적용하는 방법 */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #97beeb;
    background-size: cover;
    background-position: center;
    opacity: 0.5; /* 배경 이미지 투명도 조절 */
    z-index: -1; /* 배경을 가장 뒤로 */
}

/* 로그인 박스 */
.login-container {
    background-color: rgba(255, 255, 255, 0.95); /* 박스는 불투명하게 유지 */
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 320px;
    text-align: center;
}

/* 로그인 박스 내 다른 요소들 */
body {
    font-family: Arial, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    position: relative; /* 부모 요소의 상대적 위치 설정 */
}


/* 로고 텍스트 */
.logo-text {
    font-size: 30px;
    font-weight: bold;
    color: #13355b;
    margin-bottom: 30px;
}

/* 아이디/비밀번호 입력란 */
.login-form input[type="text"],
.login-form input[type="password"] {
    width: 100%;
    padding: 12px;
    margin: 5px 0;
    border: 1px solid #ccc;
    border-radius: 12px;
    font-size: 16px;
    box-sizing: border-box;
}

/* 로그인 버튼 */
.login-form button {
    background-color:#13355b;
    color: white;
    border: none;
    margin-top: 30px;
    margin-bottom: 10px;
    border-radius: 12px;
    width: 100%;
    height: 45px;
    max-width: 320px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    text-align: center;
}

/* 로그인 버튼 내 아이콘 */
.login-form button img.login-icon {
    position: absolute;
    left: 15px;
    width: 20px;
    height: 20px;
}

/* 카카오톡 로그인 이미지 버튼 */
.kakao-login {
    margin-top: 5px;
    width: 100%;
    display: flex;
    justify-content: center;
}

.kakao-login img {
    width: 100%;
    max-width: 320px;
    border-radius: 12px;
    cursor: pointer;
}

/* 로그인 버튼과 카카오 로그인 버튼의 동일한 크기 유지 */
.login-form button, .kakao-login img {
    width: 100%;
    width: 320px;
    height: 45px;
}

/* 모바일 화면을 위한 반응형 디자인 */
@media (max-width: 600px) {
    .login-container {
        padding: 20px;
        max-width: 280px;
    }

    .logo-text {
        font-size: 24px;
    }

    .login-form input[type="text"],
    .login-form input[type="password"] {
        padding: 10px;
        font-size: 14px;
    }

    .login-form button {
        font-size: 15px;
        height: 45px;
        max-width: 280px;
    }

    .kakao-login img {
        height: 45px;
        max-width: 280px;
    }
}

/* Flash 메시지 스타일 */
.flash-message p.error {
    color: red;  /* 빨간색 오류 메시지 */
    font-size: 1rem;
    text-align: center;
    margin-bottom: 15px;
}