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

body {
    font-family: 'Montserrat', sans-serif;
    color: white;
    background-color: #0b0f19; /* Fallback */
    height: 100vh;
    width: 100vw;
    overflow: hidden;
}

.split-container {
    display: flex;
    height: 100vh;
    width: 100vw;
}

/* LEFT SIDE */
.login-left {
    flex: 1;
    position: relative;
    background-color: #0d121c;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.login-video-bg {
    position: absolute;
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%;
    object-fit: cover;
    z-index: 0;
    opacity: 1; /* Made video fully opaque to be more visible */
}

.login-left-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle at center, rgba(10, 15, 25, 0.4) 0%, rgba(10, 15, 25, 0.8) 100%);
    z-index: 1;
}

.login-left-content {
    position: relative;
    z-index: 2;
    padding: 40px 60px;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.login-header {
    display: flex;
    align-items: center;
    gap: 15px;
}

.back-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(250, 86, 85, 0.1);
    transition: background-color 0.3s ease;
}

.back-btn:hover {
    background-color: rgba(250, 86, 85, 0.2);
}

.logo-text {
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: 2px;
}

.highlight-red {
    color: #FA5655;
}

.left-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 600px;
}

.huge-title {
    font-size: 5rem;
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -2px;
    margin-bottom: 20px;
}

.description {
    color: #a0aabf;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 50px;
}

.features-grid {
    display: flex;
    gap: 30px;
}

.feature-item {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(250, 86, 85, 0.1);
    width: 40px;
    height: 40px;
    border-radius: 8px;
    flex-shrink: 0;
}

.feature-text h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 5px;
    color: #fff;
}

.feature-text p {
    font-size: 0.75rem;
    color: #8892b0;
    line-height: 1.4;
}

.left-footer {
    display: flex;
    align-items: center;
}

.system-status {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2px;
}

.status-dot {
    width: 8px;
    height: 8px;
    background-color: #FA5655;
    border-radius: 50%;
    box-shadow: 0 0 10px #FA5655;
}

.status-label {
    color: #8892b0;
}

.status-value {
    color: #00ffcc; /* Cyan color from image */
}

.bottom-left-drawer {
    position: absolute;
    left: 0;
    bottom: 30px;
    transform: translateX(calc(-100% + 40px));
    display: flex;
    align-items: center;
    background-color: #141414;
    border: 1px solid #FA5655;
    border-left: none;
    border-radius: 0 8px 8px 0;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: 50px;
    z-index: 1000;
}

.bottom-left-drawer.open {
    transform: translateX(0);
}

.bottom-left-content {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 15px;
    text-decoration: none;
    color: white;
    height: 100%;
}

.bottom-left-content span {
    font-size: 0.9rem;
    letter-spacing: 2px;
    font-weight: 800;
}

.bottom-left-drawer-btn {
    width: 40px;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    border-left: 1px solid #333;
    cursor: pointer;
}

.bottom-left-drawer-btn svg {
    transition: transform 0.4s ease;
}

.bottom-left-drawer.open .bottom-left-drawer-btn svg {
    transform: rotate(180deg);
}

.language-menu {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    background-color: #1a1a1a;
    border: 1px solid #FA5655;
    border-radius: 6px;
    padding: 20px 25px;
    display: none;
    flex-direction: column;
    gap: 20px;
    z-index: 100;
    min-width: 140px;
}

.language-menu.show {
    display: flex;
}

.language-menu.bottom-menu {
    top: auto;
    bottom: calc(100% + 10px);
    left: 0;
    right: auto;
}

.lang-option {
    color: #888;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1px;
    cursor: pointer;
    transition: color 0.2s ease;
}

.lang-option:hover {
    color: #fff;
}

.lang-option.active {
    color: #FA5655;
}

/* RIGHT SIDE */
.login-right {
    width: 450px; /* Fixed width or flex basis */
    flex-basis: 500px;
    background-color: #0f131a;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
}

.login-card {
    background-color: #151a23;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    width: 100%;
    max-width: 400px;
    padding: 40px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    position: relative;
    z-index: 2;
}

.card-header {
    text-align: center;
    margin-bottom: 35px;
}

.shield-icon-container {
    width: 50px;
    height: 50px;
    background-color: rgba(250, 86, 85, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.card-header h2 {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 10px;
}

.card-header p {
    font-size: 0.9rem;
    color: #8892b0;
}

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

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: #ccd6f6;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon {
    position: absolute;
    left: 15px;
}

.input-wrapper input {
    width: 100%;
    background-color: #0f131a;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 12px 15px 12px 45px;
    color: white;
    font-size: 0.9rem;
    font-family: inherit;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.input-wrapper input:focus {
    outline: none;
    border-color: #FA5655;
    box-shadow: 0 0 0 3px rgba(250, 86, 85, 0.2);
}

.toggle-password {
    position: absolute;
    right: 15px;
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    font-size: 0.8rem;
}

.remember-me {
    display: flex;
    align-items: center;
    cursor: pointer;
    position: relative;
    padding-left: 25px;
    color: #ccd6f6;
}

.remember-me input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    height: 16px;
    width: 16px;
    background-color: #FA5655;
    border-radius: 4px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
    left: 5px;
    top: 2px;
    width: 4px;
    height: 8px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.remember-me input:checked ~ .checkmark:after {
    display: block;
}

.forgot-pw {
    color: #FA5655;
    text-decoration: none;
    font-weight: 600;
}

.forgot-pw:hover {
    text-decoration: underline;
}



.submit-btn {
    width: 100%;
    background-color: #FA5655;
    color: white;
    border: none;
    border-radius: 8px;
    padding: 14px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    transition: background-color 0.3s ease;
}

.submit-btn:hover {
    background-color: #ff3b3a;
}

.register-link {
    text-align: center;
    margin-top: 25px;
    font-size: 0.85rem;
    color: #8892b0;
}

.register-link a {
    color: #FA5655;
    text-decoration: none;
    font-weight: 600;
    margin-left: 5px;
}

.register-link a:hover {
    text-decoration: underline;
}

.security-notice {
    position: absolute;
    bottom: 30px;
    display: flex;
    align-items: center;
    gap: 10px;
    opacity: 0.6;
}

.notice-text {
    display: flex;
    flex-direction: column;
}

.notice-main {
    font-size: 0.75rem;
    color: #fff;
    font-weight: 600;
}

.notice-sub {
    font-size: 0.65rem;
    color: #8892b0;
}

/* Glow effect around card */
.login-right::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(250, 86, 85, 0.05) 0%, transparent 60%);
    z-index: 1;
    pointer-events: none;
}

/* Responsiveness */
@media (max-width: 1024px) {
    .huge-title {
        font-size: 4rem;
    }
    .features-grid {
        flex-direction: column;
        gap: 20px;
    }
}

.mobile-back-btn {
    display: none; /* Hidden on desktop */
    position: absolute;
    top: -15px;
    left: -15px;
    width: 40px;
    height: 40px;
    background-color: rgba(250, 86, 85, 0.1);
    border-radius: 50%;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    transition: background-color 0.3s ease;
    z-index: 100;
}

.mobile-back-btn:hover {
    background-color: rgba(250, 86, 85, 0.2);
}

@media (max-width: 768px) {
    .split-container {
        flex-direction: column;
    }
    .login-left {
        display: none; /* Hide left side on mobile for a clean login */
    }
    .login-right {
        width: 100%;
        flex-basis: 100%;
    }
    .mobile-back-btn {
        display: flex;
    }
}

/* HIDE GOOGLE TRANSLATE BANNER */
.goog-te-banner-frame.skiptranslate,
.goog-te-banner-frame,
.goog-te-banner,
#goog-gt-tt,
.goog-te-balloon-frame,
iframe.goog-te-banner-frame,
iframe[id*="translate"],
.goog-tooltip,
.goog-tooltip:hover {
    display: none !important;
}
body {
    top: 0 !important;
    position: static !important;
}
html {
    margin-top: 0 !important;
}
.goog-text-highlight {
    background-color: transparent !important;
    box-shadow: none !important;
}
