:root {
    --red: #d6312f;
    --white: #ffffff;
}

/* RESET */
html,
body {
    width: 100%;
    height: 100%;
    margin: 0;
    overflow: hidden;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

/* BACKGROUND */
.tritorc_core-bg-video-container {
    position: fixed;
    inset: 0;
    z-index: -3;
    overflow: hidden;
}

.tritorc_core-video-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tritorc_core-video-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
}

/* PARTICLES */
.tritorc_core-particles {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

/* MAIN LAYOUT */
.tritorc_core-wrapper {
    position: relative;
    height: calc(100vh - 70px);
    max-width: 1400px;
    margin: auto;
    padding: 0 80px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 120px;

    transform: translateY(-70px);

    z-index: 1;
    color: white;
}

/* BRAND PROMISE */
.tritorc_core-left {
    flex: 1;
    max-width: 420px;
    color: #ffffff !important;
}

.tritorc_core-left h1 {
    font-size: 36px;
    letter-spacing: 4px;
    margin-bottom: 16px;
    text-transform: uppercase;
    font-weight: 600;

    color: #ffffff !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.45);
}

.tritorc_core-left p {
    font-size: 16px;
    line-height: 1.6;
    opacity: 0.95;

    color: #ffffff !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.45);
}

/* LOGIN SIDE */
.tritorc_core-right {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* LOGIN CARD */
.page-card {
    width: 380px;
    border-radius: 18px;
    position: relative;
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.25);
}

/* LOGO */
.tritorc_core-logo-image {
    max-width: 80%;
    display: block;
    margin: 0 auto 16px;
}

/* BUTTON */
.page-card .btn-primary {
    background: linear-gradient(135deg, var(--red), #b71f1c);
    border-radius: 999px;
}

/* FOOTER */
.tritorc_core-footer {
    position: fixed;
    bottom: 0;
    inset-inline: 0;
    height: 60px;

    display: flex;
    align-items: center;
    padding: 0 40px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);

    font-size: 14px;
    z-index: 10;
}

.footer-left,
.footer-center,
.footer-right {
    flex: 1;
}

.footer-center {
    text-align: center;
}

.footer-right {
    text-align: right;
}

.tritorc_core-footer a {
    color: var(--red);
    font-weight: 600;
    text-decoration: none;
}

.tritorc_core-footer img {
    height: 20px;
    width: auto;
    object-fit: contain;
}

/* MOBILE */
@media (max-width: 900px) {
    .tritorc_core-wrapper {
        flex-direction: column;
        gap: 40px;
        padding: 0 24px;
    }

    .tritorc_core-left {
        text-align: center;
    }
}

/* FORCE HIDE DEFAULT HEADER ON LOGIN ONLY */
body.tritorc_core-ultra .navbar,
body.tritorc_core-ultra .navbar-default,
body.tritorc_core-ultra .navbar-inverse,
body.tritorc_core-ultra .header,
body.tritorc_core-ultra .top-bar,
body.tritorc_core-ultra .site-header,
body.tritorc_core-ultra .breadcrumb,
body.tritorc_core-ultra .login-logo,
body.tritorc_core-ultra .app-logo,
body.tritorc_core-ultra .brand-logo,
body.tritorc_core-ultra .frappe-logo,
.page-login .navbar,
.page-login .header,
.page-login .site-header,
[data-route="login"] .navbar,
[data-route="login"] .header {
    display: none !important;
}

/* ===== HIDE FORGOT PASSWORD LINK ===== */
.page-card .forgot-password,
.page-card a[href*="forgot"] {
    display: none !important;
}