/*
Click nbfs://nbhost/SystemFileSystem/Templates/Licenses/license-default.txt to change this license
Click nbfs://nbhost/SystemFileSystem/Templates/JSP_Servlet/CascadeStyleSheet.css to edit this template
*/
/* 
    Created on : 26 Aug 2025, 3:52:55 pm
    Author     : CY Chai
*/

/* Reset & box-sizing */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* Wrapper layout */
.login-wrapper {
    display: flex;
    height: 100vh;
    width: 100%;
    font-family: Arial, sans-serif;
}

/* Left branding panel */
.login-left {
    flex: 5;
    display: flex;
    justify-content: center;
    padding: 2rem 0 2rem 5rem;
    color: #fff;
}

/* Snipped card styles */
.snip-card {
    width: 100%;
    min-width: 845px;
    min-height: 570px;
    max-width: 1223px;
    max-height: 815px;
    position: relative;
    filter: drop-shadow(0 8px 10px rgba(0, 0, 0, 0.3));
}

.snip-inner {
    width: 100%;
    height: 100%;
    background: #fff;
    padding: 8px;
    clip-path: polygon(0 0, 85% 0, 100% 15%, 100% 100%, 15% 100%, 0 85%);
    position: relative;
}

.snip-bg {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 1rem;
    clip-path: polygon(0 0, 85% 0, 100% 15%, 100% 100%, 15% 100%, 0 85%);
    position: relative;
    overflow: hidden;
}

/* Actual background image */
.snip-bg picture,
.snip-bg .bg-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.left-header{
    width: 225px;
    text-align: center;
}

.left-header .appFullName {
    margin: 0;
    font-size: 1.25rem;
    color: #000000;
}

.left-footer {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    font-size: 1.15rem;
    color: #ffffff;
    text-align: center;
}

#counter{
    color: #ffff00;
    font-size: 1.5rem;
}

.metaInfo{
    font-size: 0.95rem;
}

/* Right login panel */
.login-right {
    flex: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #fff;
    padding: 2rem 4rem 0 4rem;
}

.login-main {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.login-right .helpHeader {
    margin-top: 7rem;
    font-family: Calibri, "Segoe UI", Arial, sans-serif;
    font-size: 1.25rem;
    font-weight: bold;
    color:#215F9A;
}

.login-right form {
    margin-top: 2rem;
    margin-bottom: 0px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.login-right form table{
    width: 335px;
}

.formbutton {
    padding: 1px 6px;
}

.login-right .forgot {
    margin-top: 2rem;
    text-align: center;
}

.login-right .forgot a {
    display: flex;
    width: 170px;
    height: 21px;
}

.FtrSupportWarning {
    margin-top: 2rem;
    FONT-WEIGHT: normal;
    FONT-SIZE: 10pt;
    COLOR: #003399;
    FONT-FAMILY: Arial;
    TEXT-ALIGN: center;
    TEXT-DECORATION: none;
}

.firstTimeNotice{
    margin-top: 2rem;
    margin-bottom: 2rem;
    font-family: Calibri, "Segoe UI", Arial, sans-serif;
    font-size: 1.15rem;
    font-weight: 500;
    color: #035cb7;
}

@media (max-width: 1680px) {
    .login-left {
        padding: 1rem;
    }

    .snip-card {
        max-width: 1178px;
        max-height: 785px;
    }

    .login-right {
        padding: 1rem 1rem 0 1rem;
    }

    .login-right .helpHeader {
        margin-top: 5rem;
    }

}

@media (max-width: 1366px) {
    .snip-card {
        max-width: 805px;
        max-height: 520px;
    }

    .left-footer {
        gap: 1rem;
        font-size: 1rem;
    }

    #counter {
        font-size: 1.2rem;
    }

    .login-right .helpHeader {
        margin-top: 3rem;
    }
}

/* CSS that should be displayed if width is equal to or less than 1280px goes here */
@media (max-width: 1280px) {
    /* Left branding panel */
    .login-left {
        align-items: normal;
        padding: 1rem 2rem 1rem 1.5rem;
    }

    .snip-bg {
        padding: 0.5rem;
    }

    .left-header{
        width: 180px;
    }

    .left-header h2 {
        font-size: 2.75rem;
    }

    .left-header img.appName{
        width: 60%;
        min-width: 132px;
    }

    .left-header .appFullName {
        font-size: 1rem;
    }

    .left-header p {
        font-size: 0.95rem;
    }

    .metaInfo {
        font-size: 0.85rem;
    }

    /* Right login panel */
    .login-right {
        padding: 1rem 1rem 0 0;
    }

    .login-main {
        height: 480px;
    }

    .login-right .helpHeader {
        font-size: 1rem;
    }

    .firstTimeNotice{
        margin-bottom: 0.75rem;
    }
}

