/* 기본 초기화 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Pretendard', sans-serif;
}

body, html {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

/* 배경 설정 */
.background-container {
    width: 100%;
    height: 100vh;
    background-image: url('/common/theme/darkness/fooden/foodenloginbg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* 로그인 박스 */
.login-box {
    background-color: rgba(255, 255, 255, 0.7);
    width: 360px; /* 좌우 여백 균형을 위해 너비 소폭 조정 */
    padding: 15px 20px; /* 상하 여백을 더 촘촘하게 줄임 */
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(5px);
}

.logo-area-visual {
    margin-bottom: 12px; /* 로고 하단 간격 축소 */
    width: 100%;
}

.main-logo-img {
    width: 75%;
    max-width: 280px;
    height: auto;
    display: block;
    margin: 0 auto;
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 6px; /* 전체적인 수직 간격 촘촘하게 */
}

/* 메인 행 레이아웃 */
.login-main-row {
    display: flex;
    gap: 6px; /* 버튼과 입력창 사이 간격 축소 */
    align-items: stretch;
}

.input-fields-column {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px; /* 아이디와 비번 사이 간격 축소 */
}

/* 텍스트 박스 슬림화 및 둥글게 */
.input-group input, .select-group select, .password-input-wrapper {
    width: 100%;
    padding: 8px 12px; /* 패딩을 줄여 높이를 더 슬림하게 조절 */
    border: 1px solid #ccc;
    border-radius: 5px; 
    font-size: 13px; /* 글자 크기 소폭 조정 */
    background-color: rgba(255, 255, 255, 0.9);
}

.password-input-wrapper {
    display: flex;
    align-items: center;
    padding: 0 10px;
}

.password-input-wrapper input {
    flex: 1;
    border: none;
    padding: 8px 5px; /* 내부 입력창 높이 일치 */
    outline: none;
    background: transparent;
}

/* 아이콘 색상 및 크기 */
.prefix-icon, .visibility-icon {
    color: #555555;
    font-size: 14px;
}

/* 로그인 버튼: 입력창 2개 높이에 딱 맞춰지도록 설정 */
.login-btn-large {
    width: 75px; /* 전체 높이가 줄어듦에 따라 버튼 너비도 비례해서 조정 */
    background-color: #004282;
    color: white;
    border: none;
    border-radius: 6px; 
    font-weight: bold;
    font-size: 13px;
    cursor: pointer;
    flex-shrink: 0;
}

.login-btn-large:hover {
    background-color: #003366;
}

/* 하단 링크 영역 */
.bottom-links {
    margin-top: 6px; /* 박스와 최대한 밀착 */
    font-size: 11px;
    text-align: right;
    padding-right: 2px; /* 오른쪽 끝 정렬 미세 조정 */
}

.bottom-links a {
    text-decoration: none;
    color: #444;
    font-weight: bold;
}

.divider {
    margin: 0 2px;
    color: #999;
}

/* 셀렉트 화살표 디자인 유지 */
.select-group select {
    appearance: none;
    background: rgba(255, 255, 255, 0.9) url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23555' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e") no-repeat right 10px center/12px;
}