/* 일반 로그인 페이지 스타일 */
@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@300;400;500;700&display=swap");

:root {
    --cgl-primary-color: #003a7a;
    --cgl-accent-color: #0056b3;
    --cgl-text-dark: #1e293b;
    --cgl-text-light: #64748b;
    --cgl-white: #ffffff;
    --cgl-gray-bg: #f1f5f9;
    --cgl-transition: all 0.3s ease;
    --cgl-shadow:
        0 10px 25px -5px rgba(0, 0, 0, 0.1),
        0 8px 10px -6px rgba(0, 0, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body.general-login-body {
    font-family: "Noto Sans KR", sans-serif;
    background-color: var(--cgl-gray-bg);
    color: var(--cgl-text-dark);
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* Background Decor */
.cgl-bg-decor {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
}

.cgl-bg-circle {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
}

.cgl-circle-1 {
    top: -10%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: var(--cgl-primary-color);
}

.cgl-circle-2 {
    bottom: -5%;
    left: -5%;
    width: 400px;
    height: 400px;
    background: #00a8cc;
}

/* Main Container */
.cgl-login-wrapper {
    display: flex;
    width: 1000px;
    height: 600px;
    background: var(--cgl-white);
    border-radius: 24px;
    box-shadow: var(--cgl-shadow);
    overflow: hidden;
    position: relative;
}

/* Left Branding */
.cgl-branding-section {
    flex: 1;
    background: var(--cgl-primary-color);
    padding: 60px;
    color: var(--cgl-white);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}

.cgl-branding-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("https://www.inje.ac.kr/kor/assets/images/sub/intro-visual-01.jpg") center/cover;
    opacity: 0.2;
    mix-blend-mode: overlay;
}

.cgl-branding-section::after {
    content: "";
    position: absolute;
    top: -60px;
    right: -60px;
    width: 500px;
    height: 500px;
    background: url("data:image/svg+xml,%3Csvg width='500' height='500' xmlns='http://www.w3.org/2000/svg'%3E%3Cdefs%3E%3CclipPath id='clip'%3E%3Crect width='500' height='500'/%3E%3C/clipPath%3E%3C/defs%3E%3Cg clip-path='url(%23clip)'%3E%3Ccircle cx='350' cy='80' r='140' fill='none' stroke='%23ffffff' stroke-width='0.6' opacity='0.08'/%3E%3Ccircle cx='350' cy='80' r='110' fill='none' stroke='%23ffffff' stroke-width='0.5' opacity='0.06'/%3E%3Ccircle cx='350' cy='80' r='80' fill='none' stroke='%23ffffff' stroke-width='0.4' opacity='0.05'/%3E%3Cg opacity='0.1'%3E%3Cline x1='200' y1='0' x2='200' y2='300' stroke='%23ffffff' stroke-width='0.3'/%3E%3Cline x1='260' y1='0' x2='260' y2='300' stroke='%23ffffff' stroke-width='0.3'/%3E%3Cline x1='320' y1='0' x2='320' y2='300' stroke='%23ffffff' stroke-width='0.3'/%3E%3Cline x1='380' y1='0' x2='380' y2='300' stroke='%23ffffff' stroke-width='0.3'/%3E%3Cline x1='440' y1='0' x2='440' y2='300' stroke='%23ffffff' stroke-width='0.3'/%3E%3Cline x1='150' y1='40' x2='500' y2='40' stroke='%23ffffff' stroke-width='0.3'/%3E%3Cline x1='150' y1='100' x2='500' y2='100' stroke='%23ffffff' stroke-width='0.3'/%3E%3Cline x1='150' y1='160' x2='500' y2='160' stroke='%23ffffff' stroke-width='0.3'/%3E%3Cline x1='150' y1='220' x2='500' y2='220' stroke='%23ffffff' stroke-width='0.3'/%3E%3C/g%3E%3Cg opacity='0.12'%3E%3Ccircle cx='200' cy='40' r='2.5' fill='%23ffffff'/%3E%3Ccircle cx='260' cy='40' r='2.5' fill='%23ffffff'/%3E%3Ccircle cx='320' cy='100' r='2.5' fill='%23ffffff'/%3E%3Ccircle cx='380' cy='160' r='2.5' fill='%23ffffff'/%3E%3Ccircle cx='260' cy='160' r='2.5' fill='%23ffffff'/%3E%3Ccircle cx='440' cy='100' r='2.5' fill='%23ffffff'/%3E%3Ccircle cx='320' cy='220' r='2.5' fill='%23ffffff'/%3E%3Ccircle cx='200' cy='160' r='2.5' fill='%23ffffff'/%3E%3Ccircle cx='380' cy='40' r='2.5' fill='%23ffffff'/%3E%3Ccircle cx='440' cy='220' r='2.5' fill='%23ffffff'/%3E%3C/g%3E%3Cg opacity='0.09'%3E%3Cline x1='200' y1='40' x2='260' y2='40' stroke='%23ffffff' stroke-width='0.8'/%3E%3Cline x1='260' y1='40' x2='320' y2='100' stroke='%23ffffff' stroke-width='0.8'/%3E%3Cline x1='320' y1='100' x2='380' y2='160' stroke='%23ffffff' stroke-width='0.8'/%3E%3Cline x1='380' y1='160' x2='440' y2='100' stroke='%23ffffff' stroke-width='0.8'/%3E%3Cline x1='260' y1='160' x2='200' y2='160' stroke='%23ffffff' stroke-width='0.8'/%3E%3Cline x1='260' y1='160' x2='320' y2='220' stroke='%23ffffff' stroke-width='0.8'/%3E%3Cline x1='320' y1='220' x2='440' y2='220' stroke='%23ffffff' stroke-width='0.8'/%3E%3Cline x1='380' y1='40' x2='440' y2='100' stroke='%23ffffff' stroke-width='0.8'/%3E%3C/g%3E%3Cpolygon points='280,70 340,70 360,120 320,150 280,120' fill='none' stroke='%23ffffff' stroke-width='0.6' opacity='0.07'/%3E%3C/g%3E%3C/svg%3E") no-repeat;
    pointer-events: none;
}

.cgl-branding-pattern-bottom {
    position: absolute;
    bottom: -40px;
    right: -160px;
    width: 400px;
    height: 400px;
    background: url("data:image/svg+xml,%3Csvg width='400' height='400' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='120' cy='320' r='120' fill='none' stroke='%23ffffff' stroke-width='0.6' opacity='0.07'/%3E%3Ccircle cx='120' cy='320' r='90' fill='none' stroke='%23ffffff' stroke-width='0.5' opacity='0.05'/%3E%3Ccircle cx='120' cy='320' r='60' fill='none' stroke='%23ffffff' stroke-width='0.4' opacity='0.04'/%3E%3Cg opacity='0.09'%3E%3Cline x1='0' y1='200' x2='300' y2='200' stroke='%23ffffff' stroke-width='0.3'/%3E%3Cline x1='0' y1='260' x2='300' y2='260' stroke='%23ffffff' stroke-width='0.3'/%3E%3Cline x1='0' y1='320' x2='300' y2='320' stroke='%23ffffff' stroke-width='0.3'/%3E%3Cline x1='60' y1='180' x2='60' y2='400' stroke='%23ffffff' stroke-width='0.3'/%3E%3Cline x1='120' y1='180' x2='120' y2='400' stroke='%23ffffff' stroke-width='0.3'/%3E%3Cline x1='180' y1='180' x2='180' y2='400' stroke='%23ffffff' stroke-width='0.3'/%3E%3Cline x1='240' y1='180' x2='240' y2='400' stroke='%23ffffff' stroke-width='0.3'/%3E%3C/g%3E%3Cg opacity='0.11'%3E%3Ccircle cx='60' cy='260' r='2.5' fill='%23ffffff'/%3E%3Ccircle cx='120' cy='200' r='2.5' fill='%23ffffff'/%3E%3Ccircle cx='180' cy='260' r='2.5' fill='%23ffffff'/%3E%3Ccircle cx='240' cy='320' r='2.5' fill='%23ffffff'/%3E%3Ccircle cx='120' cy='320' r='2.5' fill='%23ffffff'/%3E%3Ccircle cx='60' cy='320' r='2.5' fill='%23ffffff'/%3E%3Ccircle cx='180' cy='200' r='2.5' fill='%23ffffff'/%3E%3C/g%3E%3Cg opacity='0.08'%3E%3Cline x1='60' y1='260' x2='120' y2='200' stroke='%23ffffff' stroke-width='0.8'/%3E%3Cline x1='120' y1='200' x2='180' y2='260' stroke='%23ffffff' stroke-width='0.8'/%3E%3Cline x1='180' y1='260' x2='240' y2='320' stroke='%23ffffff' stroke-width='0.8'/%3E%3Cline x1='60' y1='320' x2='120' y2='320' stroke='%23ffffff' stroke-width='0.8'/%3E%3Cline x1='120' y1='320' x2='180' y2='260' stroke='%23ffffff' stroke-width='0.8'/%3E%3Cline x1='180' y1='200' x2='240' y2='320' stroke='%23ffffff' stroke-width='0.8'/%3E%3C/g%3E%3C/svg%3E") no-repeat;
    pointer-events: none;
}

.cgl-logo-area {
    position: relative;
    z-index: 1;
}

.cgl-logo-area h1 {
    font-size: 28px;
    font-weight: 700;
    letter-spacing: -1px;
    margin-bottom: 8px;
}

.cgl-logo-area p {
    font-size: 14px;
    opacity: 0.8;
    font-weight: 300;
}

.cgl-logo-area img {
    max-width: 200px;
    height: auto;
}

.cgl-welcome-msg {
    position: relative;
    z-index: 1;
}

.cgl-welcome-msg h2 {
    font-size: 36px;
    line-height: 1.3;
    margin-bottom: 20px;
}

.cgl-welcome-msg p {
    font-size: 16px;
    line-height: 1.6;
    opacity: 0.9;
}

.cgl-footer-info {
    font-size: 14px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    position: relative;
    z-index: 1;
}

.cgl-footer-info span {
    opacity: 0.6;
}

.cgl-footer-info a {
    color: #2EC4B6;
    text-decoration: none;
    font-weight: 500;
}

.cgl-footer-info a:hover {
    text-decoration: underline;
}

/* Right Login Form */
.cgl-login-section {
    width: 450px;
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.cgl-back-to-login {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 500;
    color: var(--cgl-text-light);
    text-decoration: none;
    margin-bottom: 24px;
    transition: var(--cgl-transition);
}

.cgl-back-to-login:hover {
    color: var(--cgl-primary-color);
}

.cgl-page-heading {
    font-size: 22px;
    font-weight: 700;
    color: var(--cgl-text-dark);
    margin-bottom: 8px;
    letter-spacing: -0.02em;
}

.cgl-page-sub {
    font-size: 13px;
    color: var(--cgl-text-light);
    margin-bottom: 28px;
    line-height: 1.5;
}

.cgl-form-group {
    margin-bottom: 20px;
}

.cgl-form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--cgl-text-light);
    margin-bottom: 8px;
    padding-left: 4px;
}

.cgl-input-wrapper {
    position: relative;
}

.cgl-input-wrapper input {
    width: 100%;
    padding: 14px 16px;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    font-size: 15px;
    font-family: "Noto Sans KR", sans-serif;
    transition: var(--cgl-transition);
    outline: none;
}

.cgl-input-wrapper input:focus {
    border-color: var(--cgl-primary-color);
    box-shadow: 0 0 0 4px rgba(0, 58, 122, 0.1);
}

.cgl-login-btn {
    width: 100%;
    padding: 16px;
    background: var(--cgl-primary-color);
    color: var(--cgl-white);
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    font-family: "Noto Sans KR", sans-serif;
    cursor: pointer;
    transition: var(--cgl-transition);
}

.cgl-login-btn:hover {
    background: var(--cgl-accent-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 58, 122, 0.2);
}

.cgl-login-section form {
    display: flex;
    flex-direction: column;
}

/* Responsive */
@media (max-width: 1024px) {
    body.general-login-body {
        height: auto;
        min-height: 100vh;
        overflow: auto;
        padding: 40px 0;
    }

    .cgl-login-wrapper {
        width: 90%;
        height: auto;
        flex-direction: column;
    }

    .cgl-branding-section {
        padding: 40px;
        height: 250px;
    }

    .cgl-login-section {
        width: 100%;
        padding: 40px;
    }

    .cgl-welcome-msg h2 {
        font-size: 24px;
    }

    .cgl-welcome-msg p {
        display: none;
    }
}
