﻿<style >
/* =========================================
   IVORY & CHAMPAGNE — PREMIUM ERP LOGIN
========================================= */
* {
    box-sizing: border-box;
}

html,
body {
    width: 100%;
    min-height: 100%;
    margin: 0;
}

body {
    min-height: 100vh;
    overflow-x: hidden;
    font-family: "Segoe UI", Arial, sans-serif;
    background: radial-gradient( circle at 12% 12%, rgba(255, 255, 255, .95), transparent 32% ), radial-gradient( circle at 88% 85%, rgba(218, 190, 150, .22), transparent 34% ), linear-gradient( 135deg, #F8F5EF 0%, #F1E9DC 48%, #E8DFD0 100% );
}

    /* =========================================
   SOFT CHAMPAGNE GLOW
========================================= */

    body::before,
    body::after {
        content: "";
        position: fixed;
        width: 380px;
        height: 380px;
        border-radius: 50%;
        filter: blur(100px);
        opacity: .20;
        pointer-events: none;
        z-index: 0;
    }

    body::before {
        background: #D9BC91;
        top: -180px;
        left: -160px;
        animation: orbMove1 11s ease-in-out infinite alternate;
    }

    body::after {
        background: #BFA16A;
        right: -160px;
        bottom: -180px;
        animation: orbMove2 13s ease-in-out infinite alternate;
    }

@keyframes orbMove1 {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(170px, 120px);
    }
}

@keyframes orbMove2 {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(-160px, -110px);
    }
}

/* =========================================
   FLOATING PARTICLES
========================================= */

.particles {
    position: fixed;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 1;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: rgba(165, 128, 72, .65);
    box-shadow: 0 0 10px rgba(191, 161, 106, .35);
    animation: particleMove linear infinite;
}

    .particle:nth-child(1) {
        left: 8%;
        animation-duration: 14s;
        animation-delay: -4s;
    }

    .particle:nth-child(2) {
        left: 20%;
        animation-duration: 18s;
        animation-delay: -8s;
    }

    .particle:nth-child(3) {
        left: 34%;
        animation-duration: 16s;
        animation-delay: -5s;
    }

    .particle:nth-child(4) {
        left: 50%;
        animation-duration: 20s;
        animation-delay: -10s;
    }

    .particle:nth-child(5) {
        left: 65%;
        animation-duration: 15s;
        animation-delay: -7s;
    }

    .particle:nth-child(6) {
        left: 79%;
        animation-duration: 19s;
        animation-delay: -11s;
    }

    .particle:nth-child(7) {
        left: 92%;
        animation-duration: 17s;
        animation-delay: -3s;
    }

@keyframes particleMove {
    0% {
        transform: translateY(110vh) translateX(0) scale(.4);
        opacity: 0;
    }

    15% {
        opacity: .65;
    }

    85% {
        opacity: .65;
    }

    100% {
        transform: translateY(-15vh) translateX(80px) scale(1.1);
        opacity: 0;
    }
}

/* =========================================
   LOGIN WRAPPER
========================================= */

.login-wrapper {
    min-height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    position: relative;
    z-index: 5;
}

/* =========================================
   PREMIUM IVORY GLASS CARD
========================================= */

.login-card {
    width: 410px;
    max-width: 100%;
    padding: 31px 32px 27px;
    border-radius: 24px;
    background: rgba(255, 253, 248, .78);
    border: 1px solid rgba(255, 255, 255, .90);
    box-shadow: 0 25px 65px rgba(101, 79, 45, .15), 0 5px 18px rgba(101, 79, 45, .06), inset 0 1px 1px rgba(255, 255, 255, .95);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    animation: cardEntrance .8s cubic-bezier(.2, .8, .2, 1);
    position: relative;
    overflow: hidden;
}

    /* Champagne top highlight */

    .login-card::before {
        content: "";
        position: absolute;
        top: 0;
        left: 12%;
        right: 12%;
        height: 2px;
        background: linear-gradient( 90deg, transparent, #BFA16A, #E5D1A8, #BFA16A, transparent );
        opacity: .95;
    }

@keyframes cardEntrance {
    from {
        opacity: 0;
        transform: translateY(30px) scale(.96);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* =========================================
   LOGO
========================================= */

.logo-area {
    text-align: center;
    margin-bottom: 23px;
}

.logo-circle {
    width: 70px;
    height: 70px;
    margin: 0 auto 14px;
    border-radius: 21px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: linear-gradient( 135deg, #DCC69B 0%, #B99A62 52%, #8F7040 100% );
    box-shadow: 0 12px 28px rgba(153, 119, 64, .22), inset 0 1px 1px rgba(255, 255, 255, .50);
    animation: logoFloat 4s ease-in-out infinite;
}

    .logo-circle::before {
        content: "";
        position: absolute;
        inset: -5px;
        border-radius: 25px;
        border: 1px solid rgba(174, 142, 87, .45);
        animation: logoPulse 2.8s infinite;
    }

    .logo-circle i {
        color: #FFFFFF;
        font-size: 29px;
        filter: drop-shadow(0 2px 3px rgba(70, 50, 20, .20));
    }

@keyframes logoFloat {
    0%, 100% {
        transform: translateY(0) rotate(-2deg);
    }

    50% {
        transform: translateY(-5px) rotate(2deg);
    }
}

@keyframes logoPulse {
    0% {
        transform: scale(.96);
        opacity: .65;
    }

    100% {
        transform: scale(1.28);
        opacity: 0;
    }
}

/* =========================================
   BRAND TEXT
========================================= */

.brand-title {
    margin: 0;
    color: #352D22;
    font-size: 23px;
    line-height: 1.2;
    font-weight: 750;
    letter-spacing: .2px;
}

.brand-subtitle {
    margin-top: 7px;
    color: #9A8159;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
}

/* =========================================
   INPUT CONTAINER
========================================= */

.input-box {
    position: relative;
    margin-bottom: 14px;
}

    .input-box .input-icon {
        position: absolute;
        left: 17px;
        top: 50%;
        transform: translateY(-50%);
        color: #A58B61;
        font-size: 14px;
        z-index: 3;
        transition: .25s ease;
    }

/* =========================================
   INPUT FIELDS
========================================= */

.login-input,
.database-select {
    width: 100%;
    height: 51px;
    border-radius: 13px;
    border: 1px solid #E5DCCB;
    background: rgba(255, 255, 255, .78);
    color: #3E3529;
    font-family: "Segoe UI", Arial, sans-serif;
    font-size: 13px;
    transition: border-color .25s ease, box-shadow .25s ease, background .25s ease;
}

.login-input {
    padding: 0 46px;
}

    .login-input::placeholder {
        color: #A89C89;
        opacity: 1;
    }

    .login-input:focus,
    .database-select:focus {
        outline: none;
        border-color: #B99A62;
        background: #FFFFFF;
        box-shadow: 0 0 0 3px rgba(191, 161, 106, .13), 0 5px 16px rgba(153, 119, 64, .07);
    }

.input-box:focus-within .input-icon {
    color: #9B7841;
}

/* =========================================
   DATABASE DROPDOWN
========================================= */

.database-select {
    padding: 0 15px 0 46px;
    appearance: auto;
    cursor: pointer;
}

    .database-select option {
        background: #FFFCF6;
        color: #3E3529;
    }

/* =========================================
   PASSWORD SHOW / HIDE
========================================= */

.password-toggle {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
    border: none;
    background: transparent;
    color: #A99A82;
    cursor: pointer;
    z-index: 5;
    border-radius: 8px;
    transition: .2s;
}

    .password-toggle:hover {
        color: #8D6D39;
        background: rgba(191, 161, 106, .12);
    }

/* =========================================
   LOGIN BUTTON
========================================= */

.login-button {
    width: 100%;
    height: 52px;
    margin-top: 5px;
    border: none;
    border-radius: 13px;
    color: #FFFFFF;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .8px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    background: linear-gradient( 110deg, #A7864E, #C4A66F, #8F7040, #B99A62 );
    background-size: 250% 100%;
    box-shadow: 0 9px 23px rgba(143, 112, 64, .23), inset 0 1px 0 rgba(255, 255, 255, .22);
    transition: transform .25s ease, box-shadow .25s ease;
    animation: buttonGradient 6s ease infinite;
}

@keyframes buttonGradient {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.login-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 29px rgba(143, 112, 64, .30), inset 0 1px 0 rgba(255, 255, 255, .22);
}

.login-button:active {
    transform: translateY(1px);
}

/* Button shine */

.login-button::before {
    content: "";
    position: absolute;
    top: 0;
    left: -110%;
    width: 65%;
    height: 100%;
    background: linear-gradient( 90deg, transparent, rgba(255, 255, 255, .28), transparent );
    transform: skewX(-20deg);
    animation: buttonShine 3.2s infinite;
}

@keyframes buttonShine {
    0% {
        left: -110%;
    }

    45%, 100% {
        left: 130%;
    }
}

/* =========================================
   FOOTER
========================================= */

.login-footer {
    text-align: center;
    margin-top: 19px;
    color: #A69A86;
    font-size: 10px;
    letter-spacing: .5px;
}

    .login-footer span {
        color: #786344;
    }

/* =========================================
   SMALL LAPTOP / SHORT SCREEN
========================================= */

@media (max-height: 700px) {
    .login-wrapper {
        padding: 12px;
    }

    .login-card {
        padding: 24px 30px 22px;
    }

    .logo-area {
        margin-bottom: 17px;
    }

    .logo-circle {
        width: 60px;
        height: 60px;
        margin-bottom: 10px;
    }

        .logo-circle i {
            font-size: 25px;
        }

    .brand-title {
        font-size: 21px;
    }

    .input-box {
        margin-bottom: 10px;
    }

    .login-input,
    .database-select {
        height: 48px;
    }

    .login-button {
        height: 49px;
    }
}

/* =========================================
   MOBILE
========================================= */

@media (max-width: 500px) {
    .login-wrapper {
        padding: 14px;
    }

    .login-card {
        width: 100%;
        padding: 27px 21px 23px;
        border-radius: 21px;
    }

    .logo-circle {
        width: 64px;
        height: 64px;
        border-radius: 19px;
    }

        .logo-circle i {
            font-size: 27px;
        }

    .brand-title {
        font-size: 21px;
    }

    .brand-subtitle {
        font-size: 9px;
        letter-spacing: 1.6px;
    }

    .login-input,
    .database-select {
        height: 50px;
    }

    .login-button {
        height: 51px;
    }
}

/* =========================================
   ACCESSIBILITY
========================================= */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
        scroll-behavior: auto !important;
    }
}

</style >
