:root {
    --first-color: #58BAF9;
    --font-color: #333;
}

body {
    background-color: #f5f5f5;
    min-height: 100vh;
    position: relative;
}

body:before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/system/bg.jpg');
    background-size: cover;
    background-position: center center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    filter: blur(5px) ;
    pointer-events: none;
    z-index: 0;
}

body:after {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.3);
    pointer-events: none;
    z-index: 1;
}

.section {
    padding: 40px 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 2;
}

/* -----------------------------------------------------------------------------------------------------------------------------------
===== CONTENT
----------------------------------------------------------------------------------------------------------------------------------- */

.content {
    height: calc(100vh - 150px);
}

.validation-form-label {
    color: #FF0000;
    font-size: .815rem;
}

/* -----------------------------------------------------------------------------------------------------------------------------------
===== CONTENT LOGIN
----------------------------------------------------------------------------------------------------------------------------------- */

.content .content-sj-login {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* -----------------------------------------------------------------------------------------------------------------------------------
===== CONTENT INNER
----------------------------------------------------------------------------------------------------------------------------------- */

.content .content-sj-login .content-sj-inner {
    width: 50%;
    position: relative;
}

/* -----------------------------------------------------------------------------------------------------------------------------------
===== CONTENT LAST
----------------------------------------------------------------------------------------------------------------------------------- */

.content .content-sj-login .content-sj-inner .content-sj-last {
    width: 80%;
    margin: 0 auto;
    padding: 40px;
    background: rgba(255, 255, 255);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.15),
        0 12px 24px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.content .content-sj-login .content-sj-inner .content-sj-last:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.3), transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.2), transparent 50%);
    pointer-events: none;
}

.content .content-sj-login .content-sj-inner .content-sj-last .content-sj-title {
    font-size: 2.5rem;
    font-weight: 800;
    text-align: center;
    margin-top: 0;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #6f42c1, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    z-index: 2;
}

.content .content-sj-login .content-sj-inner .content-sj-last .content-sj-version {
    color: #6b7280;
    font-size: 0.9rem;
    font-weight: 600;
    text-align: center;
    margin-top: 0.5rem;
    margin-bottom: 2rem;
    position: relative;
    z-index: 2;
}

/* -----------------------------------------------------------------------------------------------------------------------------------
===== CONTENT LAST INPUT
----------------------------------------------------------------------------------------------------------------------------------- */

.content .content-sj-login .content-sj-inner .content-sj-last .input-sj-icon {
    position: relative;
    z-index: 2;
}

.content .content-sj-login .content-sj-inner .content-sj-last .input-sj-icon i {
    font-size: 1.2rem;
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #9ca3af;
    transition: all 0.3s ease;
    z-index: 3;
}

.content .content-sj-login .content-sj-inner .content-sj-last .input-sj-icon input[type=text],
.content .content-sj-login .content-sj-inner .content-sj-last .input-sj-icon input[type=password] {
    width: 100%;
    font-size: 1rem;
    font-weight: 500;
    border: 2px solid rgba(229, 231, 235, 0.6);
    border-radius: 16px;
    outline: none;
    padding: 18px 20px 18px 56px;
    box-sizing: border-box;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    color: #374151;
}

.content .content-sj-login .content-sj-inner .content-sj-last .input-sj-icon input[type=text]::placeholder,
.content .content-sj-login .content-sj-inner .content-sj-last .input-sj-icon input[type=password]::placeholder {
    color: rgba(107, 114, 128, 0.6);
}

.content .content-sj-login .content-sj-inner .content-sj-last .input-sj-icon input[type=text]:focus,
.content .content-sj-login .content-sj-inner .content-sj-last .input-sj-icon input[type=password]:focus {
    border-color: #6f42c1;
    box-shadow: 0 0 0 4px rgba(111, 66, 193, 0.1), 0 4px 12px rgba(111, 66, 193, 0.2);
    background: rgba(255, 255, 255, 0.8);
    transform: translateY(-2px);
}

.content .content-sj-login .content-sj-inner .content-sj-last .input-sj-icon input[type=text]:focus + i,
.content .content-sj-login .content-sj-inner .content-sj-last .input-sj-icon input[type=password]:focus + i {
    color: #6f42c1;
    transform: translateY(-50%) scale(1.1);
}

.content .content-sj-login .content-sj-inner .content-sj-last .btn-sj-login {
    width: 100%;
    padding: 18px 24px;
    border-radius: 16px;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
    font-size: 1.1rem;
    background: linear-gradient(135deg, #6f42c1, #8b5cf6);
    border: none;
    color: white;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 24px rgba(111, 66, 193, 0.3);
    position: relative;
    z-index: 2;
    overflow: hidden;
}

.content .content-sj-login .content-sj-inner .content-sj-last .btn-sj-login:before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.content .content-sj-login .content-sj-inner .content-sj-last .btn-sj-login:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(111, 66, 193, 0.4);
    background: linear-gradient(135deg, #5a359a, #6f42c1);
}

.content .content-sj-login .content-sj-inner .content-sj-last .btn-sj-login:hover:before {
    left: 100%;
}

.content .content-sj-login .content-sj-inner .content-sj-last .btn-sj-login:active {
    transform: translateY(-1px);
}

.content .content-sj-login .content-sj-inner .content-sj-last .content-tnw-resetpassword {
    color: #333;
    font-size: .875rem;
    font-weight: 500;
    margin-top: 2rem;
    margin-bottom: 1rem;
    text-decoration: none;
    cursor: pointer;
}

.content .content-sj-login .content-sj-inner .content-sj-last .content-tnw-testlogin {
    font-size: .875rem;
    font-weight: 500;
    margin-top: 2rem;
    margin-bottom: 1rem;
    text-decoration: none;
    cursor: pointer;
}

@media screen and (max-width: 1399px) {
    .content .content-sj-login .content-sj-inner .content-sj-last {
        width: 70%;
        padding: 36px;
    }
}

@media screen and (max-width: 1199px) {
    .content .content-sj-login .content-sj-inner .content-sj-last {
        width: 80%;
        padding: 32px;
    }
}

@media screen and (max-width: 991px) {
    .content {
        min-height: calc(100vh - 120px);
    }

    .content .content-sj-login {
        flex-direction: column;
    }

    .content .content-sj-login .content-sj-inner:first-child:after {
        content: none;
    }

    .content .content-sj-login .content-sj-inner {
        width: 100%;
        margin: 0 auto 3rem;
    }
    
    .content .content-sj-login .content-sj-inner .content-sj-last {
        width: 90%;
        padding: 28px;
    }
}

@media screen and (max-width: 767px) {
    .section {
        padding: 20px 0;
    }

    .content .content-sj-login .content-sj-inner {
        width: 100%;
    }

    .content .content-sj-login .content-sj-inner .content-sj-last {
        width: 95%;
        padding: 24px;
        border-radius: 20px;
    }

    .content .content-sj-login .content-sj-inner .content-sj-last .content-sj-title {
        font-size: 2.2rem;
    }
    
    .content .content-sj-login .content-sj-inner .content-sj-last .input-sj-icon input[type=text],
    .content .content-sj-login .content-sj-inner .content-sj-last .input-sj-icon input[type=password] {
        padding: 16px 18px 16px 52px;
        border-radius: 14px;
    }
    
    .content .content-sj-login .content-sj-inner .content-sj-last .btn-sj-login {
        padding: 16px 20px;
        border-radius: 14px;
        font-size: 1rem;
    }
}