﻿body {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(135deg, #f6f2fc, #ede9f9);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url('../assets/images/Watermarklogo.png');
    background-repeat: no-repeat;
    background-position: center center;
    background-position: -120px 287px;
    background-attachment: fixed;
    background-size: 600px 511px;
    position: relative;
    background-color: #8a2be221;
}

/*.illustration-hero {
    max-width: 100%;
    height: auto;
    display: inline-block;
    transform-origin: 70% 65%;
    animation: heroFloat 6s ease-in-out infinite;
    will-change: transform;
}

@keyframes heroFloat {
    0% {
        transform: translateY(0px) rotate(0deg) scale(1);
    }

    25% {
        transform: translateY(-6px) rotate(0.8deg) scale(1.01);
    }

    50% {
        transform: translateY(-10px) rotate(-0.8deg) scale(1.02);
    }

    75% {
        transform: translateY(-6px) rotate(0.6deg) scale(1.01);
    }

    100% {
        transform: translateY(0px) rotate(0deg) scale(1);
    }
}*/
.illustration-shake {
    max-width: 100%;
    height: auto;
    display: inline-block;
    transform-origin: 72% 68%; /* hand corner focus */
    animation: premiumPulseWave 6.5s ease-in-out infinite;
    will-change: transform;
}
@keyframes premiumPulseWave {
    /* Rest */
    0% {
        transform: scale(1) rotate(0deg) translate(0, 0);
    }
    /* Scale in */
    20% {
        transform: scale(1.005) rotate(0.7deg) translate(1px, -1px);
    }
    /* Gentle shake */
    30% {
        transform: scale(1.015) rotate(-0.7deg) translate(-1px, 1px);
    }
    /* Calm hold */
    45% {
        transform: scale(1.005) rotate(-0.3deg) translate(1px, -1px);
    }
    /* Scale out */
    65% {
        transform: scale(1.015) rotate(-0.4deg) translate(-1px, 1px);
    }
    /* Exit micro-shake */
    80% {
        transform: scale(1.005) rotate(0.3deg) translate(1px, -1px);
    }
    /* Reset */
    100% {
        transform: scale(1) rotate(0deg) translate(0, 0);
    }
}

/* Subtle corner (hand-like) shake */
/*.illustration-shake {
    display: inline-block;
    transform-origin: 70% 65%;  corner / hand position 
    animation: cornerShake 4.5s ease-in-out infinite;
}

 Natural hand-wave motion 
@keyframes cornerShake {
    0% {
        transform: rotate(0deg);
    }

    20% {
        transform: rotate(1.2deg);
    }

    40% {
        transform: rotate(-1.2deg);
    }

    60% {
        transform: rotate(1deg);
    }

    80% {
        transform: rotate(-0.6deg);
    }

    100% {
        transform: rotate(0deg);
    }
}

.illustration-float {
    max-width: 100%;
    height: auto;
    animation: floatImage 4s ease-in-out infinite;
}

@keyframes floatImage {
    0% {
        transform: translateY(0px) scale(1);
    }

    50% {
        transform: translateY(-10px) scale(1.02);
    }

    100% {
        transform: translateY(0px) scale(1);
    }
}
*/

/* Left login panel with watermark */
.login-left {
    /* padding: 60px 50px;
      position: relative;
     height: auto;
      overflow: hidden; */
    /* background: linear-gradient(135deg, #f8f6ff, #efe9fb); */
    /* padding: 40px; */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: unset;
}

    /* Watermark logo in background */
    .login-left::before {
        content: "";
        position: absolute;
        inset: 0;
        background: url("../assets/images/Watermarklogo.png") no-repeat center;
        background-size: cover;
        opacity: 0.08; /* faint watermark effect */
        z-index: 0;
    }

    /* Keep contents above watermark */
    .login-left * {
        position: relative;
        z-index: 1;
    }

    .login-left img.logo {
        width: 130px;
        margin-bottom: 30px;
    }

.login-title {
    font-size: 24px;
    font-weight: 700;
    color: #5b2fdb;
    margin-bottom: 25px;
}

.form-control {
    border-radius: 10px;
    height: 50px;
    background-color: #d4bef48a;
    border: none;
    padding-left: 15px;
    font-size: 15px;
}

    .form-control:focus {
        box-shadow: 0 0 0 3px rgba(112, 47, 219, 0.2);
        background-color: #f6f2fc;
    }

.btn-login {
    background-color: #6d35f2;
    color: #fff;
    font-weight: 600;
    width: 100%;
    height: 50px;
    border-radius: 10px;
    border: none;
}

    .btn-login:hover {
        background-color: #8555f494;
        color: white;
    }

.forgot {
    font-size: 14px;
    display: block;
    margin-top: 12px;
    text-align: right;
    color: #5b2fdb;
    text-decoration: none;
}

    .forgot:hover {
        text-decoration: underline;
    }

.login-right {
    /* background: linear-gradient(135deg, #f8f6ff, #efe9fb); */
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background-image: url('../assets/images/background.png');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

    .login-right h2 {
        font-size: 24px;
        font-weight: 700;
        color: #5b2fdb;
        margin-bottom: 15px;
    }

    .login-right p {
        font-size: 15px;
        color: #555;
        margin-bottom: 25px;
    }

    .login-right img {
        max-width: 90%;
        height: auto;
    }


@media(max-width: 768px) {
    .login-left, .login-right {
        padding: 30px 20px;
    }

        .login-right h2 {
            font-size: 20px;
        }
}

.panel-default {
    background: #ffffff1a;
    backdrop-filter: blur(5px);
    border: none;
    box-shadow: 10px;
    color: #6d35f2;
    box-shadow: 0px 0px 15px 8px #d1b6ff2b;
    padding: 39px 10px 10px 10px;
    border-radius: 20px;
    width: 100%;
    height: 100%;
    display: flow;
}

.formstyle {
    padding: 30px;
}

.imgback {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.5;
    background-position: center;
    background-color: #ad9dbc00;
    background: #8a2be22e;
    filter: blur(48px);
    background-image: url('../assets/images/background.png');
}

