/*==============================================================================
    PRAGOLA ERP
    ---------------------------------------------------------------------------
    Module      : Authentication
    File        : login.css
    Version     : 1.0.0
    Sprint      : 01
    Framework   : CodeIgniter 4
    Author      : OpenAI & Eet Wicaksono
==============================================================================*/
/******************************************************************************
    GOOGLE FONT
******************************************************************************/
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

/******************************************************************************
    CSS VARIABLE
******************************************************************************/
:root {
    /* Brand */
    --primary: #ff7a00;
    --primary-hover: #ff912f;
    --secondary: #252525;
    --dark: #121212;
    --dark-soft: #1f1f1f;
    --white: #ffffff;
    --light: #f5f7fb;
    --text: #444444;
    --text-light: #7b7b7b;
    --border: #e4e6eb;
    --danger: #dc3545;
    --success: #28a745;
    /* Radius */
    --radius-small: 8px;
    --radius: 12px;
    --radius-large: 18px;
    --radius-xl: 24px;
    /* Shadow */
    --shadow-small: 0 5px 18px rgba(0, 0, 0, .08);
    --shadow: 0 10px 35px rgba(0, 0, 0, .10);
    --shadow-large: 0 25px 70px rgba(0, 0, 0, .15);
    /* Transition */
    --transition: all .30s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background: var(--light);
    color: var(--text);
    overflow: hidden;
    height: 100vh;
}

a {
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

button {
    cursor: pointer;
    transition: var(--transition);
}

input {
    transition: var(--transition);
}

/******************************************************************************
    LOGIN PAGE
******************************************************************************/
.login-page {
    width: 100%;
    height: 100vh;
    display: flex;
    overflow: hidden;
    position: relative;
}

/******************************************************************************
    LEFT PANEL
******************************************************************************/
.left-panel {
    /* width:62.5%;
    position:relative;
    overflow:hidden;
    display:flex;
    justify-content:center;
    align-items:center; */

    width: 62.5%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}

/******************************************************************************
    BACKGROUND IMAGE
******************************************************************************/
.left-panel {
    background-image: url('../img/background/login-bg.png');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    animation: bgMove 35s ease-in-out infinite alternate;
}

/******************************************************************************
    OVERLAY
******************************************************************************/
.left-panel::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(rgba(0, 0, 0, .70),
            rgba(0, 0, 0, .60));
}

/******************************************************************************
    ABSTRACT LIGHT
******************************************************************************/
.left-panel::after {
    content: "";
    position: absolute;
    width: 850px;
    height: 850px;
    border-radius: 50%;
    background:
        radial-gradient(rgba(255, 122, 0, .18),
            transparent 70%);
    top: -280px;
    left: -180px;
    filter: blur(25px);
}

/******************************************************************************
    BACKGROUND ANIMATION
******************************************************************************/
@keyframes bgMove {
    0% {
        background-position: center center;
        transform: scale(1);
    }

    50% {
        background-position: center top;
        transform: scale(1.04);
    }

    100% {
        background-position: center center;
        transform: scale(1);
    }
}

/******************************************************************************
    DECORATION 1
******************************************************************************/
.circle-one {
    position: absolute;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, .08);
    top: -120px;
    right: -120px;
}

/******************************************************************************
    DECORATION 2
******************************************************************************/
.circle-two {
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, .05);
    bottom: -260px;
    left: -150px;
}

/******************************************************************************
    DECORATION 3
******************************************************************************/
.dot-pattern {
    position: absolute;
    right: 70px;
    bottom: 70px;
    width: 160px;
    height: 160px;
    background-image: radial-gradient(rgba(255, 255, 255, .20) 1px,
            transparent 1px);
    background-size: 18px 18px;
    opacity: .35;
}

/******************************************************************************
    CONTENT LAYER
******************************************************************************/
/* .brand-area{
    position:relative;
    z-index:10;
} */

.brand-area {
    /* position:absolute;
    left:40%;
    top:50%;
    transform:translate(-50%,-50%); */
}

/******************************************************************************
    BRAND AREA
******************************************************************************/
.brand-area {
    position: relative;
    z-index: 20;
    width: 100%;
    max-width: 680px;
    padding: 70px;
    color: var(--white);
    animation: fadeLeft .9s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/******************************************************************************
    LOGO
******************************************************************************/
.brand-logo {
    width: 100px;
    top: 30%;
    margin-bottom: 5px;
    user-select: none;
    animation: logoFloat 6s ease-in-out infinite;
}

/******************************************************************************
    COMPANY NAME
******************************************************************************/
.brand-title {
    font-size: 52px;
    font-weight: 52;
    line-height: 1.1;
    letter-spacing: 2cqb;
    margin-bottom: 1px;
    color: #ffffff;
}

/******************************************************************************
    SUB TITLE
******************************************************************************/
.brand-subtitle {
    font-size: 24px;
    font-weight: 25;
    color: var(--primary);
    margin-bottom: 1px;
}

/******************************************************************************
    ORANGE LINE
******************************************************************************/
.brand-line {
    width: 120px;
    height: 5px;
    background: var(--primary);
    border-radius: 50px;
    margin-bottom: 10px;
}

/******************************************************************************
    DESCRIPTION
******************************************************************************/
.brand-description {
    width: 480px;
    font-size: 12px;
    line-height: 20px;
    color: rgba(255, 255, 255, .85);
}

/******************************************************************************
    VERSION
******************************************************************************/
.brand-version {
    margin-top: 70px;
    display: flex;
    align-items: center;
    gap: 12px;
}

/******************************************************************************
    VERSION BADGE
******************************************************************************/
.version-badge {
    padding: 8px 18px;
    border-radius: 30px;
    background: rgba(255, 255, 255, .08);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, .08);
    color: #ffffff;
    font-size: 14px;
}

/******************************************************************************
    COPYRIGHT
******************************************************************************/
.brand-copyright {
    position: absolute;
    bottom: 40px;
    left: 70px;
    font-size: 14px;
    color: rgba(255, 255, 255, .65);
}

/******************************************************************************
    GLASS EFFECT
******************************************************************************/
.glass-box {
    position: absolute;
    width: 260px;
    height: 260px;
    right: 120px;
    top: 100px;
    border-radius: 30px;
    background: rgba(255, 255, 255, .03);
    border: 1px solid rgba(255, 255, 255, .06);
    backdrop-filter: blur(15px);
    transform: rotate(-15deg);
}

/******************************************************************************
    SMALL LIGHT
******************************************************************************/
.light-one {
    position: absolute;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #ff7a00;
    top: 150px;
    right: 170px;
    box-shadow:
        0 0 20px rgba(255, 122, 0, .8),
        0 0 50px rgba(255, 122, 0, .4);
}

/******************************************************************************
    LIGHT TWO
******************************************************************************/
.light-two {
    position: absolute;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ffffff;
    top: 210px;
    right: 230px;
    opacity: .7;
}

/******************************************************************************
    LIGHT THREE
******************************************************************************/
.light-three {
    position: absolute;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #ffffff;
    top: 260px;
    right: 120px;
    opacity: .45;
}

/******************************************************************************
    FLOATING PARTICLE
******************************************************************************/
.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .40);
    animation: particleMove 18s linear infinite;
}

/******************************************************************************
    PARTICLE 1
******************************************************************************/
.particle:nth-child(1) {
    left: 120px;
    bottom: 150px;
}

/******************************************************************************
    PARTICLE 2
******************************************************************************/
.particle:nth-child(2) {
    left: 220px;
    bottom: 250px;
    animation-delay: 3s;
}

/******************************************************************************
    PARTICLE 3
******************************************************************************/
.particle:nth-child(3) {
    left: 330px;
    bottom: 180px;
    animation-delay: 5s;
}

/******************************************************************************
    PARTICLE 4
******************************************************************************/
.particle:nth-child(4) {
    left: 430px;
    bottom: 280px;
    animation-delay: 7s;
}

/******************************************************************************
    ANIMATION
******************************************************************************/
@keyframes fadeLeft {
    from {
        opacity: 0;
        transform: translateX(-60px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/******************************************************************************
    LOGO FLOAT
******************************************************************************/
@keyframes logoFloat {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-8px);
    }

    100% {
        transform: translateY(0);
    }
}

/******************************************************************************
    PARTICLE MOVE
******************************************************************************/
@keyframes particleMove {
    0% {
        transform: translateY(0);
        opacity: 0;
    }

    20% {
        opacity: 1;
    }

    80% {
        opacity: .5;
    }

    100% {
        transform: translateY(-160px);
        opacity: 0;
    }
}

/******************************************************************************
    RIGHT PANEL
******************************************************************************/
.right-panel {
    width: 37.5%;
    min-width: 560px;
    background: #ffffff;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

/******************************************************************************
    LOGIN WRAPPER
******************************************************************************/
.login-wrapper {
    width: 100%;
    max-width: 470px;
    animation: fadeRight .8s ease;
}

/******************************************************************************
    LANGUAGE
******************************************************************************/
.language-box {
    position: absolute;
    top: 40px;
    right: 50px;
}

.language-box select {
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 10px 15px;
    font-size: 14px;
    background: #fff;
    outline: none;
}

/******************************************************************************
    LOGIN CARD
******************************************************************************/
.login-card {
    background: #ffffff;
    border-radius: 22px;
    padding: 45px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, .08);
}

/******************************************************************************
    TITLE
******************************************************************************/
.login-title {
    font-size: 34px;
    font-weight: 700;
    color: #222;
    margin-bottom: 8px;
}

.login-subtitle {
    color: #888;
    margin-bottom: 40px;
    font-size: 15px;
}

/******************************************************************************
    FORM GROUP
******************************************************************************/
.form-group {
    margin-bottom: 24px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    color: #555;
    font-weight: 500;
}

/******************************************************************************
    INPUT WRAPPER
******************************************************************************/
.input-box {
    position: relative;
}

.input-box i {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: #9c9c9c;
    transition: .3s;
}

/******************************************************************************
    INPUT
******************************************************************************/
.input-control {
    width: 100%;
    height: 56px;
    border: 1px solid var(--border);
    border-radius: 14px;
    padding-left: 52px;
    padding-right: 52px;
    outline: none;
    font-size: 15px;
    transition: .30s;
    background: #fff;
}

.input-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 5px rgba(255, 122, 0, .08);
}

.input-control:focus+i {
    color: var(--primary);
}

/******************************************************************************
    PASSWORD BUTTON
******************************************************************************/
.password-toggle {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #999;
    transition: .3s;
}

.password-toggle:hover {
    color: var(--primary);
}

/******************************************************************************
    REMEMBER
******************************************************************************/
.remember-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 28px;
}

.remember-row label {
    margin-left: 8px;
    color: #666;
    font-size: 14px;
}

.forgot-password {
    color: var(--primary);
    text-decoration: none;
    font-size: 14px;
}

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

/******************************************************************************
    LOGIN BUTTON
******************************************************************************/
.btn-login {
    width: 100%;
    height: 56px;
    border: none;
    border-radius: 14px;
    background: linear-gradient(135deg, #ff7a00, #ff9d32);
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    transition: .35s;
    box-shadow:
        0 10px 25px rgba(255, 122, 0, .28);
}

.btn-login:hover {
    transform: translateY(-2px);
    box-shadow:
        0 18px 40px rgba(255, 122, 0, .35);
}

.btn-login:active {
    transform: scale(.98);
}

/******************************************************************************
    FOOTER
******************************************************************************/
.login-footer {
    margin-top: 28px;
    text-align: center;
    color: #888;
    font-size: 13px;
}

/******************************************************************************
    FADE RIGHT
******************************************************************************/
@keyframes fadeRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/******************************************************************************
    CUSTOM CHECKBOX
******************************************************************************/
.checkbox-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.checkbox-group input[type="checkbox"] {
    appearance: none;
    width: 20px;
    height: 20px;
    border: 2px solid var(--border);
    border-radius: 6px;
    background: #fff;
    cursor: pointer;
    transition: .30s;
    position: relative;
}

.checkbox-group input[type="checkbox"]:checked {
    background: var(--primary);
    border-color: var(--primary);
}

.checkbox-group input[type="checkbox"]:checked::after {
    content: "✓";
    position: absolute;
    left: 3px;
    top: -1px;
    color: #fff;
    font-size: 13px;
    font-weight: bold;
}

/******************************************************************************
    INPUT HOVER
******************************************************************************/
.input-control:hover {
    border-color: #cfcfcf;
}

/******************************************************************************
    LOGIN BUTTON EFFECT
******************************************************************************/
.btn-login {
    position: relative;
    overflow: hidden;
}

.btn-login::before {
    content: "";
    position: absolute;
    width: 0;
    height: 100%;
    left: -10%;
    top: 0;
    background: rgba(255, 255, 255, .15);
    transform: skewX(-25deg);
    transition: .60s;
}

.btn-login:hover::before {
    width: 130%;
}

/******************************************************************************
    BUTTON LOADING
******************************************************************************/
.btn-login.loading {
    pointer-events: none;
    opacity: .85;
}

.btn-login.loading::after {
    content: "";
    width: 18px;
    height: 18px;
    border: 3px solid rgba(255, 255, 255, .35);
    border-top: 3px solid #fff;
    border-radius: 50%;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    animation: spin .8s linear infinite;
}

/******************************************************************************
    SPINNER
******************************************************************************/
@keyframes spin {
    from {
        transform: translateY(-50%) rotate(0deg);
    }

    to {
        transform: translateY(-50%) rotate(360deg);
    }
}

/******************************************************************************
    CARD HOVER
******************************************************************************/
.login-card {
    transition: .35s;
}

.login-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 40px 90px rgba(0, 0, 0, .12);
}

/******************************************************************************
    PLACEHOLDER
******************************************************************************/
::placeholder {
    color: #bbbbbb;
}

/******************************************************************************
    SELECTION
******************************************************************************/
::selection {
    background: var(--primary);
    color: #fff;
}

/******************************************************************************
    SCROLLBAR
******************************************************************************/
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-thumb {
    background: #d0d0d0;
    border-radius: 50px;
}

::-webkit-scrollbar-thumb:hover {
    background: #b8b8b8;
}

/******************************************************************************
    RESPONSIVE
******************************************************************************/
@media(max-width:1600px) {
    .brand-title {
        font-size: 46px;
    }

    .brand-description {
        width: 420px;
    }
}

@media(max-width:1440px) {
    .left-panel {
        width: 58%;
    }

    .right-panel {
        width: 42%;
    }
}

@media(max-width:1366px) {
    .brand-logo {
        width: 220px;
    }

    .brand-title {
        font-size: 42px;
    }

    .login-card {
        padding: 36px;
    }
}

@media(max-width:1200px) {
    .brand-area {
        padding: 50px;
    }
}

/******************************************************************************
    TABLET
******************************************************************************/
@media(max-width:992px) {
    .left-panel {
        display: none;
    }

    .right-panel {
        width: 100%;
        min-width: 100%;
    }

    .login-wrapper {
        max-width: 480px;
        padding: 25px;
    }

    .language-box {
        top: 25px;
        right: 25px;
    }
}

/******************************************************************************
    MOBILE
******************************************************************************/
@media(max-width:576px) {
    .login-card {
        padding: 30px;
        border-radius: 18px;
    }

    .login-title {
        font-size: 28px;
    }

    .login-subtitle {
        font-size: 14px;
    }

    .input-control {
        height: 52px;
    }

    .btn-login {
        height: 52px;
    }
}

/******************************************************************************
    END OF LOGIN.CSS
******************************************************************************/