﻿/*==============================================================================
    TAILORAX ERP
    Login Page
==============================================================================*/

body {
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
    background: #0F172A;
    overflow-x: hidden;
}

/*==============================================================================
    LOGIN CONTAINER
==============================================================================*/

.login-container {
    min-height: 100vh;
}

/*==============================================================================
    LEFT PANEL
==============================================================================*/

.login-left {
    position: relative;
    background: url('../Images/login-banner.png') center center;
    background-size: cover;
    background-repeat: no-repeat;
    min-height: 100vh;
    padding: 60px;
    display: flex;
    align-items: center;
}

/* Dark Overlay */

.login-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient( 90deg, rgba(7,15,30,.82), rgba(7,15,30,.55) );
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 70px;
}

/*==============================================================================
    BRAND
==============================================================================*/

.login-logo-img {
    width: 170px;
    margin-bottom: 35px;
}

.login-heading {
    color: #FFFFFF;
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 15px;
}

    .login-heading span {
        color: #18C29C;
    }

.login-description {
    color: rgba(255,255,255,.82);
    font-size: 18px;
    max-width: 480px;
    margin-bottom: 45px;
}

/*==============================================================================
    FEATURE LIST
==============================================================================*/

.login-feature-list {
    margin-top: 15px;
}

.feature-item {
    display: flex;
    align-items: center;
    margin-bottom: 18px;
    color: #FFFFFF;
    font-size: 17px;
    font-weight: 500;
}

    .feature-item i {
        width: 42px;
        height: 42px;
        border-radius: 12px;
        background: rgba(24,194,156,.20);
        color: #18C29C;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-right: 18px;
        font-size: 18px;
    }

/*==============================================================================
    SAUDI VISION
==============================================================================*/

.vision2030 {
    margin-top: auto;
    padding-top: 40px;
}

    .vision2030 img {
        height: 75px;
    }

/*==============================================================================
    RIGHT PANEL
==============================================================================*/

.login-card {
    width: 460px;
    border: none;
    border-radius: 22px;
    background: rgba(255,255,255,.96);
    backdrop-filter: blur(18px);
    box-shadow: 0 25px 60px rgba(0,0,0,.18);
}

    .login-card .card-body {
        padding: 45px;
    }

/*==============================================================================
    LOGO
==============================================================================*/

.login-card-logo {
     width:110px;
     margin-bottom:10px;
}

/*==============================================================================
    TITLES
==============================================================================*/

/*.login-title {
    font-weight: 700;
    color: #0F172A;
}*/


.login-title {
    font-size: 28px;
    font-weight: 700;
    margin-top: 15px;
    margin-bottom: 6px;
    color: #0F172A;
}

.login-subtitle {
    color: #64748B;
    font-size: 15px;
}

/*==============================================================================
    INPUTS
==============================================================================*/

.form-label {
    font-weight: 600;
    color: #334155;
    margin-bottom: 8px;
}

.tx-input {
    height: 54px;
    border-radius: 12px;
    border: 1px solid #CBD5E1;
    padding-left: 18px;
    font-size: 15px;
    transition: .30s;
}

    .tx-input:focus {
        border-color: #18C29C;
        box-shadow: 0 0 0 .20rem rgba(24,194,156,.18);
    }

/*==============================================================================
    PASSWORD
==============================================================================*/

.password-wrapper {
    position: relative;
}

.password-toggle {
    position: absolute;
    right: 18px;
    top: 18px;
    cursor: pointer;
    color: #94A3B8;
    transition: .25s;
}

    .password-toggle:hover {
        color: #18C29C;
    }

/*==============================================================================
    BUTTON
==============================================================================*/

.tx-login-btn {
    height: 55px;
    border: none;
    border-radius: 14px;
    background: linear-gradient( 135deg, #18C29C, #0EA5A4 );
    color: #FFFFFF;
    font-size: 16px;
    font-weight: 600;
    transition: .30s;
}

    .tx-login-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 15px 30px rgba(24,194,156,.30);
    }

/*==============================================================================
    LINKS
==============================================================================*/

.forgot-link,
.language-link {
    text-decoration: none;
    color: #0EA5A4;
    font-weight: 500;
}

    .forgot-link:hover,
    .language-link:hover {
        color: #18C29C;
    }

/*==============================================================================
    FOOTER
==============================================================================*/

.login-footer {
    margin-top: 35px;
    text-align: center;
    color: #94A3B8;
    font-size: 12px;
    line-height: 1.9;
}

/*==============================================================================
    MOBILE
==============================================================================*/

@media (max-width:991px) {

    .login-left {
        display: none !important;
    }

    .login-card {
        width: 95%;
        margin: 35px auto;
    }

        .login-card .card-body {
            padding: 35px;
        }
}

@media (max-width:576px) {

    .login-title {
        font-size: 28px;
    }

    .tx-input {
        height: 50px;
    }

    .tx-login-btn {
        height: 50px;
    }
}

/*==========================================================
    INPUT GROUP
==========================================================*/

.tx-input-group {
    position: relative;
}

.tx-input {
    height: 55px;
    padding-left: 48px !important;
    padding-right: 48px !important;
}

.tx-input-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #94A3B8;
    font-size: 16px;
    z-index: 10;
    pointer-events: none;
}

.tx-password-toggle {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #94A3B8;
    cursor: pointer;
    z-index: 10;
    transition: all .25s;
}

    .tx-password-toggle:hover {
        color: #18C29C;
    }


.tx-remember {
    display: flex;
    align-items: center;
    gap: 10px;
}

    .tx-remember input[type="checkbox"] {
        width: 18px;
        height: 18px;
        cursor: pointer;
    }

    .tx-remember label {
        margin: 0;
        font-size: 16px;
        color: #475569;
        cursor: pointer;
    }