        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
			/* [라이트 테마] 밝은 배경 + 진한 글씨 */
			body, .login-screen {
				background-color: #f5f8fd !important; /* 밝은 회백색 배경 */
				color: #0B2A4F !important;           /* 글씨는 진한 차콜색 */
			}
			.screen-wrapper {
				overflow:hidden;
			}

		.roboto-<uniquifier> {
		  font-family: "Roboto", sans-serif;
		  font-optical-sizing: auto;
		  font-weight: <weight>;
		  font-style: normal;
		  font-variation-settings:
			"wdth" 100;
		}

        body {
            font-family: "Roboto", sans-serif;
            background: #f5f8fd; /* [라이트] 밝은 배경 */
            color: #0B2A4F; /* [라이트] 진한 글씨 */
            overflow-x: hidden;
        }

        .container {
            max-width: 768px;
            margin: 0 auto;
            min-height: 100vh;
            position: relative;
        }
a {
    text-decoration: none !important;  /* 밑줄 제거 */
}
       .splash-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #f5f8fd; /* [라이트] 스플래시 배경도 밝게 */
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.splash-video {
    max-width: 90vw;
    max-height: 80vh;
    width: auto;
    height: auto;
    border-radius: 20px;
    object-fit: cover;
	pointer-events: none;
}

.btn-date_p {
	padding: 12px 14px;
	font-size: 14px;
	border: none;
	border-radius: 6px;
	color: #fff;
	font-weight: 500;
	cursor: pointer;
	transition: background 0.2s ease;
}

.btn-danger   { background-color: #e6604a; } 
.btn-primary   { background-color: #6366F1; }   /* Indigo */
.btn-success   { background-color: #10B981; }   /* Green */
.btn-info      { background-color: #3B82F6; }   /* Blue */
.btn-warning   { background-color: #F59E0B; }   /* Amber */
.btn-secondary { background-color: #6B7280; }   /* Gray */
.btn-dark      { background-color: #111827; }   /* Black-ish */

.btn-danger:hover   { background-color: #e6604a; }
.btn-primary:hover   { background-color: #4F46E5; }
.btn-success:hover   { background-color: #059669; }
.btn-info:hover      { background-color: #2563EB; }
.btn-warning:hover   { background-color: #D97706; }
.btn-secondary:hover { background-color: #4B5563; }
.btn-dark:hover      { background-color: #000000; }
        /* Login Screen */
        .login-screen {
            display: none;
			
			background: #f5f8fd; /* [라이트] 로그인 화면 배경 */
			flex-direction: column;
			justify-content: center;
			align-items: center;
			padding: 40px 30px;			
			transform: translateX(100%);
			transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
			 z-index: 999;
			width: 100%;			
			overflow-y: auto;
        }

        .login-screen.slide-in {
            transform: translateX(0);
        }

        /* 대시보드 전환 애니메이션 */
        .login-screen.slide-to-dashboard {
            transform: translateX(-100%);
        }

        .login-logo {
            margin:40px;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .login-logo img {  
            width: 100%;
            height: 100%;
            object-fit: contain;
            border-radius: 20px;
        }

        .login-form {
            width: 100%;
            max-width: 350px;
            display: flex;
            flex-direction: column;
            gap: 20px;
        }

        .input-group {
            position: relative;
        }

        .input-field {
            width: 100%;
            padding: 15px 20px;
            border: 2px solid #e5e7eb; /* [라이트] 연회색 테두리 */
            border-radius: 12px;
            background: #ffffff; /* [라이트] 흰색 입력창 */
            color: #0B2A4F; /* [라이트] 진한 입력 글씨 */
            font-size: 16px;
            transition: all 0.3s ease;
        }

        .input-field:focus {
            outline: none;
            border-color: #1A5CB0; /* [라이트] 로고 블루 포커스 */
            box-shadow: 0 0 0 3px rgba(26, 92, 176, 0.15);
        }

        .input-field::placeholder {
            color: #9ca3af; /* [라이트] 연한 회색 placeholder */
        }

        .login-buttons {
            display: flex;
            flex-direction: column;
            gap: 15px;
            margin-top: 10px;
        }

        .login-btn {
            padding: 15px 20px;
            border: none;
            border-radius: 12px;
            font-size: 16px;
            font-weight: 600;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
            transition: all 0.3s ease;
        }

        /* [라이트] 주 버튼: 로고와 어울리는 블루→네이비 그라데이션 */
        .primary-btn {
            background: linear-gradient(135deg, #1A5CB0 0%, #0B2A4F 100%);
            color: #ffffff;
        }

        /* [라이트] 보조 버튼: 흰 바탕 + 연회색 테두리 */
        .secondary-btn {
            background: #ffffff;
            color: #0B2A4F; /* [브랜드] 로고 네이비 글씨 */
            border: 2px solid #e5e7eb;
        }

        .login-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(0,0,0,0.08); /* [라이트] 그림자를 은은하게 */
        }

        .primary-btn:hover {
            background: linear-gradient(135deg, #E0267F 0%, #B8155F 100%); /* [라이트] hover 시 로고 핑크 */
        }

        .secondary-btn:hover {
            background: #f3f4f6; /* [라이트] 연회색 hover */
            border-color: #d1d5db;
        }

        .country-selector {
            margin-top: 15px;
            width: 100%;
            max-width: 350px;
        }

        .country-flags {
            display: flex;
            justify-content: center;
            align-items: center;
            flex-wrap: wrap;
            gap: 20px;
        }

        .flag-item {
            display: flex;
            flex-direction: column;
            align-items: center;
            cursor: pointer;
            transition: transform 0.3s ease;
        }

        .flag-item:hover {
            transform: scale(1.1);
        }

        .flag-emoji {
            font-size: 20px;
            filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1)); /* [라이트] 은은한 그림자 */
        }
.country-flags a,
.country-flags .flag-item {
    text-decoration: none;   /* 🔹 밑줄 제거 */
    color: #4b5563;          /* 🔹 [라이트] 글자 색 진회색 */
}

.country-flags a:hover,
.country-flags .flag-item:hover {
    opacity: 0.8;            /* 선택 시 약간 투명하게 (선택사항) */
}
        .forgot-password {
            text-align: center;
            margin-top: 10px;
        }

        .forgot-password a {
            color: #E0267F; /* [라이트] 핑크 링크 */
            text-decoration: none;
            font-size: 14px;
        }

        .forgot-password a:hover {
            color: #0B2A4F; /* [라이트] hover 시 진한 글씨 */
        }



        @media (max-width: 480px) {
            .container {
                width: 100%;
				overflow:hidden;
            }
            
            .splash-video {
               
				object-fit: contain;
            }
            
            .login-screen {
                padding: 30px 20px;
            }

            .login-form {
                max-width: 300px;
            }

            .country-selector {
                max-width: 300px;
            }

            .country-flags {
                gap: 15px;
            }

            .flag-emoji {
                font-size: 20px;
            }
        }

        @media (min-width: 481px) and (max-width: 768px) {
            .splash-video {
                max-width: 100vw;
                max-height: 70vh;
            }
        }

        @media (orientation: landscape) and (max-height: 600px) {
            .splash-video {
                max-height: 100vh;
                max-width: 40vw;
            }
        }
        
#loginform {
    width: 100%;
}
.input-group,
.input-field {
    width: 100%;
}

.login-form {
    max-width: 350px;
    margin: 0 auto;           /* ✅ 가운데 정렬 */
    width: 100%;
    padding: 0 20px;          /* ✅ 좌우 패딩 */
}

/* 회원가입 화면에서 스크롤 가능하게 만들기 */
.register-screen {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    min-height: 100vh;
    max-height: 100vh;
    overflow-y: auto;  /* ✅ 중요: 세로 스크롤 가능하게 */
    background: #f5f8fd; /* [라이트] 회원가입 화면 배경 */
    display: none;
    justify-content: flex-start;
    align-items: center;
    flex-direction: column;
    padding: 20px 10px;
    z-index: 9;
}

@keyframes slideFromRight {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

.slide-from-right {
    animation: slideFromRight 0.5s ease-in-out forwards;
}