@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

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

body.bts-login-split {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: #ffffff;
    min-height: 100vh;
    overflow: hidden;
    width: 100vw;
}

.bts-login-split .login-fullscreen-container {
    display: flex;
    width: 100vw;
    height: 100vh;
    position: relative;
}

.bts-login-split .login-left {
    flex: 0.9;
    padding: 60px 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    background: #ffffff;
}

.bts-login-split .login-left-inner {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
}

/* Mobile / tablet: logo + BTS when right panel is hidden */
.bts-login-split .login-mobile-brand {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-bottom: 28px;
    text-align: left;
}

.bts-login-split .login-mobile-brand__logo {
    height: 52px;
    width: auto;
    flex-shrink: 0;
    filter: drop-shadow(0 2px 6px rgba(19, 15, 64, 0.12));
}

.bts-login-split .login-mobile-brand__text {
    min-width: 0;
}

.bts-login-split .login-mobile-brand__name {
    font-size: 28px;
    font-weight: 700;
    color: #130f40;
    letter-spacing: 0.5px;
    line-height: 1.1;
    margin: 0 0 4px;
}

.bts-login-split .login-mobile-brand__tagline {
    font-size: 12px;
    font-weight: 500;
    color: #64748b;
    line-height: 1.35;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.bts-login-split .form-title {
    font-size: 32px;
    font-weight: 700;
    color: #130f40;
    margin-bottom: 8px;
    text-align: center;
}

.bts-login-split .form-subtitle {
    font-size: 15px;
    color: #64748b;
    margin-bottom: 45px;
    font-weight: 300;
    text-align: center;
}

.bts-login-split .alert-info-top {
    background-color: #fee2e2;
    border: 1px solid #fecaca;
    color: #991b1b;
    padding: 12px 15px;
    border-radius: 8px;
    font-size: 13px;
    margin-bottom: 25px;
    font-weight: 500;
}

.bts-login-split .input-group-line {
    display: flex;
    align-items: center;
    border-bottom: 2px solid #e2e8f0;
    padding: 12px 4px;
    margin-bottom: 28px;
    transition: border-bottom-color 0.25s ease;
    position: relative;
}

.bts-login-split .input-group-line:focus-within {
    border-bottom-color: #2563eb;
}

.bts-login-split .input-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    margin-right: 12px;
}

.bts-login-split .input-group-line input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 16px;
    color: #1e293b;
    font-family: inherit;
    background: transparent;
}

.bts-login-split .input-group-line input::placeholder {
    color: #94a3b8;
    font-weight: 300;
}

.bts-login-split .btn-show-pass {
    cursor: pointer;
    color: #94a3b8;
    display: flex;
    align-items: center;
    transition: color 0.2s;
    padding-left: 8px;
}

.bts-login-split .btn-show-pass:hover {
    color: #2563eb;
}

.bts-login-split .validation-error {
    color: #ef4444;
    font-size: 13px;
    margin-top: -20px;
    margin-bottom: 20px;
    text-align: left;
    font-weight: 500;
    display: none;
}

.bts-login-split .btn-submit {
    width: 100%;
    height: 52px;
    background: #2563eb;
    border: none;
    border-radius: 12px;
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s, transform 0.1s;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 15px;
}

.bts-login-split .btn-submit:hover {
    background: #1d4ed8;
}

.bts-login-split .btn-submit:active {
    transform: scale(0.98);
}

.bts-login-split .login-right {
    flex: 1.1;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 40px;
    color: #ffffff;
    overflow: hidden;
}

.bts-login-split .right-bg-svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.bts-login-split .right-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0 60px;
    max-width: 520px;
}

.bts-login-split .right-logo-container {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 5px;
}

.bts-login-split .right-logo-img {
    height: 56px;
    width: auto;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.15));
}

.bts-login-split .right-logo-text {
    font-size: 32px;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 0.5px;
    margin: 0;
    line-height: 1;
}

.bts-login-split .right-logo-text-accent {
    color: #94c4f5;
}

.bts-login-split .right-divider {
    border: 0;
    height: 4px;
    background: #2563eb;
    width: 70px;
    margin: 20px auto 35px auto;
    border-radius: 2px;
}

.bts-login-split .right-system-title {
    font-size: 22px;
    font-weight: 500;
    color: #ffffff;
    margin-bottom: 12px;
    line-height: 1.3;
    letter-spacing: 0.2px;
}

.bts-login-split .right-system-tagline {
    font-size: 14px;
    color: #cbd5e1;
    font-weight: 300;
    line-height: 1.5;
    margin-bottom: 45px;
}

.bts-login-split .right-tagline-accent {
    color: #38bdf8;
    font-weight: 500;
}

.bts-login-split .clock-widget {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 18px 36px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    text-align: center;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    margin-top: 10px;
    align-self: center;
}

.bts-login-split .clock-time {
    font-size: 30px;
    font-weight: 700;
    letter-spacing: 1px;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.bts-login-split .clock-date {
    font-size: 12px;
    font-weight: 400;
    opacity: 0.85;
    margin-top: 6px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.bts-login-split .loginLoader {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 100;
}

.bts-login-split .loaderInfo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #1e293b;
    width: 80%;
    max-width: 350px;
}

.bts-login-split .loader-spinner-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.bts-login-split .loader-spinner-container i {
    color: #2563eb;
}

.bts-login-split .loader-text {
    font-size: 16px;
    font-weight: 500;
}

.bts-login-split .loaderInfo .api-alert {
    font-size: 16px;
    color: #ef4444;
    margin-bottom: 20px;
    font-weight: 600;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    line-height: 1.4;
}

.bts-login-split .loaderInfo .api-alert i {
    font-size: 32px;
    color: #f59e0b;
}

.bts-login-split .loaderInfo .retry {
    background: #2563eb;
    border: none;
    color: white;
    padding: 10px 25px;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
}

.bts-login-split .loaderInfo .retry:hover {
    background: #1d4ed8;
    transform: translateY(-1px);
}

.bts-login-split .d-none {
    display: none !important;
}

@media (max-width: 900px) {
    body.bts-login-split {
        overflow: auto;
    }

    .bts-login-split .login-fullscreen-container {
        flex-direction: column;
        height: auto;
        min-height: 100vh;
    }

    .bts-login-split .login-right {
        display: none;
    }

    .bts-login-split .login-left {
        flex: 1;
        padding: 50px 30px;
        min-height: 100vh;
    }

    .bts-login-split .login-left-inner {
        justify-content: center;
        gap: 20px;
    }

    .bts-login-split .login-mobile-brand {
        display: flex;
    }
}
