* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --purple: #4b216d;
    --purple-dark: #35134f;
    --pink: #c30b7c;
    --text: #402052;
}

html,
body {
    width: 100%;
    min-height: 100%;
}

body {
    font-family: "Hind Vadodara", sans-serif;
    font-weight: 400;
    font-style: normal;
    min-height: 100vh;
    background: #fff;
}


.mobile-logo {
    display: none !important;
}

.desktop-logo {
    display: block !important;
}

.login-wrapper {
    display: grid;
    grid-template-columns: 1fr 0.5fr;
    width: 100%;
    min-height: 100vh;
    overflow: hidden;
}

.brand-panel {
    position: relative;
    min-width: 0;
    min-height: 100vh;
    overflow: hidden;
    background: var(--purple);
}

.brand-image {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 100vh;
    object-fit: cover;
    object-position: center;
}

.login-panel {
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 0;
    min-height: 100vh;
    padding: 45px 35px;
    background: #fff;
}

.login-content {
    width: 100%;
    max-width: 390px;
    margin: auto;
    text-align: center;
}

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

.login-brand img {
    display: block;
    width: 280px !important;
    max-width: 100%;
    height: auto;
    max-height: 90px;
    object-fit: contain;
    margin: 0 auto;
}

.login-heading {
    color: var(--text);
    font-size: 24px !important;
    line-height: 1.9;
    font-weight: 500;
}

.login-title {
    color: var(--pink);
    font-size: 32px;
    font-weight: 700;
    margin: 5px 0 32px;
}

.login-form {
    width: 100%;
    text-align: left;
}

.form-group {
    position: relative;
    margin-bottom: 16px;
}

.form-group>i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--purple);
    font-size: 16px;
    pointer-events: none;
}

.form-group input {
    width: 100%;
    height: 49px;
    padding: 0 44px;
    border: 1px solid #e5ddeb;
    border-radius: 8px;
    background: #faf8fc;
    color: #352344;
    font-family: inherit;
    font-size: 14px;
    outline: none;
    transition: border-color .2s, box-shadow .2s;
}

.form-group input:focus {
    border-color: var(--purple);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(75, 33, 109, .08);
}

.form-group input::placeholder {
    color: #8b7b96;
}

.toggle-password {
    position: absolute;
    right: 13px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px;
    border: 0;
    background: transparent;
    color: var(--purple);
    cursor: pointer;
    font-size: 16px;
}

.forgot-password {
    display: block;
    margin: 4px 0 24px;
    color: var(--pink);
    font-size: 12px;
    text-align: right;
    text-decoration: none;
}

.forgot-password:hover,
.register-link:hover {
    text-decoration: underline;
}

.login-button {
    width: 100%;
    min-height: 48px;
    border: 0;
    border-radius: 7px;
    background: linear-gradient(135deg, #60317d, #42185e);
    color: #fff;
    font-family: inherit;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(65, 24, 91, .16);
    transition: background .25s, transform .25s;
}

.login-button:hover {
    background: var(--pink);
    transform: translateY(-1px);
}

.register-text {
    margin-top: 23px;
    color: #84778b;
    font-size: 12px;
    text-align: center;
    line-height: 1.8;
}

.register-link {
    color: var(--pink);
    text-decoration: none;
    font-weight: 600;
}

.form-message {
    display: none;
    margin-top: 14px;
    font-size: 12px;
    line-height: 1.8;
    text-align: center;
    overflow-wrap: anywhere;
}

.login-card {
    background: #fcfcf1;
    padding: 40px 20px;
    border-radius: 20px;
    border: 1px solid #eeeeee;

    /* Outer + Inner Shadow */
   box-shadow:
    0 5px 15px rgba(75, 33, 109, 0.10),
    0 10px 30px rgba(75, 33, 109, 0.08),
    inset 0 1px 4px rgba(255, 255, 255, 0.9),
    inset 0 -2px 5px rgba(75, 33, 109, 0.06);
    transition: all 0.3s ease;
}

.login-card:hover {
  /*   box-shadow:
        0 12px 30px rgba(0, 0, 0, 0.18),
        inset 0 2px 8px rgba(255, 255, 255, 0.9),
        inset 0 -3px 8px rgba(0, 0, 0, 0.08); */

    transform: translateY(-3px);
}
.login-heading {
    text-align: center;
    color: #4b216d;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.5;
    margin-bottom: 0;
}

.login-title {
    text-align: center;
    color: #4b216d;
    font-size: 24px;
    font-weight: 700;
    margin: 0;
}

/* Pink Decorative Line */
.login-divider {
    width: 48px;
    height: 2px;
    background: linear-gradient(
        to right,
        transparent,
        #c30b7c,
        transparent
    );
    margin: 8px auto 10px;
    border-radius: 50%;
}

/* Login Heading */
.login-label {
    text-align: center;
    color: #c30b7c;
    font-size: 26px;
    font-weight: 700;
    margin: 0 0 16px;
}

@media (min-width: 1600px) {
    .login-panel {
        padding: 60px;
    }

    .login-content {
        max-width: 440px;
    }

    .login-heading {
        font-size: 19px;
    }

    .login-title {
        font-size: 38px;
        margin-bottom: 0;
    }

    .form-group input {
        height: 54px;
        font-size: 14px;
    }

    .login-button {
        min-height: 52px;
        font-size: 16px;
    }
}

@media (max-width: 1024px) {
    .login-wrapper {
        grid-template-columns: 1fr 0.65fr;
    }

    .login-panel {
        padding: 35px 25px;
    }

    .login-heading {
        font-size: 15px;
    }

    .login-title {
        font-size: 28px;
    }
}

.temple-img {
    display: none;
}

.login-footer {
    display: none !important;
}


@media (max-width: 768px) {

    html,
    body {
        width: 100%;
        height: 100%;
        min-height: 0;
        overflow: hidden !important;
    }

    .temple-img {
        display: block;
        margin: auto;
        /*    width: 280px;
        height: 280px; */

    }

    .temple-img img {
        max-width: 100%;
        height: auto;
    }

    .brand-panel {
        display: none;
    }

    .desktop-logo {
        display: none !important;
    }

    .login-heading {
        font-size: 25px !important;
        padding-top: 25px;
    }

    .mobile-logo {
        display: block !important;
    }

    .login-panel {
        background-color: #4b216d !important;
        display: flex;
        align-items: stretch;
        justify-content: center;
        width: 100%;
        /*   height: 100dvh; */
        /*    min-height: 100dvh; */
        padding: 0;
        margin: 0;
        overflow: hidden;
        height: 100%;
        min-height: 0;
    }

    .login-card {
        position: relative;
        background-color: #fff;
        border-radius: 30px 30px 0 0;
        padding: 0;
        margin-top: 20px;

        width: 100%;
        /*   min-height: 100%; */
        overflow: hidden;
        min-height: 0;
    }

    .login-form {
        padding: 25px 20px 25px;
    }



    .login-footer {
        display: block !important;
    }

    /* Keep all login content above footer */
    .login-card>*:not(.login-footer) {
        position: relative;
        z-index: 2;
    }

    /* Pink footer fixed at card bottom */
    .login-card>.login-footer {
        position: relative !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        height: 55px !important;
        margin: 0 !important;
        padding: 0 !important;
        z-index: 1 !important;
        display: block !important;
        background: transparent !important;
        pointer-events: none;
    }

    .login-card>.login-footer svg {
        display: block;
        width: 100%;
        height: 100%;
    }

    .login-card>.login-footer svg path {
        fill: #c30b7c;
    }

    .temple-img {
        height: clamp(140px, 36vh, 241px);
    }

    .login-wrapper {
        display: flex;
        grid-template-columns: 1fr;
        /*      min-height: 100dvh; */
        /*   height: 100dvh; */
        overflow: hidden;
        height: 100vh;
        height: 100dvh;
        min-height: 0;
        overflow: hidden !important;
    }

    .login-content {
        display: flex;
        flex-direction: column;
        width: 100%;
        max-width: 100%;
        min-height: 0;
        /*   height: 100%; */
        margin: 0;
        overflow: hidden
    }

    .login-brand {
        flex-shrink: 0;
        margin-bottom: 5px;
        margin-bottom: 25px;
    }

    .login-brand img {
        width: 150px;
        max-height: 95px;
        object-fit: contain;
    }

    .login-title {
        font-size: 30px;
        margin-bottom: 0;
        margin-top: 0;
    }

    .form-group input {
        font-size: 14px;
    }

    .temple-img {
        width: 270px;
    }

}

@media (max-width: 425px) {
    .temple-img {
        width: 283px;
    }

    .form-group input {
        font-size: 14px;
    }

    .temple-img {
        height: clamp(140px, 28vh, 230px);
    }

    .login-brand {
        margin-bottom: 0;
    }

    /*    .login-brand img {
        max-height: 55px;
    } */

    .login-heading {
        font-size: 21px !important;
        padding-top: 12px;
    }

    .login-title {
        font-size: 26px;
    }

    .login-form {
        padding: 16px 16px 8px;
    }

}

@media (max-width: 375px) {
    .temple-img {

        height: clamp(140px, 28vh, 235px);
    }

    .login-card {
        min-height: 0;
    }

    /*     .login-brand {
        margin-bottom: 20px;
    }

    .login-brand img {
        width: 130px;
    }

    .login-title {
        font-size: 25px;
        margin-bottom: 23px;
    }

    .form-group input {
        height: 45px;
        font-size: 12px;
    }

    .login-button {
        min-height: 45px;
    }

    .register-text {
        font-size: 11px;
    } */
}

@media (max-height: 600px) and (min-width: 769px) {
    .login-panel {
        padding-top: 20px;
        padding-bottom: 20px;
    }

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

    /*      .login-brand img {
                max-height: 55px;
            } */

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

    .form-group {
        margin-bottom: 10px;
    }

    .form-group input {
        font-size: 14px;
        height: 42px;
    }

    .forgot-password {
        margin-bottom: 14px;
    }

    .login-button {
        min-height: 42px;
    }

    .register-text {
        margin-top: 12px;
    }
}

.app-brand-logo .sidebar-logo {
    /*    width: 45px;
    height: 45px; */
    object-fit: contain;
    display: block;
}

.app-brand-text {
    font-size: 18px;
    white-space: nowrap;
}

.app-brand-link {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

/* 
.layout-menu:not(.expanded) .app-brand-logo .sidebar-logo {
    width: 38px;
    height: 38px;
} */