/* 2026-03-21: Dedicated stylesheet for the redesigned login page layout and visual styling. */
@font-face {
    font-family: "LoginGothamBold";
    src: url("../../fonts/Gotham-Font/GothamBold.ttf") format("truetype");
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: "LoginGothamBook";
    src: url("../../fonts/Gotham-Font/GothamBook.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
}

html,
body {
    height: 100%;
    overflow: hidden;
}

.login-page {
    box-sizing: border-box;
    height: 100vh;
    min-height: 100vh;
    padding: 4px;
    overflow: hidden;
    background:
        radial-gradient(circle at top left, rgba(129, 219, 122, 0.24), transparent 30%),
        radial-gradient(circle at bottom left, rgba(72, 199, 255, 0.3), transparent 34%),
        radial-gradient(circle at top right, rgba(66, 133, 244, 0.12), transparent 28%),
        linear-gradient(90deg, #f3fbf2 0%, #eef6ff 46%, #fcfbff 46%, #ffffff 100%);
}

.login-shell {
    display: flex;
    width: 100%;
    height: calc(100vh - 8px);
    margin: 0 auto;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 20px 44px rgba(37, 64, 97, 0.08);
    background: rgba(255, 255, 255, 0.76);
    backdrop-filter: blur(12px);
}

.login-hero-panel,
.login-form-panel {
    position: relative;
    min-width: 0;
}

.login-hero-panel {
    flex: 0 0 50%;
    overflow: hidden;
    padding: 28px 36px 18px;
    background:
        radial-gradient(circle at 14% 11%, rgba(135, 224, 109, 0.52), transparent 24%),
        radial-gradient(circle at 82% 8%, rgba(106, 167, 255, 0.42), transparent 26%),
        radial-gradient(circle at 24% 90%, rgba(74, 209, 255, 0.36), transparent 28%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.92) 0%, rgba(244, 252, 255, 0.88) 52%, rgba(202, 239, 255, 0.95) 100%);
}

.login-hero-panel::before,
.login-hero-panel::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.login-hero-panel::before {
    width: 640px;
    height: 640px;
    left: -230px;
    bottom: -310px;
    background: radial-gradient(circle, rgba(67, 205, 255, 0.42) 0%, rgba(67, 205, 255, 0) 70%);
}

.login-hero-panel::after {
    width: 380px;
    height: 380px;
    right: -105px;
    top: -100px;
    background: radial-gradient(circle, rgba(83, 152, 255, 0.36) 0%, rgba(83, 152, 255, 0) 72%);
}

.login-form-panel {
    flex: 0 0 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px 54px 14px;
    background:
        radial-gradient(circle at 8% 88%, rgba(137, 203, 255, 0.18), transparent 22%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(249, 251, 255, 0.99) 100%);
}

.login-hero-content,
.login-form-wrap {
    position: relative;
    z-index: 1;
}

.login-hero-content {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
    max-width: 430px;
    margin: 0 auto;
    justify-content: center;
}

.login-brand {
    margin: 0 auto 30px;
    text-align: center;
}

.login-brand img {
    width: 160px;
    max-width: 100%;
    height: auto;
    object-fit: contain;
    object-position: center center;
    display: inline-block;
}

.login-hero-copy {
    max-width: 420px;
}

.login-hero-copy h1 {
    margin: 0 0 12px;
    color: #2c3950;
    font-size: clamp(30px, 2.75vw, 40px);
    line-height: 1.1;
    font-weight: 700;
    letter-spacing: -1.1px;
    font-family: "LoginGothamBold", "Segoe UI", Arial, sans-serif;
}

.login-hero-copy p {
    margin: 0;
    max-width: 360px;
    color: #4c6078;
    font-size: clamp(13px, 0.9vw, 15px);
    line-height: 1.55;
    font-family: "LoginGothamBook", "Segoe UI", Arial, sans-serif;
}

.login-feature-list {
    margin: 18px 0 0;
    padding: 0;
    list-style: none;
}

.login-feature-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    color: #33495f;
    font-size: clamp(14px, 0.95vw, 16px);
    line-height: 1.2;
    font-family: "LoginGothamBook", "Segoe UI", Arial, sans-serif;
}

.login-feature-list i {
    color: #3f9b39;
    font-size: 18px;
}

.login-illustration {
    position: relative;
    width: calc(100% + 90px);
    max-width: 560px;
    min-height: 0;
    margin-top: 18px;
    margin-left: -4px;
    align-self: flex-start;
    transform: none;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.login-illustration::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 69% 20%, rgba(255, 255, 255, 0.95) 0 2px, transparent 3px),
        radial-gradient(circle at 76% 24%, rgba(255, 255, 255, 0.92) 0 1.5px, transparent 3px),
        radial-gradient(circle at 85% 30%, rgba(255, 255, 255, 0.88) 0 2px, transparent 3px),
        radial-gradient(circle at 91% 60%, rgba(255, 255, 255, 0.86) 0 2px, transparent 3px),
        radial-gradient(circle at 80% 82%, rgba(255, 255, 255, 0.82) 0 1.5px, transparent 3px);
    pointer-events: none;
}

.login-illustration-image {
    display: block;
    width: 100%;
    max-width: 500px;
    height: auto;
    max-height: 31vh;
    object-fit: contain;
    object-position: center bottom;
    filter: drop-shadow(0 18px 30px rgba(80, 132, 190, 0.14));
}

.login-phone-base {
    position: absolute;
    left: 50%;
    bottom: 8px;
    width: 205px;
    height: 18px;
    transform: translateX(-50%);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.75);
    box-shadow: 0 20px 50px rgba(66, 147, 212, 0.25);
}

.login-phone {
    position: absolute;
    left: 50%;
    bottom: 18px;
    width: 118px;
    height: 186px;
    transform: translateX(-50%);
    border-radius: 20px;
    background: linear-gradient(180deg, #ffffff 0%, #ebf8ff 100%);
    border: 6px solid #567094;
    box-shadow: 0 14px 28px rgba(35, 72, 112, 0.2);
}

.login-phone::before {
    content: "";
    position: absolute;
    top: 12px;
    left: 50%;
    width: 44px;
    height: 7px;
    transform: translateX(-50%);
    border-radius: 999px;
    background: rgba(79, 103, 134, 0.28);
}

.login-phone-screen {
    position: absolute;
    inset: 15px 9px 9px;
    border-radius: 13px;
    padding: 8px;
    background: linear-gradient(180deg, #fefefe 0%, #e8fbff 100%);
}

.login-chart-line {
    height: 48px;
    margin-top: 8px;
    border-radius: 12px;
    background:
        linear-gradient(180deg, rgba(121, 197, 255, 0.18) 0%, rgba(121, 197, 255, 0.02) 100%),
        linear-gradient(135deg, transparent 0 15%, #4cc5d5 15% 19%, transparent 19% 28%, #4cc5d5 28% 34%, transparent 34% 48%, #4cc5d5 48% 55%, transparent 55% 68%, #4cc5d5 68% 74%, transparent 74%);
}

.login-chart-bars {
    display: flex;
    align-items: flex-end;
    gap: 5px;
    height: 28px;
}

.login-chart-bars span {
    display: block;
    width: 9px;
    border-radius: 8px 8px 3px 3px;
    background: linear-gradient(180deg, #d2f38c 0%, #7fc95d 100%);
}

.login-chart-bars span:nth-child(1) {
    height: 9px;
}

.login-chart-bars span:nth-child(2) {
    height: 16px;
}

.login-chart-bars span:nth-child(3) {
    height: 22px;
}

.login-chart-bars span:nth-child(4) {
    height: 12px;
}

.login-widget {
    position: absolute;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(198, 228, 255, 0.95);
    border-radius: 18px;
    box-shadow: 0 16px 34px rgba(56, 96, 145, 0.15);
}

.login-widget-stats {
    top: 18px;
    left: 20px;
    width: 76px;
    padding: 10px 8px;
}

.login-widget-chart {
    left: 8px;
    bottom: 10px;
    width: 92px;
    padding: 8px;
}

.login-widget-message {
    top: 26px;
    right: 14px;
    width: 78px;
    padding: 8px;
}

.login-widget-delivery {
    right: 8px;
    bottom: 50px;
    width: 74px;
    padding: 8px;
}

.login-widget-clicks {
    right: 4px;
    bottom: 8px;
    width: 74px;
    padding: 8px;
}

.login-widget-label {
    display: block;
    margin-bottom: 5px;
    color: #8ea1b4;
    font-size: 7px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.login-widget-value {
    color: #2d7a2f;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
}

.login-widget-subvalue {
    color: #4880f1;
}

.login-widget-lines span {
    display: block;
    height: 4px;
    margin-bottom: 5px;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(90, 198, 239, 0.18) 0%, rgba(90, 198, 239, 0.42) 100%);
}

.login-widget-lines span:last-child {
    width: 72%;
    margin-bottom: 0;
}

.login-floating-bubble {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.9);
    color: #52a4b9;
    box-shadow: 0 12px 24px rgba(76, 140, 196, 0.16);
}

.login-floating-bubble.one {
    top: 38px;
    right: 84px;
    width: 18px;
    height: 18px;
}

.login-floating-bubble.two {
    bottom: 52px;
    left: 76px;
    width: 20px;
    height: 14px;
}

.login-floating-bubble.three {
    right: 2px;
    bottom: 8px;
    width: 14px;
    height: 14px;
}

.login-form-wrap {
    width: 100%;
    max-width: 382px;
}

.login-card {
    position: relative;
    isolation: isolate;
    width: 100%;
    padding: 40px 30px 32px;
    border: 1px solid rgba(226, 236, 248, 0.92);
    border-radius: 24px !important;
    background:
        radial-gradient(circle at top left, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0) 42%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 252, 255, 0.95) 100%);
    box-shadow:
        0 34px 90px rgba(96, 142, 201, 0.18),
        0 14px 34px rgba(112, 141, 181, 0.11),
        0 2px 8px rgba(255, 255, 255, 0.72),
        inset 0 1px 0 rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(14px);
}

.login-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background:
        radial-gradient(circle at top left, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0) 36%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.42) 0%, rgba(255, 255, 255, 0.12) 100%);
    pointer-events: none;
    z-index: -1;
}

.login-card::after {
    content: "";
    position: absolute;
    inset: 8px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.42),
        inset 0 -10px 20px rgba(183, 214, 255, 0.08);
    pointer-events: none;
    z-index: 0;
}

.login-card-header {
    margin-bottom: 24px;
}

.login-card-header h2 {
    margin: 0 0 8px;
    color: #2e3f5b;
    font-size: clamp(24px, 2.2vw, 34px);
    line-height: 1.08;
    font-weight: 700;
    letter-spacing: -1px;
}

.login-card-header p {
    margin: 0;
    color: #687c94;
    font-size: clamp(13px, 0.85vw, 15px);
    line-height: 1.4;
}

.login-greeting {
    display: none;
}

.login-input-row {
    margin-bottom: 16px;
}

.login-input-wrap {
    position: relative;
}

.login-input-icon {
    position: absolute;
    top: 50%;
    left: 18px;
    transform: translateY(-50%);
    color: #7a8598;
    font-size: 16px;
    pointer-events: none;
    z-index: 2;
}

.login-page .form-control,
.login-page select {
    height: 40px;
    padding: 0 40px 0 40px;
    border: 1px solid #d7e2ef;
    border-radius: 11px;
    background: rgba(255, 255, 255, 0.92);
    color: #314255;
    font-size: 12px;
    line-height: 1.2;
    box-shadow: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.login-page .form-control:focus,
.login-page select:focus {
    border-color: #77af66;
    box-shadow: 0 0 0 4px rgba(106, 171, 81, 0.12);
    background: #ffffff;
}

.login-page .form-control::placeholder {
    color: #606f81;
    opacity: 1;
}

.login-page #show_hide_password {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}

.login-page .input-group-addon {
    position: absolute;
    top: 50%;
    right: 14px;
    margin: 0;
    transform: translateY(-50%);
    z-index: 3;
}

.login-page .toggle-button a {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #7a8598 !important;
}

.login-page .eye-icon {
    width: 16px;
    height: 16px;
}

.login-password-error {
    display: none;
    margin-top: 8px;
    color: #d14343;
    font-size: 12px;
    line-height: 1.2;
}

.login-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin: 10px 0 20px;
}

.login-remember {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    color: #35455c;
    font-size: 11px;
    font-weight: 500;
    cursor: pointer;
}

.login-remember input {
    width: 14px;
    height: 14px;
    margin: 0;
    accent-color: #3e882c;
}

.login-link {
    color: #2f7a39 !important;
    font-size: 11px;
    font-weight: 600;
    text-decoration: none !important;
}

.login-link:hover {
    color: #25622d !important;
}

.login-submit {
    margin-top: 10px;
}

.login-page .btn {
    font-size: 13px;
    font-weight: 600;
    line-height: 1;
    padding: 14px 16px;
    border-radius: 12px;
}

.login-page .btn-primary,
.login-page .btn-primary:focus {
    border-color: #3e882c;
    background: linear-gradient(90deg, #5a9d3d 0%, #2f7f34 100%);
    box-shadow: none;
}

.login-page .btn-primary:hover {
    border-color: #2f7f34;
    background: linear-gradient(90deg, #4f8f35 0%, #286e2c 100%) !important;
}

.fill-div {
    width: 100%;
    text-align: center;
}

.login-signup {
    margin: 20px 0 0;
    color: #44556b;
    font-size: 11px;
    text-align: center;
}

.login-signup small {
    font-size: inherit;
    color: inherit;
}

.login-partners {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 382px;
    gap: 18px;
    margin-top: 22px;
    color: rgba(106, 111, 128, 0.7);
    font-size: clamp(11px, 0.85vw, 14px);
    font-weight: 700;
    letter-spacing: -0.02em;
}

.login-hidden-fields {
    display: none;
}

#divloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    display: none;
    z-index: 9999;
    background-color: rgba(255, 255, 255, 0.45);
    background-repeat: no-repeat;
    background-position: 50% 50%;
}

#divloader.loading {
    display: block !important;
    background-image: url('../img/Loading.gif');
}

/* 2026-03-21: Responsive adjustments added for the new login design on mobile screens. */
@media (max-width: 1600px) {
    .login-hero-panel {
        /*padding: 38px 44px 24px;*/
        padding: 0px 44px 24px;
    }

    .login-illustration {
        width: calc(100% + 80px);
        max-width: 520px;
    }

    .login-illustration-image {
        max-height: 72vh;
    }
}

@media (max-width: 1280px) {
    .login-page {
        padding: 8px;
    }

    .login-shell {
        height: calc(100vh - 16px);
    }

    .login-hero-panel {
        padding: 24px 24px 14px;
    }

    .login-hero-content {
        max-width: 400px;
    }

    .login-form-panel {
        padding: 18px 34px 14px;
    }

    .login-card {
        padding: 26px 24px 20px;
    }

    .login-form-wrap,
    .login-partners {
        max-width: 360px;
    }

    .login-hero-copy h1,
    .login-card-header h2 {
        font-size: 28px;
    }

    .login-page .form-control,
    .login-page select {
        height: 36px;
        font-size: 14px;
    }

    .login-illustration {
        position: relative;
        left: auto;
        bottom: auto;
        width: calc(100% + 40px);
        max-width: 340px;
        min-height: 0;
        margin-top: 16px;
        margin-left: -6px;
        transform: none;
    }

    .login-illustration-image {
        max-height: 25vh;
    }

    .login-phone {
        width: 114px;
        height: 180px;
    }

    .login-partners {
        margin-top: 18px;
        font-size: 14px;
    }
}

@media (max-width: 991px) {
    .login-shell {
        flex-direction: column;
        height: auto;
    }

    .login-hero-panel,
    .login-form-panel {
        flex: 0 0 auto;
    }

    .login-hero-panel {
        padding: 30px 24px 18px;
    }

    .login-hero-content {
        justify-content: flex-start;
        max-width: none;
    }

    .login-illustration {
        position: relative;
        left: auto;
        bottom: auto;
        width: 100%;
        max-width: 360px;
        min-height: 260px;
        margin-top: 24px;
        margin-left: 0;
        transform: none;
        align-self: center;
    }

    .login-illustration-image {
        max-height: none;
    }

    .login-form-panel {
        padding: 24px 18px 20px;
    }

    .login-form-wrap {
        max-width: 620px;
    }
}

@media (max-width: 767px) {
    html,
    body {
        overflow: auto;
    }

    .login-page {
        padding: 10px;
        height: auto;
        min-height: 100vh;
        overflow: visible;
    }

    .login-shell {
        height: auto;
        border-radius: 22px;
    }

    .login-hero-panel {
        padding: 24px 18px 14px;
    }

    .login-form-panel {
        padding: 18px 14px 20px;
    }

    .login-card {
        padding: 26px 18px 22px;
        border-radius: 22px !important;
    }

    .login-brand {
        margin-bottom: 18px;
    }

    .login-brand img {
        width: 164px;
        height: auto;
    }

    .login-hero-copy h1,
    .login-card-header h2 {
        font-size: 30px;
        letter-spacing: -0.8px;
    }

    .login-hero-copy p,
    .login-card-header p {
        font-size: 16px;
    }

    .login-feature-list {
        margin-top: 18px;
    }

    .login-feature-list li {
        gap: 10px;
        margin-bottom: 12px;
        font-size: 15px;
    }

    .login-feature-list i {
        font-size: 20px;
    }

    .login-illustration {
        min-height: 190px;
        max-width: 360px;
        transform: scale(0.82);
        transform-origin: center bottom;
    }

    .login-actions {
        flex-direction: column;
        align-items: flex-start;
    }

    .login-partners {
        flex-wrap: wrap;
        justify-content: center;
        gap: 12px 20px;
        margin-top: 18px;
        font-size: 15px;
    }

    .login-page .form-control,
    .login-page select {
        height: 46px;
        padding-left: 44px;
        font-size: 14px;
    }

    .login-input-icon {
        left: 16px;
        font-size: 17px;
    }

    .login-link,
    .login-remember,
    .login-signup {
        font-size: 13px;
    }

    .login-page .btn {
        font-size: 15px;
        padding: 14px 18px;
    }
}
