        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
			body, .login-screen {
				background-color: #000 !important; /* 다크 배경 유지하되 */
				color: #fff !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: #000;
            color: white;
            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: #000;
    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: #000;
			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 #333;
            border-radius: 12px;
            background: #1a1a1a;
            color: white;
            font-size: 16px;
            transition: all 0.3s ease;
        }

        .input-field:focus {
            outline: none;
            border-color: #28e15a;
            box-shadow: 0 0 0 3px rgba(40, 225, 90, 0.1);
        }

        .input-field::placeholder {
            color: #888;
        }

        .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: #ffffff;
            color: #000;
        }

        .secondary-btn {
            background: #2d2c2c;
            color: white;
            border: 2px solid #333;
        }

        .login-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(0,0,0,0.3);
        }

        .primary-btn:hover {
            background: #20c44d;
        }

        .secondary-btn:hover {
            background: #1a1a1a;
            border-color: #555;
        }

        .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.3));
        }
.country-flags a,
.country-flags .flag-item {
    text-decoration: none;   /* 🔹 밑줄 제거 */
    color: white;            /* 🔹 글자 색 흰색 */
}

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

        .forgot-password a {
            color: #28e15a;
            text-decoration: none;
            font-size: 14px;
        }

        .forgot-password a:hover {
            color: #ffffff;
        }



        @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: #000;
    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;
}