@charset "utf-8";
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;700&display=swap');

body {
    margin: 0;
    padding: 0;
    font-family: 'Outfit', sans-serif !important;
}

/* 전체 배경: 그라디언트 + 애니메이션 */
#mb_login.login_wrap {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #42a2c7 0%, #40A84A 100%);
    overflow: hidden;
    padding: 0;
    /* 기존 패딩 초기화 */
    margin: 0;
    /* 기존 마진 초기화 */
}

/* Glassmorphism 카드 -> White Card Styles */
.login_card {
    position: relative;
    background: #ffffff;
    /* 흰색 배경 */
    border-radius: 20px;
    border: none;
    /* 보더 제거 */
    padding: 50px 40px;
    width: 100%;
    max-width: 420px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    z-index: 10;
    margin: 20px;
}

.login_header {
    text-align: center;
    margin-bottom: 40px;
}

/* Header Text (Green) */
#mb_login .login_header h1 {
    position: static !important;
    width: auto !important;
    height: auto !important;
    font-size: 28px !important;
    line-height: 1.2 !important;
    color: #40A84A;
    /* 초록색 텍스트 */
    font-weight: 700;
    margin: 0;
    letter-spacing: 1px;
    text-shadow: none;
    /* 그림자 제거 */
    overflow: visible !important;
}

.login_header p {
    color: #666;
    /* 보조 텍스트는 회색 */
    margin-top: 10px;
    font-size: 15px;
}

/* 입력 폼 스타일 */
.input_group {
    position: relative;
    margin-bottom: 25px;
}

/* Inputs on White Background */
.input_group input {
    width: 100%;
    padding: 15px 20px;
    background: #f8f9fa !important;
    /* 연한 회색 배경 */
    border: 1px solid #e1e1e1 !important;
    /* 연한 테두리 */
    border-radius: 12px;
    color: #333 !important;
    font-size: 16px;
    outline: none;
    transition: all 0.3s ease;
    box-sizing: border-box;
    height: auto !important;
    margin: 0 !important;
    font-weight: 500;
}

.input_group input::placeholder {
    color: #aaa;
    font-weight: 400;
}

.input_group input:focus {
    background: #fff !important;
    border-color: #40A84A !important;
    /* 초록색 포커스 */
    color: #40A84A !important;
    box-shadow: 0 0 0 4px rgba(64, 168, 74, 0.1);
}

/* 로그인 버튼 */
.btn_login {
    width: 100%;
    padding: 15px;
    background: #40A84A;
    /* 초록색 배경 */
    color: #fff;
    /* 흰색 텍스트 */
    border: none;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.btn_login:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(64, 168, 74, 0.4);
    background: #36913e;
    /* 호버 시 진한 초록 */
}

/* 유틸리티 링크 */
.login_utils {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
    color: #666;
    /* 텍스트 회색 */
    font-size: 14px;
}

/* 체크박스 커스텀 */
#mb_login .chk_box {
    display: block;
    margin: 0;
    padding: 0;
}

#mb_login .chk_box input[type="checkbox"] {
    display: none;
}

#mb_login .chk_box label {
    cursor: pointer;
    display: flex;
    align-items: center;
    color: #666 !important;
    /* 텍스트 회색 */
}

/* 체크박스 박스 스타일 */
#mb_login .chk_box input[type="checkbox"]+label span {
    display: inline-block !important;
    float: none !important;
    width: 18px !important;
    height: 18px !important;
    border: 1px solid #ccc !important;
    /* 회색 테두리 */
    border-radius: 4px !important;
    margin-right: 8px;
    position: relative;
    background: #fff !important;
    top: 0 !important;
}

/* 체크 표시 */
#mb_login .chk_box input:checked+label span::after {
    content: '✔';
    position: absolute;
    top: -3px;
    left: 2px;
    color: #40A84A;
    /* 초록색 체크 */
    font-size: 14px;
}

#mb_login .chk_box input[type="checkbox"]:checked+label span {
    background: #fff !important;
    border-color: #40A84A !important;
}

.login_utils a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s;
}

.login_utils a:hover {
    color: #40A84A;
    text-decoration: underline;
}

/* 하단 링크 (회원가입/문의) */
.join_link {
    text-align: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #eee;
    /* 아주 연한 회색 구분선 */
    color: #666;
    font-size: 15px;
}

.join_link a {
    color: #40A84A;
    /* 초록색 링크 */
    font-weight: 600;
    margin-left: 5px;
    text-decoration: none;
    cursor: pointer;
}

.join_link a:hover {
    text-decoration: underline;
}

/* 비회원 구매 섹션 */
.guest_order {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px dashed #ddd;
    text-align: center;
}

.guest_order .btn_guest {
    background: transparent;
    border: 1px solid #ccc;
    color: #666;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 14px;
    cursor: pointer;
    transition: 0.3s;
}

.guest_order .btn_guest:hover {
    background: #f8f9fa;
    border-color: #999;
}

/* 배경 장식 (유지) */
.circle {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    z-index: 1;
}

.c1 {
    width: 300px;
    height: 300px;
    top: -50px;
    left: -50px;
}

.c2 {
    width: 200px;
    height: 200px;
    bottom: 50px;
    right: -30px;
}

/* 소셜 로그인 버튼 스타일 수정 (기존 스타일 오버라이드) */
#sns_login {
    border: none !important;
    padding: 15px 0 0 0 !important;
    margin: 0 !important;
}

#sns_login .sns-wrap {
    margin: 0 !important;
    display: flex;
    justify-content: center;
    gap: 10px;
}

#sns_login .sns-icon {
    float: none !important;
    width: 40px !important;
    height: 40px !important;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 !important;
    padding: 0 !important;
}

#sns_login .sns-icon img {
    width: 100%;
    height: 100%;
}

#sns_login .txt {
    display: none !important;
}