        :root {
            --primary: #1e3c72;
            --primary-light: #2a5298;
            --accent: #ff6b35;
            --accent-light: #ff8c5a;
            --text-main: #333333;
            --text-sub: #666666;
            --border: #e0e0e0;
            --border-focus: #2a5298;
            --danger: #ff3b30;
            --white: #ffffff;
            --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.3);
            --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.2);
            --shadow-accent: 0 10px 20px rgba(255, 107, 53, 0.3);
            --shadow-primary: 0 8px 15px rgba(30, 60, 114, 0.3);
            --radius-xl: 20px;
            --radius-lg: 15px;
            --radius-md: 8px;
            --transition: 0.3s ease;
        }

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

        html {
            color-scheme: light;
        }

        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 50%, var(--accent) 100%);
            min-height: 100vh;
            min-height: 100dvh;
            display: flex;
            justify-content: center;
            align-items: center;
            position: relative;
            padding: 20px;
            color: var(--text-main);
        }

        body.modal-open {
            overflow: hidden;
        }

        .bg-decoration {
            position: fixed;
            inset: 0;
            overflow: hidden;
            z-index: 0;
            pointer-events: none;
        }

        .bg-decoration::before {
            content: '';
            position: absolute;
            width: 500px;
            height: 500px;
            background: rgba(255, 107, 53, 0.1);
            border-radius: 50%;
            top: -200px;
            right: -200px;
        }

        .bg-decoration::after {
            content: '';
            position: absolute;
            width: 400px;
            height: 400px;
            background: rgba(30, 60, 114, 0.2);
            border-radius: 50%;
            bottom: -150px;
            left: -150px;
        }

        .login-container {
            background: var(--white);
            border-radius: var(--radius-xl);
            box-shadow: var(--shadow-lg);
            overflow: hidden;
            width: min(900px, 100%);
            display: flex;
            position: relative;
            z-index: 1;
            margin: auto;
            background-clip: padding-box;
        }

        .login-image {
            flex: 1;
            background: url('https://images.recruit.kro.kr/login/login_background.png');
            background-size: cover;
            background-position: center;
            background-repeat: no-repeat;
            padding: 56px 40px;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            color: var(--white);
            position: relative;
            border-radius: var(--radius-xl) 0 0 var(--radius-xl);
            overflow: visible;
        }

        .login-image::before {
            content: '';
            position: absolute;
            width: 200px;
            height: 200px;
            background: rgba(255, 107, 53, 0.2);
            border-radius: 50%;
            top: -50px;
            right: -50px;
        }

        /* 수정: 로고+텍스트를 하나의 블록으로 묶어 이미지 안전영역(좌하단)에 배치 */
        .brand-content {
            position: absolute;
            left: 40px;
            bottom: 48px;
            z-index: 1;
            display: flex;
            flex-direction: row;
		    align-items: center;
		    text-align: center;
		    gap: 12px;
		    max-width: none;
        }

        .company-logo {
            width: 100px; /*120px*/
            height: 100px; /*120px*/
            background: var(--white);
            border-radius: 50%;
            display: flex;
            justify-content: center;
            align-items: center;
            margin-bottom: 26px;
            box-shadow: var(--shadow-md);
            position: relative;
            z-index: 1;
            flex-shrink: 0;
        }

        .company-logo svg { /*svg */
            width: 60px; /*70px*/
            height: 60px; /*70px*/
		    object-fit: contain;
		    display: block
        }

        .login-image h1 {
            font-size: 28px;
            margin-bottom: 12px;
            font-weight: 600;
            text-align: center;
            position: relative;
            z-index: 1;
			text-shadow:
				0 2px 6px rgba(0, 0, 0, 0.38),
				0 8px 18px rgba(0, 0, 0, 0.22);
        }

        .login-image p {
            font-size: 14px;
            opacity: 0.92;
            text-align: center;
            line-height: 1.55;
            position: relative;
            z-index: 1;			
			text-shadow:
				0 1px 4px rgba(0, 0, 0, 0.34),
				0 6px 14px rgba(0, 0, 0, 0.18);
        }

        /* 수정: brand-content 안에서는 좌측 정렬 */
        .brand-content .company-logo {
            margin-bottom: 22px;
        }

        .brand-content h1,
        .brand-content p {
            text-align: center;
        }

		.brand-text-panel {
			display: inline-block;
			max-width: 320px;
			padding: 16px 18px 15px;
			border-radius: 14px;
			background:
				repeating-linear-gradient(
					135deg,
					rgba(128, 128, 128, 0.125) 0px,
					rgba(128, 128, 128, 0.125) 2px,
					transparent 2px,
					transparent 8px
				),
				linear-gradient(
					180deg,
					rgba(18, 28, 46, 0.62) 0%,
					rgba(18, 28, 46, 0.54) 100%
				);
			border: 1px solid rgba(255, 255, 255, 0.10);
			box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
			backdrop-filter: blur(3px);
			-webkit-backdrop-filter: blur(3px);
		}

        .login-form-wrapper {
            flex: 1;
            padding: 48px 44px;
            display: flex;
            flex-direction: column;
            justify-content: center;
        }

        .login-form-wrapper h2 {
            color: var(--primary);
            font-size: 32px;
            margin-bottom: 10px;
            font-weight: 700;
            line-height: 1.2;
        }

        .login-form-wrapper .subtitle {
            color: var(--text-sub);
            margin-bottom: 32px;
            font-size: 14px;
            line-height: 1.45;
        }

        .form-group {
            margin-bottom: 14px;
        }

        .form-group:last-of-type {
            margin-bottom: 16px;
        }

        .form-group label {
            display: block;
            margin-bottom: 6px;
            color: var(--text-main);
            font-weight: 600;
            font-size: 14px;
            line-height: 1.35;
        }

        .form-group input {
            width: 100%;
            padding: 14px 15px;
            border: 2px solid var(--border);
            border-radius: var(--radius-md);
            font-size: 15px;
            transition: border-color var(--transition), box-shadow var(--transition), background-color var(--transition);
            outline: none;
            color: var(--text-main);
            background: var(--white);
        }

        .form-group input::placeholder {
            color: #a8a8a8;
        }

        .form-group input:hover {
            border-color: #cfcfcf;
        }

        .form-group input:focus,
        .form-group input:focus-visible {
            border-color: var(--border-focus);
            box-shadow: 0 0 0 3px rgba(42, 82, 152, 0.12);
        }

        .form-group input[aria-invalid="true"] {
            border-color: var(--danger);
            box-shadow: 0 0 0 3px rgba(255, 59, 48, 0.12);
        }

        .field-error {
            min-height: 16px;
            margin-top: 6px;
            color: var(--danger);
            font-size: 12px;
            line-height: 1.35;
            visibility: hidden;
        }

        .field-error.active {
            visibility: visible;
        }

        .login-btn {
            width: 100%;
            padding: 15px;
            background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
            color: var(--white);
            border: none;
            border-radius: var(--radius-md);
            font-size: 16px;
            font-weight: 700;
            cursor: pointer;
            transition: transform var(--transition), box-shadow var(--transition), opacity var(--transition), filter var(--transition);
            margin-top: 4px;
            min-height: 52px;
        }

        .login-btn:hover {
            transform: translateY(-2px);
            box-shadow: var(--shadow-accent);
        }

        .login-btn:active {
            transform: translateY(0);
        }

        .login-btn:focus-visible,
        .modal-close-btn:focus-visible {
            outline: 3px solid rgba(42, 82, 152, 0.22);
            outline-offset: 3px;
        }

        .login-btn[disabled] {
            cursor: not-allowed;
            opacity: 0.82;
            transform: none;
            box-shadow: none;
            filter: saturate(0.9);
        }

        .help-text {
            text-align: center;
            margin-top: 16px;
            color: var(--text-sub);
            font-size: 13px;
            line-height: 1.5;
        }

        .help-text strong {
            color: var(--primary);
            font-weight: 700;
        }

        /* 모달 */
        .modal-overlay {
            display: none;
            position: fixed;
            inset: 0;
            background: rgba(0, 0, 0, 0.6);
            z-index: 1000;
            justify-content: center;
            align-items: center;
            animation: fadeIn 0.3s ease;
            padding: 20px;
        }

        .modal-overlay.active {
            display: flex;
        }

        .modal-content {
            background: var(--white);
            border-radius: var(--radius-lg);
            padding: 40px;
            max-width: 450px;
            width: 100%;
            box-shadow: var(--shadow-lg);
            animation: slideUp 0.3s ease;
            text-align: center;
        }

        .modal-icon {
            width: 70px;
            height: 70px;
            background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
            border-radius: 50%;
            display: flex;
            justify-content: center;
            align-items: center;
            margin: 0 auto 25px;
        }

        .modal-icon svg {
            width: 35px;
            height: 35px;
            stroke: var(--white);
        }

        .modal-content h3 {
            color: var(--primary);
            font-size: 22px;
            margin-bottom: 20px;
            font-weight: 700;
        }

        .modal-content p {
            color: var(--text-sub);
            line-height: 1.75;
            margin-bottom: 30px;
            font-size: 15px;
        }

        .modal-close-btn {
            background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
            color: var(--white);
            border: none;
            padding: 12px 40px;
            border-radius: var(--radius-md);
            font-size: 15px;
            font-weight: 700;
            cursor: pointer;
            transition: transform var(--transition), box-shadow var(--transition);
            min-height: 48px;
        }

        .modal-close-btn:hover {
            transform: translateY(-2px);
            box-shadow: var(--shadow-primary);
        }

        .modal-close-btn:active {
            transform: translateY(0);
        }

        @keyframes fadeIn {
            from { opacity: 0; }
            to   { opacity: 1; }
        }

        @keyframes slideUp {
            from {
                transform: translateY(40px);
                opacity: 0;
            }
            to {
                transform: translateY(0);
                opacity: 1;
            }
        }

        /* 태블릿 */
        @media (max-width: 1024px) {
            .login-container {
                width: 95%;
            }

            .login-image {
                padding: 48px 30px;
                border-radius: var(--radius-xl) 0 0 var(--radius-xl);
            }

            /* 수정: 태블릿에서도 브랜드 블록만 위치 보정 */
            .brand-content {
                left: 30px;
                bottom: 42px;
		    	max-width: none;
            }

			.company-logo {
                width: 72px;
                height: 72px;
                margin-bottom: 18px;
            }

            .company-logo svg { /* svg */
                width: 40px;
                height: 40px;
			    object-fit: contain;
			    display: block
            }
			
            .login-form-wrapper {
                padding: 42px 36px;
            }
        }

        /* 모바일 */
        @media (max-width: 768px) {
            body {
                padding: 15px;
                min-height: 100vh;
                min-height: 100dvh;
                padding-top: 24px;
                padding-bottom: 24px;
            }

            .bg-decoration::before {
                width: 300px;
                height: 300px;
                top: -100px;
                right: -100px;
            }

            .bg-decoration::after {
                width: 250px;
                height: 250px;
                bottom: -100px;
                left: -100px;
            }

            .login-container {
                flex-direction: column;
                width: 100%;
                max-width: 500px;
                margin: auto;
            }

            .login-image {
                padding: 32px 25px;
                border-radius: var(--radius-xl) var(--radius-xl) 0 0;
                min-height: 260px;
                justify-content: flex-end;
            }

            .login-image::before {
                width: 150px;
                height: 150px;
                top: -40px;
                right: -40px;
            }

            /* 수정: 모바일에서는 아래 여백에 맞춰 브랜드 블록 위치만 재배치 */
            .brand-content {
                position: absolute;
                left: 18px;
                right: 18px;
                bottom: 18px;
                margin-top: 0;
                margin-bottom: 0;
                display: flex;
                flex-direction: row;
                align-items: flex-end;
                justify-content: flex-start;
                gap: 12px;
                max-width: none;
                text-align: center;
            }

            .brand-content h1,
            .brand-content p {
                text-align: center;
            }

            .company-logo {
                width: 72px;
                height: 72px;
                margin-bottom: 18px;
            }

            .company-logo svg { /* svg */
                width: 40px;
                height: 40px;
			    object-fit: contain;
			    display: block
            }

            .login-image h1 {
                font-size: 22px;
                margin-bottom: 8px;
            }

            .login-image p {
                font-size: 14px;
            }

            .brand-text-panel {
                max-width: calc(100% - 84px);
            }

            .brand-text-panel h1 {
                font-size: 20px;
                margin-bottom: 6px;
            }
        
            .brand-text-panel p {
                font-size: 12px;
                line-height: 1.4;
            }

            .login-form-wrapper {
                padding: 30px 24px;
            }

            .login-form-wrapper h2 {
                font-size: 26px;
                margin-bottom: 8px;
            }

            .login-form-wrapper .subtitle {
                font-size: 13px;
                margin-bottom: 26px;
            }

            .form-group {
                margin-bottom: 12px;
            }

            .form-group label {
                font-size: 13px;
                margin-bottom: 5px;
            }

            .form-group input {
                padding: 13px;
                font-size: 14px;
            }

            .field-error {
                min-height: 15px;
                font-size: 11px;
                margin-top: 5px;
            }

            .login-btn {
                padding: 14px;
                font-size: 15px;
                margin-top: 4px;
            }

            .help-text {
                margin-top: 14px;
                font-size: 12px;
                line-height: 1.45;
            }

            .modal-overlay {
                padding: 15px;
                align-items: center;
            }

            .modal-content {
                padding: 30px 25px;
                max-width: 100%;
            }

            .modal-icon {
                width: 60px;
                height: 60px;
                margin-bottom: 20px;
            }

            .modal-icon svg {
                width: 30px;
                height: 30px;
            }

            .modal-content h3 {
                font-size: 19px;
                margin-bottom: 15px;
            }

            .modal-content p {
                font-size: 14px;
                line-height: 1.7;
                margin-bottom: 25px;
            }

            .modal-close-btn {
                width: 100%;
                padding: 12px 35px;
                font-size: 14px;
            }
        }

        /* 소형 모바일 */
        @media (max-width: 480px) {
            body {
                padding: 10px;
                padding-top: 18px;
                padding-bottom: 18px;
            }

            .login-image {
                min-height: 230px;
                padding: 24px 18px;
            }

            /* 수정: 소형 모바일 위치 미세 조정 */
            .brand-content {
                max-width: 100%;
                left: 16px;
                right: 16px;
                bottom: 16px;
                gap: 10px;
            }

            .company-logo {
                width: 64px;
                height: 64px;
            }

            .company-logo svg { /* svg */
                width: 36px;
                height: 36px;
			    object-fit: contain;
			    display: block
            }

            .brand-text-panel {
                max-width: calc(100% - 74px);
                padding: 12px 14px;
            }
        
            .brand-text-panel h1 {
                font-size: 18px;
            }
        
            .brand-text-panel p {
                font-size: 11px;
                line-height: 1.35;
            }

            .login-image h1 {
                font-size: 20px;
            }

            .login-image p {
                font-size: 13px;
            }

            .login-form-wrapper {
                padding: 26px 20px;
            }

            .login-form-wrapper h2 {
                font-size: 24px;
            }

            .login-form-wrapper .subtitle {
                font-size: 12px;
                margin-bottom: 26px;
            }

            .modal-content {
                padding: 25px 20px;
            }

            .modal-content h3 {
                font-size: 17px;
            }

            .modal-content p {
                font-size: 13px;
            }
        }

        /* 모바일 가로모드 */
        @media (max-width: 768px) and (orientation: landscape) {
            body {
                align-items: center;
                padding-top: 12px;
                padding-bottom: 12px;
            }

            .login-image {
                padding: 24px 20px;
            }

            /* 수정: 가로모드에서도 브랜드 블록만 위치 보정 */
            .brand-content {
                left: 20px;
                bottom: 18px;
                max-width: 200px;
            }

            .company-logo {
                width: 70px;
                height: 70px;
                margin-bottom: 14px;
            }

            .company-logo svg { /* svg */
                width: 40px;
                height: 40px;
			    object-fit: contain;
			    display: block
            }

            .login-image h1 {
                font-size: 18px;
                margin-bottom: 7px;
            }

            .login-image p {
                font-size: 12px;
            }

            .login-form-wrapper {
                padding: 22px 20px;
            }

            .login-form-wrapper h2 {
                font-size: 22px;
            }

            .login-form-wrapper .subtitle {
                margin-bottom: 20px;
            }

            .form-group {
                margin-bottom: 10px;
            }

            .form-group input {
                padding: 11px;
            }

            .help-text {
                margin-top: 12px;
            }
        }

        @media (prefers-reduced-motion: reduce) {
            * {
                animation: none !important;
                transition: none !important;
                scroll-behavior: auto !important;
            }

            .login-btn:hover,
            .modal-close-btn:hover {
                transform: none;
            }
        }
