@charset "utf-8";

/* =========================================================
   1. Base & Global Styles
   ========================================================= */
html {
    font-size: 10px; /* rem 단위 기준 (1rem = 10px) */
    width: 100%;
    height: 100%;
}

body {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background-color: #030712;
    font-family: 'Paperlogy', 'Pretendard', sans-serif;
    color: #0f172a;
    -webkit-font-smoothing: antialiased;
}

/* =========================================================
   2. Background Layout & Mesh Glow Aura
   ========================================================= */
#wrap.login {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
    background: radial-gradient(circle at 50% 50%, #0b1a31 0%, #02050e 100%);
}

/* 배경 테크니컬 그리드 레이어 */
.bg-tech-grid {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(56, 189, 248, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(56, 189, 248, 0.04) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
}

/* 소프트 파스텔 발광 오라 */
.glow-orb-1 {
    position: absolute;
    top: -10%;
    left: 10%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(2, 132, 199, 0.28) 0%, rgba(2, 132, 199, 0) 70%);
    filter: blur(90px);
    pointer-events: none;
}

.glow-orb-2 {
    position: absolute;
    bottom: -10%;
    right: 10%;
    width: 850px;
    height: 850px;
    background: radial-gradient(circle, rgba(128, 70, 223, 0.25) 0%, rgba(128, 70, 223, 0) 70%);
    filter: blur(100px);
    pointer-events: none;
}

/* =========================================================
   3. Main Login Card Container
   ========================================================= */
.login-wrap {
    position: relative;
    z-index: 10;
    width: 50vw;
    max-width: 1200px;
    min-width: 760px;
    margin: 0 auto;
    border-radius: 28px;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.55);
    background-color: #ffffff;
    background-image: linear-gradient(#ffffff, #ffffff), linear-gradient(135deg, #0087fa 0%, #8046df 100%);
    background-origin: border-box;
    background-clip: content-box, border-box;
    border: 4px solid transparent;
    backdrop-filter: blur(20px);
    box-sizing: border-box;
}

.login-form {
    padding: 52px 80px 50px;
    margin: 0 auto;
}

/* =========================================================
   4. Header & Typography
   ========================================================= */
.login-tit-wrap {
    margin-bottom: 44px;
    text-align: center;
    font-family: 'Paperlogy-medium', sans-serif;
}

/* 로고 일체감 패널 */
.login-logo {
    display: block;
    margin-bottom: 28px;
    text-align: center;
}

.logo-seamless-link {
    display: inline-block;
    padding: 0;
    background: transparent;
    border: none;
    box-shadow: none;
    transition: transform 0.25s ease;
}

.logo-seamless-link:hover {
    transform: scale(1.03);
}

.logo-seamless-link img {
    height: 92px;
    width: auto;
    display: block;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.08));
}

/* 타이틀 & '인증의' 레드 글자 강조 */
.login-tit {
    font-size: 3.8rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.3;
    letter-spacing: -0.03em;
}

.login-tit .society-text {
    color: #0f172a;
    font-size: 1.7em;
	letter-spacing:2px;
}

.login-tit .cert-text {
    color: #B50000 !important;
    font-weight: 800;
    font-size: 1.7em;
}

.login-tit strong {
    display: block;
    margin-top: 0px;
    font-size: 7.2rem;
    font-weight: 800;
    font-family: 'Paperlogy-medium', sans-serif;
    background: linear-gradient(135deg, #1b53af 0%, #0087fa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.login-tit-wrap p {
    margin-top: 18px;
    font-size: 1.8rem;
    line-height: 1.6;
    color: #64748b;
}

/* =========================================================
   5. Form Controls & Interactive Elements
   ========================================================= */
.login-form .input-box {
    max-width: 640px;
    margin: 0 auto;
}

.input-field-relative {
    position: relative;
    margin-bottom: 20px;
}

.input-field-relative i {
    position: absolute;
    left: 22px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2.2rem;
    color: #94a3b8;
    transition: color 0.25s ease;
    pointer-events: none;
}

.login-form .form-item {
    display: inline-block;
    width: 100%;
    height: 68px;
    padding: 0 24px 0 60px;
    border: 1.5px solid #cbd5e1;
    border-radius: 14px;
    background-color: #f8fafc;
    font-size: 1.8rem;
    color: #0f172a;
    box-sizing: border-box;
    transition: all 0.25s ease;
}

.login-form .form-item::placeholder {
    color: #94a3b8;
}

.login-form .form-item:focus {
    outline: none;
    background-color: #ffffff;
    border-color: #0087fa;
    box-shadow: 0 0 0 4px rgba(0, 135, 250, 0.15);
}

.login-form .form-item:focus ~ i {
    color: #0087fa;
}

/* =========================================================
   6. Submit Button & Footer Copyright
   ========================================================= */
.login-form .btn-wrap {
    max-width: 640px;
    margin: 28px auto 0;
}

.login-form .btn.btn-login {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    height: 72px;
    padding: 0;
    border: none;
    border-radius: 14px;
    background: linear-gradient(54deg, rgba(0,135,250,1) 0%, rgba(128,70,223,1) 100%);
    font-size: 2.2rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.4;
    letter-spacing: -0.02em;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(56, 75, 145, 0.3);
    transition: all 0.25s ease;
}

.login-form .btn.btn-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 36px rgba(0, 135, 250, 0.45);
    background: linear-gradient(54deg, rgba(0, 120, 225, 1) 0%, rgba(110, 55, 205, 1) 100%);
}

.login-form .btn.btn-login:active {
    transform: translateY(0);
}

.copyright-area {
    margin-top: 48px;
    padding-top: 24px;
    border-top: 1px solid #f1f5f9;
    text-align: center;
    font-size: 1.4rem;
    color: #94a3b8;
    font-family: 'Paperlogy-medium', sans-serif;
}

/* =========================================================
   7. Responsive Media Queries
   ========================================================= */
@media screen and (max-width: 1024px) {
    html {
        font-size: 9px;
    }
    
    .login-wrap {
        width: 85vw;
        min-width: auto;
    }
}

@media screen and (max-width: 768px) {
    html {
        font-size: 8px;
    }

    .login-wrap {
        width: 95vw;
        min-width: auto;
        border-radius: 16px;
    }

    .login-form {
        padding: 40px 24px 48px;
    }

    .logo-seamless-link img {
        height: 60px;
    }

    .login-tit-wrap {
        margin-bottom: 24px;
    }

    .login-tit {
        font-size: 2.4rem;
    }

    .login-tit strong {
        font-size: 3.2rem;
        margin-top: 4px;
    }

    .login-tit-wrap p {
        margin-top: 14px;
        font-size: 1.4rem;
    }

    .login-form .input-box,
    .login-form .btn-wrap {
        max-width: 100%;
    }

    .login-form .form-item {
        height: 54px;
        font-size: 1.5rem;
    }

    .login-form .btn.btn-login {
        height: 58px;
        font-size: 1.8rem;
    }
}

@media screen and (max-height: 500px) and (orientation: landscape) {
    body {
        overflow-y: auto;
    }

    #wrap.login {
        align-items: flex-start;
        padding-top: 60px;
        padding-bottom: 60px;
    }
}