﻿/* =====================================================
   LOGIN PAGE
===================================================== */

/* -----------------------------------------------------
   FORCE POPPINS FONT FOR LOGIN PAGE
----------------------------------------------------- */
html.login-page,
html.login-page body,
html.login-page #wrap,
html.login-page #wrap-content,
html.login-page #content-main,
html.login-page * {
    font-family: 'Poppins' !important;
}

/* Explicitly set headings, strong, buttons, inputs, selects, textarea */
html.login-page h1,
html.login-page h2,
html.login-page h3,
html.login-page h4,
html.login-page h5,
html.login-page h6,
html.login-page strong,
html.login-page b,
html.login-page button,
html.login-page input,
html.login-page select,
html.login-page textarea,
html.login-page .btn,
html.login-page .form-control {
    font-family: 'Poppins' !important;
}

body.login-page ::selection {
    background: #ECF6EE;
    color: #2D373E;
}

body.login-page .login-bg::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url("../Images/Openwater-login-background.jpg");
    z-index: 0;
}

/* -----------------------------------------------------
   Background container
----------------------------------------------------- */
body.login-page .login-bg {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 48px 24px;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

/* -----------------------------------------------------
   White login card
----------------------------------------------------- */

body.login-page .login-panel {
    width: 100%;
    max-width: 1080px;
    background: #ffffff;
    border-radius: 6px;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.25);
    overflow: hidden;
    position: relative;
    z-index: 1;
    background: transparent;  
    }

/* -----------------------------------------------------
   Header
----------------------------------------------------- */

body.login-page .login-header {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 28px 36px 22px;
    border-bottom: 1px solid #ededed;
    background: transparent;
}

body.login-page .login-header img {
    height: 52px;
}

body.login-page .login-header h1 {
    margin: 0;
    font-size: 30px;
    font-weight: 600;
    color: #2D373E;
    letter-spacing: -0.3px;
}

/* -----------------------------------------------------
   Grid layout
----------------------------------------------------- */

body.login-page .login-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    padding: 36px 40px 44px;
    background: white;
}

/* -----------------------------------------------------
   LEFT COLUMN
----------------------------------------------------- */

body.login-page .login-left h5.login-title {
    font-size: 20px;
    font-weight: 600;
    color: #00573D;
    margin-bottom: 28px;
}

body.login-page .login-error {
    background: #ffe9e9;
    color: #a40000;
    border: 1px solid #f1b4b4;
    padding: 10px 12px;
    border-radius: 4px;
    margin-bottom: 20px;
    font-size: 14px;
}

body.login-page .form-group {
    margin-bottom: 18px;
}

body.login-page .form-group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #2D373E;
    margin-bottom: 6px;
}

body.login-page .form-input {
    width: 100%;
    padding: 13px 14px;
    font-size: 15px;
    border-radius: 4px;
    border: 1px solid #d6d6d6;
}

body.login-page .form-input:focus {
    outline: none;
    border-color: #088921;
    box-shadow: 0 0 0 2px rgba(8, 137, 33, 0.18);
}

body.login-page input[type="checkbox"] {
    accent-color: #088921; /* modern browsers support this */
}

/* -----------------------------------------------------
   Actions
----------------------------------------------------- */

body.login-page .form-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 10px 0 30px;
    font-size: 14px;
}

body.login-page .remember-me {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
}

body.login-page .form-actions a {
    color: #088921;
    font-weight: 500;
    text-decoration: underline;
}

body.login-page .form-actions a:hover {
    text-decoration: none;
}

/* -----------------------------------------------------
   Login button
----------------------------------------------------- */

body.login-page .btn-login {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 16px 22px;
    background: #088921;
    color: #ffffff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    transition: background-color 0.2s ease, transform 0.1s ease;
}

body.login-page .btn-login:hover {
    background: #06751c;
}

body.login-page .btn-login:active {
    transform: translateY(1px);
}

body.login-page .btn-login .btn-arrow {
    display: flex;
    align-items: center;
}

body.login-page .btn-login .btn-arrow svg {
    display: block;
}

/* -----------------------------------------------------
   Help section
----------------------------------------------------- */

body.login-page .login-help {
    display: flex;
    gap: 14px;
    margin-top: 32px;
    font-size: 14px;
    color: #2D373E;
    align-items: flex-start;
}

body.login-page .login-help-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

body.login-page .login-help a {
    color: #088921;
    font-weight: 500;
    text-decoration: underline;
}

body.login-page .login-help a:hover {
    text-decoration: none;
}

/* -----------------------------------------------------
   RIGHT COLUMN
----------------------------------------------------- */

body.login-page .login-right h5 {
    font-size: 18px;
    font-weight: 600;
    color: #00573D;
    margin-bottom: 6px;
}

body.login-page .login-right label {
    font-size: 15px;
    margin-bottom: 18px;
    display: block;
    cursor: default;
}

body.login-page .login-right ul li {
    display: block;
    background: none;
    list-style: none;
    padding-left: 20px; 
}

body.login-page .login-right ul {
    margin: 0 0 32px;
    padding: 0;
    list-style: none !important;
    list-style-type: none !important;
}

body.login-page .login-right li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 14px;
    font-size: 14px;
    line-height: 1.6;
    color: #2D373E;
    /* HARD stop marker rendering */
    list-style: none !important;
    display: block;
    list-style-type: none !important;
}

body.login-page .login-right p {
    font-size: 14px;
}

/* Kill marker at render level */
body.login-page .login-right li::marker {
    color: transparent;
    font-size: 0;
    content: "";
}

/* Custom triangle */
body.login-page .login-right li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 6px;
    width: 12px;
    height: 16px;
    background-image: url("../Images/bullet-triangle.png");
    background-repeat: no-repeat;
    background-size: contain;
    list-style-type: none !important;
}

/* -----------------------------------------------------
   Links
----------------------------------------------------- */

body.login-page .login-right a {
    color: #088921;
    font-weight: 500;
    text-decoration: underline;
}

body.login-page .login-right a:hover {
    text-decoration: none;
}

/* -----------------------------------------------------
   Responsive
----------------------------------------------------- */

@media (max-width: 900px) {

    body.login-page .login-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    body.login-page .login-bg {
        padding: 32px 16px;
    }
}