/* =======================================================
    login_style.css - 모바일 로그인 페이지 스타일
    ======================================================= */

/* 1. 전체 레이아웃 및 중앙 정렬 */
body, html {
    height: 100%;
    /* body가 전체 화면을 채우고 내용을 중앙에 배치하도록 설정 */
    background-color: #293e85; /* m_sport_1.html의 배경색 사용 */
    color: white;
    font-family: 'Malgun Gothic', sans-serif;
    margin: 0;
}
.login-wrapper {
    /* main-wrapper가 body 전체를 차지하지 않고 컨텐츠 크기만큼만 가집니다. */
    width: 100%;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
}

.login-container {
    /* 로그인 컨테이너 (실제 콘텐츠 박스) */
    width: 90%;
    max-width: 400px;
    padding: 40px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center; 
    z-index: 10; 
}

/* 2. 제목 스타일 */
.login-main-title {
    font-size: 32px;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 30px;
}

/* 3. 로그인 박스 및 폼 */
.login-box {
    background-color: white;
    color: #333;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    width: 100%;
    box-sizing: border-box;
    margin-bottom: 40px;
    opacity: 0.8;
}
.login-box h2 {
    font-size: 20px;
    font-weight: 700;
    color: #293e85;
    margin-top: 0;
    margin-bottom: 20px;
}
.login-form .form-group {
    margin-bottom: 15px;
}
.login-form input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    box-sizing: border-box;
    font-size: 16px;
}
.login-button {
    width: 100%;
    padding: 12px;
    background-color: #76ff03; /* 녹색 강조 */
    color: #333;
    border: none;
    border-radius: 6px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    margin-top: 15px;
    transition: background-color 0.2s;
}

/* 4. 장식 및 로고 */
.login-footer-logo {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    opacity: 1;
    z-index: 10;
}
.login-footer-logo img {
    height: 30px; 
    width: auto;
}

.login-visual-image {
    position: absolute;
    bottom: -10px; /* 화면 밖으로 살짝 내림 */
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    max-width: 500px;
    opacity: 0.8; /* 배경 효과로 사용 */
    z-index: -1;
}
.login-visual-image img {
    width: 100%;
    height: auto;
}

/* 접근성 숨김 처리 */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}