/* 기본 스타일 초기화 및 전체 화면 설정 */
html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    font-family: 'Malgun Gothic', sans-serif;
    background-color: #f5f6f7;
    display: flex;
    flex-direction: column;
}

/* 헤더 스타일 고정 */
header {
    width: 100%;
    background-color: #fff;
    border-bottom: 1px solid #e4e4e4;
    padding: 15px 0;
}

.header-wrap {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

#header-img {
    height: 40px;
    display: block;
}

.menu a {
    text-decoration: none;
    color: #242323;
    font-size: 14px;
}

/* 상단 내비게이션 바 */
nav {
    width: 100%;
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 10px 0;
    font-size: 16px;
    font-weight: bold;
}

/* ⭐ 핵심: 콘텐츠 영역을 Flexbox로 설정하여 중앙 정렬 */
.content-wrap {
    flex: 1; /* 남은 세로 공간을 모두 차지 */
    display: flex;
    justify-content: center; /* 가로 중앙 정렬 */
    align-items: center;     /* 세로 중앙 정렬 */
    padding: 40px 0;
}

/* 로그인 박스 스타일 */
.login-wrap {
    width: 100%;
    max-width: 400px; /* 로그인 창 너비 제한 */
    background-color: #ffffff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    box-sizing: border-box;
}

.login-head {
    font-size: 24px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 30px;
    color: #222;
}

/* 입력창 감싸는 영역 */
.input-wrap {
    display: flex;
    align-items: center;
    border: 1px solid #dadada;
    border-radius: 4px;
    margin-bottom: 15px;
    background-color: #fff;
    padding: 10px 15px;
}

.login-img {
    font-size: 18px;
    margin-right: 12px;
    color: #888;
}

.input-wrap input {
    border: none;
    outline: none;
    width: 100%;
    font-size: 15px;
}

/* 체크박스 및 로그인 버튼 영역 */
.input-wrap2 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
    margin-bottom: 25px;
    font-size: 14px;
    color: #666;
}

.input-wrap2 div {
    display: flex;
    align-items: center;
    gap: 5px;
}

/* 로그인 버튼 */
#submit {
    background-color: #03c75a; /* 네이버 톤의 깔끔한 초록색 초이스 */
    color: white;
    border: none;
    padding: 10px 20px;
    font-size: 15px;
    font-weight: bold;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.2s;
}

#submit:hover {
    background-color: #02a84c;
}

/* 하단 회원가입 안내 영역 */
.user-add {
    text-align: center;
    border-top: 1px solid #edf0f5;
    padding-top: 20px;
    font-size: 14px;
    color: #666;
}

.user-add a {
    color: #03c75a;
    text-decoration: none;
    font-weight: bold;
}

.user-add img {
    margin-top: 15px;
    max-height: 30px;
}

/* 푸터 고정 스타일 */
footer {
    background-color: #f9f9f9;
    border-top: 1px solid #e4e4e4;
    text-align: center;
    padding: 20px 0;
    font-size: 12px;
    color: #888;
    line-height: 1.6;
}
 /* 첫 번째 줄: 회사명 스타일 */
        footer p:nth-child(1) {
            color: #0056b3;       /* 깊은 파란색 */
            font-weight: bold;    /* 글자 두껍게 */
            font-size: 15px;
            margin-bottom: 5px;   /* 두 번째 줄과의 간격 */
        }

        /* 두 번째 줄: 안내 문구 스타일 */
        footer p:nth-child(2) {
            color: #d9534f;       /* 차분한 빨간색 */
            font-size: 13px;
            margin-top: 0;
        }
/* 로고 링크의 밑줄 제거 및 마우스 커서를 손가락 모양으로 변경 */
.main-log a {
    text-decoration: none;
    display: inline-block; /* 이미지 크기에 맞게 구역 설정 */
}
.main-log img {
    border: none; /* 구형 브라우저에서 링크 걸린 이미지 테두리 제거 */
}
