﻿body, html {
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    display: flex;
    justify-content: center; /* 수평 중앙 정렬 */
    align-items: center; /* 수직 중앙 정렬 */
    background-color: #f4f4f4;
    font-family: Arial, sans-serif;
}

#form_login {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center; /* 내부 요소 수평 중앙 정렬 */
    align-items: center; /* 내부 요소 수직 중앙 정렬 */
    border: none;
    background: transparent;
}

#middle-box {
    width: 70%;
    max-width: 1200px;
    height: 750px;
    border-radius: 25px;
    background-color: white;
    box-sizing: border-box;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    display: flex; /* Flexbox 적용 */
    justify-content: space-between; /* 내부 요소 간격 */
    padding: 20px; /* middle-box와 내부 div 간의 간격 */
    gap: 20px; /* 두 div 간의 간격 */
}

.box-left {
    flex: 7; /* 7 비율 */
    background-color: #e0e0e0; /* 임시 배경색 */
    border-radius: 10px;
    padding: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.box-right {
    display: flex;
    flex-direction: column; /* 수직 정렬 */
    align-items: center; /* 가운데 정렬 */
    justify-content: center; /* 수직 가운데 정렬 */
    gap: 20px; /* 요소 간 간격 */
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.logo img {
    width: 150px; /* 로고 크기 */
    height: auto;
}

.form-group {
    width: 100%; /* 그룹 너비 */
    display: flex;
    flex-direction: column; /* 라벨과 입력 필드 수직 정렬 */
    gap: 5px; /* 라벨과 입력 필드 간 간격 */
}

.input-field {
    width: 100%; /* 입력 필드 너비 */
    max-width: 300px; /* 최대 너비 */
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
}

.login-button {
    width: 100%; /* 버튼 너비 */
    max-width: 300px; /* 최대 너비 */
    padding: 10px;
    font-size: 16px;
    color: white;
    background-color: #007bff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

    .login-button:hover {
        background-color: #0056b3;
    }