:root {
    --diamond-maroon: #2b0508;
    --diamond-dark-maroon: #180204;
    --diamond-burgundy: #69080e;
    --diamond-red: #970b12;
    --diamond-gold: #d9a321;
    --diamond-light-gold: #f4c94d;
    --diamond-text-dark: #2a1819;
    --diamond-gray: #6f7378;
    --diamond-border: #dedede;
}

* {
    box-sizing: border-box;
}

html,
body {
    min-height: 100%;
}

body {
    margin: 0;
    font-family:
        "Segoe UI",
        Arial,
        sans-serif;
    background: #ffffff;
    overflow-x: hidden;
}


/* =====================================================
   MAIN PAGE
===================================================== */

.login-page {
    min-height: 100vh;
    display: flex;
}


/* =====================================================
   LEFT SIDE
===================================================== */

.login-left {
    position: relative;
    width: 50%;
    min-height: 100vh;
    overflow: hidden;
    color: #ffffff;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 60px;

    background:
        radial-gradient(
            circle at 35% 35%,
            rgba(130, 15, 22, 0.45),
            transparent 35%
        ),
        linear-gradient(
            145deg,
            var(--diamond-maroon) 0%,
            var(--diamond-dark-maroon) 100%
        );
}


/* Gold curved border */

.login-left::after {
    content: "";

    position: absolute;

   right: -187px;
    width: 190px;
    height: 125%;
  

    border: 3px solid var(--diamond-gold);

    box-shadow:
        0 0 20px rgba(217, 163, 33, 0.25);

    pointer-events: none;
}


/* =====================================================
   BACKGROUND CLEANING PATTERN
===================================================== */

.cleaning-pattern {
    position: absolute;
    inset: 0;

    opacity: 0.08;

    pointer-events: none;
}

.pattern-icon {
    position: absolute;

    font-size: 60px;

    color: #e8b333;

    transform: rotate(-25deg);
}

.icon-1 {
    top: 7%;
    left: 8%;
}

.icon-2 {
    top: 18%;
    right: 20%;
}

.icon-3 {
    top: 40%;
    left: 3%;
}

.icon-4 {
    bottom: 20%;
    right: 12%;
}

.icon-5 {
    bottom: 8%;
    left: 12%;
}

.icon-6 {
    top: 65%;
    right: 30%;
}


/* =====================================================
   BRAND CONTENT
===================================================== */

.brand-content {
    position: relative;
    z-index: 2;

    width: 100%;
    max-width: 650px;

    text-align: center;
}


/* =====================================================
   LOGO
===================================================== */

.brand-logo-wrapper {
    display: flex;
    justify-content: center;

    margin-bottom: 0px;
}

.brand-logo {
   
    max-width: 100%;
    height: auto;

    object-fit: contain;
}

.logo-fallback {
    display: none;

    width: 120px;
    height: 120px;

    border-radius: 50%;

    align-items: center;
    justify-content: center;

    border: 3px solid var(--diamond-light-gold);

    color: var(--diamond-light-gold);

    font-size: 65px;
}



.mobile-brand img{display:none;}




/* =====================================================
   RIGHT SIDE
===================================================== */

.login-right {
    position: relative;

    width: 50%;
    min-height: 100vh;

    display: flex;

    align-items: center;
    justify-content: center;

    padding: 50px;

    overflow: hidden;

    background:
        radial-gradient(
            circle at 70% 15%,
            rgba(217, 163, 33, 0.08),
            transparent 20%
        ),
        #ffffff;
}


/* Top right dots */

.right-pattern {
    position: absolute;

    top: 0;
    right: 0;

    width: 260px;
    height: 180px;

    opacity: 0.45;

    background-image:
        radial-gradient(
            #d6a22d 1.5px,
            transparent 1.5px
        );

    background-size: 12px 12px;

    mask-image:
        linear-gradient(
            135deg,
            black,
            transparent 70%
        );
}


/* =====================================================
   LOGIN BOX
===================================================== */

.login-box {
    position: relative;
    z-index: 2;

    width: 100%;
    max-width: 620px;
}





/* =====================================================
   LOGIN HEADING
===================================================== */

.login-heading {
    text-align: center;

    margin-bottom: 28px;
}

.login-heading h2 {
    margin: 0;

    color: var(--diamond-text-dark);

    font-size: clamp(32px, 3vw, 48px);

    font-weight: 700;
}

.heading-line {
    width: 60px;
    height: 3px;

    margin: 20px auto 20px;

    border-radius: 10px;

    background: var(--diamond-gold);
}

.login-heading p {
    margin: 0;

    color: var(--diamond-gray);

    font-size: 17px;

    line-height: 1.6;
}


/* =====================================================
   ALERT
===================================================== */

.login-alert {
    display: flex;
    align-items: center;
    gap: 10px;

    margin-bottom: 18px;

    border-radius: 10px;

    font-size: 14px;
}


/* =====================================================
   LOGIN CARD
===================================================== */

.login-card {
    padding: 38px 42px;

    border-radius: 22px;

    background: #ffffff;

    box-shadow:
        0 20px 60px rgba(42, 24, 25, 0.1);

    border:
        1px solid rgba(0, 0, 0, 0.03);
}


/* =====================================================
   FORM
===================================================== */

.form-group-custom {
    margin-bottom: 25px;
}

.form-group-custom label {
    display: block;

    margin-bottom: 9px;

    color: #2d2929;

    font-size: 16px;

    font-weight: 600;
}


/* Input wrapper */

.input-wrapper {
    position: relative;
}

.input-icon {
    position: absolute;

    top: 50%;
    left: 20px;

    transform: translateY(-50%);

    z-index: 2;

    color: #777d82;

    font-size: 22px;
}


/* Input */

.custom-input {
    width: 100%;
    height: 66px;

    padding:
        10px
        55px
        10px
        62px;

    border-radius: 13px;

    border:
        1px solid #d7d9dc;

    background: #ffffff;

    color: #333;

    font-size: 16px;

    transition:
        border-color 0.25s ease,
        box-shadow 0.25s ease;
}

.custom-input::placeholder {
    color: #9a9da1;
}

.custom-input:focus {
    outline: none;

    border-color: var(--diamond-gold);

    box-shadow:
        0 0 0 4px
        rgba(217, 163, 33, 0.1);
}


/* =====================================================
   PASSWORD BUTTON
===================================================== */

.password-toggle {
    position: absolute;

    top: 50%;
    right: 17px;

    transform: translateY(-50%);

    width: 38px;
    height: 38px;

    display: flex;

    align-items: center;
    justify-content: center;

    border: 0;

    background: transparent;

    color: #70757a;

    font-size: 22px;

    cursor: pointer;

    z-index: 3;
}

.password-toggle:hover {
    color: var(--diamond-burgundy);
}



/* =====================================================
   LOGIN BUTTON
===================================================== */

.login-btn {
    width: 100%;
    height: 66px;

    display: flex;

    align-items: center;
    justify-content: center;

    gap: 14px;

    border: none;

    border-radius: 12px;

    background:
        linear-gradient(
            90deg,
            #7a080d,
            #540308
        );

    color: #ffffff;

    font-size: 20px;

    font-weight: 700;

    letter-spacing: 1px;

    cursor: pointer;

    box-shadow:
        0 10px 25px
        rgba(105, 8, 14, 0.2);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        background 0.25s ease;
}

.login-btn i {
    font-size: 24px;
}

.login-btn:hover {
    transform: translateY(-2px);

    background:
        linear-gradient(
            90deg,
            #950d14,
            #69080e
        );

    box-shadow:
        0 14px 30px
        rgba(105, 8, 14, 0.28);
}

.login-btn:active {
    transform: translateY(0);
}


/* =====================================================
   FOOTER
===================================================== */

.footer-text {
    margin-top: 45px;

    text-align: center;

    color: #74787c;

    font-size: 15px;
}

.footer-text p {
    margin: 0 0 4px;
}

.footer-text span {
    font-size: 14px;
}


/* =====================================================
   RESPONSIVE
===================================================== */

@media (max-width: 1200px) {

    .login-left {
        padding: 40px;
    }

    .brand-features {
        gap: 8px;
    }

    .feature-icon {
        width: 65px;
        height: 65px;

        font-size: 28px;
    }

    .login-right {
        padding: 35px;
    }

    .login-card {
        padding: 32px;
    }
}


@media (max-width: 991px) {

    .login-left {
        width: 43%;
        padding: 30px;
    }

    .login-right {
        width: 57%;
        padding: 30px;
    }

    .brand-title h1 {
        font-size: 45px;
    }

    .brand-title h2 {
        font-size: 18px;
    }

    .mangalore-text {
        font-size: 14px;
        letter-spacing: 5px;
    }

   

   
}


@media (max-width: 767px) {

    .login-page {
        display: block;
    }

    .login-left {
        display: none;
    }

    .login-right {
        width: 100%;
        min-height: 100vh;

        padding: 30px 20px;
    }

    .login-box {
        max-width: 540px;
    }

   

    .mobile-brand img {
        height: 84px;
        object-fit: contain;
        display: block;
        margin-left: auto;
        margin-right: auto;
    }



    .login-heading h2 {
        font-size: 34px;
    }

    .login-heading p {
        font-size: 15px;
    }

    .login-card {
        padding: 28px 22px;

        border-radius: 18px;
    }

    .footer-text {
        margin-top: 30px;
    }
}


@media (max-width: 480px) {

    .login-right {
        padding: 25px 15px;
        background: radial-gradient(circle at 35% 35%, rgba(130, 15, 22, 0.45), transparent 35%), linear-gradient(145deg, var(--diamond-maroon) 0%, var(--diamond-dark-maroon) 100%);
    }

    .login-card {
        padding: 25px 18px;
    }

    .login-options {
        flex-direction: column;

        align-items: flex-start;

        gap: 15px;
    }

    .custom-input {
        height: 60px;
    }

    .login-btn {
        height: 60px;
    }

    .login-heading h2 {
        font-size: 30px;
                color: #fff;
        padding-top: 20px;
    }
}