﻿/* ===================================
   ERP Login Page
   Theme: Deep blue + white card
=================================== 
*/
 
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    min-height: 100vh;
}

.login-wrapper {
    display: grid;
    grid-template-columns: 60% 40%;
    min-height: 100vh;
}
 

/* ===================================
   Left panel
=================================== 
*/
.left-panel {
    position: relative;
    background: linear-gradient(160deg, #0A2A5E 0%, #1E4FA0 55%, #2B63C2 100%);
    padding: 48px 56px;
    overflow: hidden;
    color: #FFFFFF;
}

.building-bg {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 420px;
  pointer-events: none;
  overflow: hidden;
}
 
.building-bg span {
  position: absolute;
  bottom: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.12) 0%, rgba(255,255,255,0.03) 100%);
  border-top: 2px solid rgba(255,255,255,0.15);
}
 
.building-bg span:nth-child(1) { right: 0;    width: 140px; height: 260px; }
.building-bg span:nth-child(2) { right: 120px; width: 100px; height: 380px; }
.building-bg span:nth-child(3) { right: 200px; width: 120px; height: 200px; }
.building-bg span:nth-child(4) { right: 300px; width: 90px;  height: 320px; }
.building-bg span:nth-child(5) { right: 370px; width: 130px; height: 180px; }
.building-bg span:nth-child(6) { right: 480px; width: 80px;  height: 280px; }
 
.building-bg span::before {
  content: "";
  position: absolute;
  inset: 16px;
  background-image: linear-gradient(rgba(255,255,255,0.18) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,0.18) 1px, transparent 1px);
  background-size: 20px 24px;
}

a[target]:not(.btn)
{
    text-decoration:none !important;
}


.brand {
    display: flex;
    align-items: center;
    gap: 16px;
    position: relative;
    z-index: 1;
    margin-bottom: 20px;
}

.brand-icon {
    width: 56px;
    height: 56px;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

    .brand-icon i {
        font-size: 28px;
        color: #6EB4FF;
    }

.brand h1 {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 1px;
    margin:0;
}

.brand p {
    font-size: 14px;
    color: #BBD3F5;
/*    margin-top: 2px;
*/    margin-bottom: 0;
}

 Links section 

.links-section {
    position: relative;
    z-index: 1;
    margin-top: 40px;
}

    .links-section h2 {
        font-size: 18px;
        font-weight: 700;
        padding-bottom: 10px;
        border-bottom: 3px solid #4FD1C5;
        display: inline-block;
        margin-bottom: 16px;
        margin-top: 28px;
    }

        .links-section h2:first-child {
            margin-top: 0;
        }

.links-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 10px;
}

.link-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 14px 8px;
    text-decoration: none;
    color: #FFFFFF;
    text-align: center;
    transition: background 0.2s ease, transform 0.15s ease;
}

    .link-item:hover {
        background: rgba(255, 255, 255, 0.12);
        transform: translateY(-2px);
    }

.link-icon {
    width: 40px;
    height: 40px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: #FFFFFF;
}

    .link-icon i {
        font-size: 20px;
    }

.icon-blue i {
    color: #2B63C2;
}

.icon-purple i {
    color: #7C5CFC;
}

.icon-green i {
    color: #2DA94F;
}

.icon-orange i {
    color: #E8862C;
}

.icon-teal i {
    color: #16A89D;
}

.link-item span {
    font-size: 12px;
    font-weight: 600;
    line-height: 1.3;
}

/* ===================================
   Right panel
=================================== 
*/
.right-panel {
    background: #F4F6FA;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 48px;
}

.login-card {
    background: #FFFFFF;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(15, 35, 80, 0.08);
    padding: 48px 44px;
    width: 100%;
    max-width: 440px;
    text-align: center;
}

.lock-icon {
    width: 72px;
    height: 72px;
    background: #E6F1FB;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

    .lock-icon i {
        font-size: 32px;
        color: #2B63C2;
    }

.welcome-title {
    font-size: 26px;
    font-weight: 700;
    color: #0A2A5E;
    margin-bottom: 6px;
}

.welcome-subtitle {
    font-size: 14px;
    color: #6B7A99;
    margin-bottom: 28px;
}

form {
    text-align: left;
}

label {
    text-align: left !important;
    display: block !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    margin-bottom: 8px !important;
    color: #1A2B4C !important;
}

.input-field {
    position: relative;
    margin-bottom: 20px;
}

    .input-field input {
        width: 100%;
        padding: 12px 14px 12px 42px;
        font-size: 14px;
        border: 1px solid #D8DEEB;
        border-radius: 6px;
        outline: none;
        background: #FFFFFF;
        color: #1A2B4C;
        transition: border-color 0.2s ease, box-shadow 0.2s ease;
        line-height : 0;
    }

        .input-field input:focus {
            border-color: #2B63C2;
            box-shadow: 0 0 0 3px rgba(43, 99, 194, 0.12);
        }

.input-icon {
    position: absolute;
    left: 14px;
    top: 13px;
    font-size: 16px;
    color: #9AA7C2;
    pointer-events: none;
}

.toggle-password {
    position: absolute;
    right: 14px;
    top: 13px;
    font-size: 16px;
    color: #9AA7C2;
    cursor: pointer;
}

    .toggle-password:hover {
        color: #6B7A99;
    }

.toggle-npassword {
    position: absolute;
    right: 14px;
    top: 13px;
    font-size: 16px;
    color: #9AA7C2;
    cursor: pointer;
}

    .toggle-npassword:hover {
        color: #6B7A99;
    }

.toggle-cpassword {
    position: absolute;
    right: 14px;
    top: 13px;
    font-size: 16px;
    color: #9AA7C2;
    cursor: pointer;
}

    .toggle-cpassword:hover {
        color: #6B7A99;
    }

.form-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    font-size: 13px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #5A6985;
    font-weight: 400;
    cursor: pointer;
}

    .checkbox-label input {
        width: auto;
        accent-color: #2B63C2;
    }

.forgot-link {
    color: #2B63C2;
    text-decoration: none;
    font-weight: 600;
}

    .forgot-link:hover {
        text-decoration: underline;
    }

 
.btn-signin {
    width: 100%;
    padding: 13px;
    background: #2B63C2;
    color: #FFFFFF;
    border: none;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s ease;
    line-height:1;
}

    .btn-signin:hover {
        background: #1E4FA0;
    }

.divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

    .divider span {
        flex: 1;
        height: 1px;
        background: #E1E6F0;
    }

    .divider p {
        font-size: 12px;
        color: #9AA7C2;
        margin-bottom: 0rem;
    }

.btn-microsoft {
    width: 100%;
    padding: 12px;
    background: #FFFFFF;
    color: #1A2B4C;
    border: 1px solid #D8DEEB;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: background 0.2s ease;
    margin-bottom: 20px;
    line-height:0;
}

    .btn-microsoft:hover {
        background: #F4F6FA;
    }

    .btn-microsoft i {
        font-size: 18px;
    }

.help-text {
    text-align: right;
    font-size: 13px;
    color: #6B7A99;
    margin-top: 20px;
}

    .help-text a {
        color: #2B63C2;
        font-weight: 600;
        text-decoration: none;
    }

        .help-text a:hover {
            text-decoration: underline;
        }

.footer-text {
    margin-top: 24px;
    font-size: 12px;
    color: #9AA7C2;
}

/* ===================================
   Responsive
=================*/

@media (max-width: 900px) {
    .login-wrapper {
        grid-template-columns: 1fr;
    }

    .left-panel {
        order: 2;
        padding: 40px 32px;
    }

    .right-panel {
        order: 1;
        padding: 32px;
    }

    .building-bg {
        display: none;
    }

    .links-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 480px) {
    .links-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.fnt0 {
    font-size: 200px;
    font-family: 'Segoe UI Semibold', 'Segoe UI';
    text-decoration: none;
}

.opttxt {
    padding: 12px 14px 12px 12px !important;
    text-align: center !important;
}