.sig-login-body {
    min-height: 100vh;
    margin: 0;
    background: #6a1b9a;
    color: #333;
    font-family: Poppins, Arial, sans-serif;
    overflow-x: hidden;
}

.sig-login-page,
.sig-login-bg {
    min-height: 100vh;
}

.sig-login-page {
    position: relative;
    overflow: hidden;
}

.sig-login-bg,
.sig-login-bg-image,
.sig-login-bg-radial,
.sig-login-bg-gradient,
.sig-login-bg-sweep,
.sig-login-bg-shift {
    position: absolute;
    inset: 0;
}

.sig-login-bg {
    z-index: 0;
    overflow: hidden;
}

.sig-login-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform-origin: center;
    animation: sig-bg-drift 20s ease-in-out infinite;
}

.sig-login-bg-radial {
    background: radial-gradient(circle at 30% 70%, rgba(230, 0, 126, .8) 0%, rgba(164, 17, 124, .6) 40%, rgba(106, 27, 154, .9) 100%);
    animation: sig-overlay-pulse 8s ease-in-out infinite;
}

.sig-login-bg-gradient {
    background: linear-gradient(135deg, rgba(230, 0, 126, .48), rgba(242, 27, 131, .34) 45%, rgba(106, 27, 154, .58));
    animation: sig-gradient-pulse 6s ease-in-out infinite 1s;
}

.sig-login-bg-sweep {
    background: linear-gradient(32deg, transparent 5%, rgba(255, 255, 255, .05) 48%, transparent 78%);
    mix-blend-mode: screen;
    animation: sig-light-sweep 10s ease-in-out infinite;
}

.sig-login-bg-shift {
    width: 120%;
    left: -10%;
    background: linear-gradient(90deg, rgba(230, 0, 126, .2), transparent 35%, transparent 65%, rgba(106, 27, 154, .2));
    animation: sig-bg-shift 15s ease-in-out infinite;
}

.sig-login-particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.sig-login-particles i {
    position: absolute;
    left: var(--x);
    top: var(--y);
    width: var(--size);
    height: var(--size);
    border-radius: 999px;
    background: rgba(255, 255, 255, .25);
    box-shadow: 0 0 18px rgba(255, 255, 255, .22);
    backdrop-filter: blur(2px);
    animation: sig-particle-float var(--duration) ease-in-out infinite;
    animation-delay: var(--delay);
}

.sig-login-shell {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, 540px);
    gap: clamp(24px, 4vw, 88px);
    align-items: center;
    padding: clamp(28px, 4vw, 72px);
}

.sig-login-hero {
    min-height: calc(100vh - 144px);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    animation: sig-hero-enter .9s ease-out both .15s;
}

.sig-login-hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    transform-origin: center;
    transition: transform .3s ease;
}

.sig-login-hero-content:hover {
    transform: scale(1.035);
}

.sig-berh-mark {
    position: relative;
    width: clamp(180px, 18vw, 250px);
    margin-bottom: clamp(18px, 2vw, 28px);
    animation: sig-mark-enter 1.2s cubic-bezier(.2, .9, .2, 1.1) both .35s;
}

.sig-berh-mark::before,
.sig-berh-mark::after {
    content: "";
    position: absolute;
    border-radius: 999px;
    pointer-events: none;
}

.sig-berh-mark::before {
    inset: -34px;
    background: rgba(255, 255, 255, .25);
    filter: blur(28px);
    animation: sig-logo-glow 3s ease-in-out infinite;
}

.sig-berh-mark::after {
    inset: -22px;
    border: 2px solid rgba(255, 255, 255, .2);
    animation: sig-logo-ring 2s ease-out infinite;
}

.sig-berh-logo {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 18px 30px rgba(0, 0, 0, .28));
    animation: sig-logo-float 4s ease-in-out infinite;
}

.sig-login-hero h1 {
    margin: 0;
    color: #fff;
    font-size: clamp(34px, 4vw, 60px);
    line-height: 1.12;
    font-weight: 700;
    letter-spacing: 0;
    text-shadow: 0 0 20px rgba(255, 255, 255, .6), 0 0 42px rgba(230, 0, 126, .45), 0 8px 20px rgba(0, 0, 0, .18);
    animation: sig-title-glow 3s ease-in-out infinite, sig-title-enter .8s ease-out both .8s;
}

.sig-login-panel {
    width: min(100%, 480px);
    justify-self: center;
    animation: sig-panel-enter .9s ease-out both .25s;
}

.sig-login-card {
    position: relative;
    overflow: hidden;
    width: 100%;
    padding: clamp(30px, 3vw, 44px);
    border-radius: 8px;
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 25px 50px rgba(0, 0, 0, .18), 0 0 34px rgba(230, 0, 126, .14);
    backdrop-filter: blur(18px);
    transition: transform .3s ease, box-shadow .3s ease;
    animation: sig-card-shadow 4s ease-in-out infinite;
}

.sig-login-card:hover {
    transform: translateY(-5px);
}

.sig-login-card-shine {
    position: absolute;
    inset: 0;
    width: 55%;
    transform: translateX(-160%) skewX(-12deg);
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .35), transparent);
    animation: sig-card-shimmer 8s ease-in-out infinite 2s;
    pointer-events: none;
}

.sig-card-logo-wrap {
    display: flex;
    justify-content: center;
    margin-bottom: 22px;
}

.sig-card-logo {
    position: relative;
    width: 80px;
    height: 80px;
    animation: sig-orb-spin 4s linear infinite;
}

.sig-card-logo::before,
.sig-card-logo::after {
    content: "";
    position: absolute;
    border-radius: 999px;
    pointer-events: none;
}

.sig-card-logo::before {
    inset: -12px;
    background: linear-gradient(135deg, rgba(230, 0, 126, .4), rgba(106, 27, 154, .4));
    filter: blur(14px);
    animation: sig-orb-glow 2s ease-in-out infinite;
}

.sig-card-logo::after {
    inset: -8px;
    border: 2px solid rgba(230, 0, 126, .3);
    animation: sig-orb-ring 2s ease-out infinite;
}

.sig-card-logo img {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 999px;
    animation: sig-orb-pulse 2s ease-in-out infinite;
}

.sig-login-form {
    position: relative;
    z-index: 1;
    width: 100%;
}

.sig-login-heading {
    margin-bottom: 32px;
    text-align: center;
}

.sig-login-title-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 8px;
    animation: sig-heading-breathe 2s ease-in-out infinite;
}

.sig-login-title-row h2 {
    margin: 0;
    color: #333;
    font-size: 30px;
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: 0;
}

.sig-login-heading p {
    margin: 0;
    color: #666;
    font-size: 16px;
    line-height: 1.5;
}

.sig-login-note {
    margin-top: 8px;
    color: #777;
    font-size: 12px;
}

.sig-title-spark {
    display: inline-flex;
    width: 24px;
    height: 24px;
    color: #e6007e;
}

.sig-title-spark-purple {
    color: #6a1b9a;
}

.sig-title-spark svg,
.sig-input-icon svg,
.sig-password-toggle svg,
.sig-submit-arrow svg {
    display: block;
    width: 100%;
    height: 100%;
    fill: currentColor;
}

.sig-field {
    margin-bottom: 25px;
}

.sig-field label {
    display: block;
    margin-bottom: 10px;
    color: #333;
    font-size: 14px;
    line-height: 1.4;
    font-weight: 500;
}

.sig-input-wrap {
    position: relative;
    transition: transform .2s ease;
}

.sig-input-wrap:focus-within {
    transform: scale(1.02);
}

.sig-input-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    z-index: 2;
    width: 18px;
    height: 18px;
    color: #666;
    transform: translateY(-50%);
    transition: color .2s ease, transform .2s ease;
}

.sig-input-wrap:focus-within .sig-input-icon {
    color: #e6007e;
    transform: translateY(-50%) scale(1.1);
}

.sig-input.form-control {
    width: 100%;
    height: 54px;
    padding: 0 46px 0 48px;
    border: 2px solid #e3e5ea;
    border-radius: 8px;
    background: #fff;
    color: #333;
    font-size: 16px;
    line-height: 54px;
    box-shadow: none;
    outline: none;
    transition: border-color .25s ease, box-shadow .25s ease;
}

.sig-input.form-control::placeholder {
    color: #8a8f98;
}

.sig-input.form-control:focus {
    border-color: #e6007e;
    box-shadow: 0 0 0 3px rgba(230, 0, 126, .08);
}

.sig-password-toggle {
    position: absolute;
    right: 16px;
    top: 50%;
    z-index: 3;
    width: 22px;
    height: 22px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #666;
    transform: translateY(-50%);
    cursor: pointer;
    transition: color .2s ease, transform .2s ease;
}

.sig-password-toggle:hover,
.sig-password-toggle:focus {
    color: #e6007e;
    transform: translateY(-50%) scale(1.1);
}

.sig-password-toggle .sig-eye-off,
.sig-password-toggle.is-visible .sig-eye {
    display: none;
}

.sig-password-toggle.is-visible .sig-eye-off {
    display: block;
}

.sig-login-actions {
    margin-top: 8px;
}

.sig-submit-btn {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    width: 100%;
    height: 54px;
    overflow: hidden;
    border: 0;
    border-radius: 8px;
    background: #e6007e;
    color: #fff;
    font-family: Poppins, Arial, sans-serif;
    font-size: 16px;
    line-height: 1;
    font-weight: 700;
    box-shadow: 0 12px 22px rgba(230, 0, 126, .28);
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease;
}

.sig-submit-btn::before,
.sig-submit-btn::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.sig-submit-btn::before {
    background: linear-gradient(90deg, #e6007e, #f21b83, #6a1b9a);
    transform: translateX(-100%);
    transition: transform .45s ease;
}

.sig-submit-btn::after {
    width: 45%;
    transform: translateX(-150%) skewX(-12deg);
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .24), transparent);
    animation: sig-button-shine 5s ease-in-out infinite 1.5s;
}

.sig-submit-btn:hover,
.sig-submit-btn:focus {
    transform: scale(1.02);
    box-shadow: 0 16px 28px rgba(230, 0, 126, .32);
}

.sig-submit-btn:hover::before,
.sig-submit-btn:focus::before {
    transform: translateX(0);
}

.sig-submit-btn .indicator-label,
.sig-submit-btn .indicator-progress,
.sig-submit-arrow {
    position: relative;
    z-index: 1;
}

.sig-submit-arrow {
    width: 18px;
    height: 18px;
    animation: sig-arrow-nudge 1.5s ease-in-out infinite;
}

.sig-submit-btn .indicator-progress {
    display: none;
}

.sig-submit-btn.is-loading .indicator-label,
.sig-submit-btn.is-loading .sig-submit-arrow {
    display: none;
}

.sig-submit-btn.is-loading .indicator-progress {
    display: inline-flex;
    align-items: center;
}

.sig-login-links {
    display: grid;
    gap: 12px;
    justify-items: center;
    padding-top: 28px;
    color: #666;
    font-size: 13px;
}

.sig-login-links a,
.sig-login-links span {
    color: #666;
    text-decoration: none;
    transition: color .2s ease, transform .2s ease;
}

.sig-login-links a:hover,
.sig-login-links a:focus {
    color: #e6007e;
    transform: translateX(5px) scale(1.03);
}

.sig-login-links span {
    cursor: default;
}

.sig-login-form .alert {
    margin-bottom: 22px;
    border-radius: 8px;
    font-size: 13px;
}

@keyframes sig-bg-drift {
    0%, 100% {
        transform: scale(1) translateX(0);
    }
    50% {
        transform: scale(1.055) translateX(-10px);
    }
}

@keyframes sig-overlay-pulse {
    0%, 100% { opacity: .85; }
    50% { opacity: .96; }
}

@keyframes sig-gradient-pulse {
    0%, 100% { opacity: .62; }
    50% { opacity: .82; }
}

@keyframes sig-light-sweep {
    0%, 100% {
        opacity: 0;
        transform: rotate(0) scale(1);
    }
    50% {
        opacity: .35;
        transform: rotate(5deg) scale(1.08);
    }
}

@keyframes sig-bg-shift {
    0%, 100% {
        opacity: .32;
        transform: translateX(-5%);
    }
    50% {
        opacity: .62;
        transform: translateX(5%);
    }
}

@keyframes sig-particle-float {
    0%, 100% {
        opacity: .2;
        transform: translate(0, 0) scale(1) rotate(0);
    }
    50% {
        opacity: .9;
        transform: translate(var(--drift), -30px) scale(1.75) rotate(180deg);
    }
}

@keyframes sig-hero-enter {
    from {
        opacity: 0;
        transform: translateX(-80px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes sig-panel-enter {
    from {
        opacity: 0;
        transform: translateX(80px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes sig-mark-enter {
    from {
        opacity: 0;
        transform: scale(.5) rotate(-10deg);
    }
    to {
        opacity: 1;
        transform: scale(1) rotate(0);
    }
}

@keyframes sig-title-enter {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes sig-logo-glow {
    0%, 100% {
        opacity: .45;
        transform: scale(1);
    }
    50% {
        opacity: .75;
        transform: scale(1.28);
    }
}

@keyframes sig-logo-ring {
    0% {
        opacity: .8;
        transform: scale(.92);
    }
    100% {
        opacity: 0;
        transform: scale(1.22);
    }
}

@keyframes sig-logo-float {
    0%, 100% {
        transform: translateY(0) scale(1) rotate(0);
    }
    33% {
        transform: translateY(-8px) scale(1.02) rotate(1deg);
    }
    66% {
        transform: translateY(-2px) scale(1.01) rotate(-1deg);
    }
}

@keyframes sig-title-glow {
    0%, 100% {
        text-shadow: 0 0 20px rgba(255, 255, 255, .6), 0 0 40px rgba(230, 0, 126, .4), 0 8px 20px rgba(0, 0, 0, .18);
        transform: translateY(0);
    }
    50% {
        text-shadow: 0 0 30px rgba(255, 255, 255, .9), 0 0 50px rgba(230, 0, 126, .6), 0 8px 20px rgba(0, 0, 0, .18);
        transform: translateY(-2px);
    }
}

@keyframes sig-card-shadow {
    0%, 100% {
        box-shadow: 0 25px 50px rgba(0, 0, 0, .16), 0 0 30px rgba(230, 0, 126, .1);
    }
    50% {
        box-shadow: 0 25px 50px rgba(0, 0, 0, .24), 0 0 42px rgba(230, 0, 126, .2);
    }
}

@keyframes sig-card-shimmer {
    0%, 80% {
        transform: translateX(-170%) skewX(-12deg);
    }
    100% {
        transform: translateX(260%) skewX(-12deg);
    }
}

@keyframes sig-orb-spin {
    to { transform: rotate(360deg); }
}

@keyframes sig-orb-glow {
    0%, 100% {
        opacity: .55;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.28);
    }
}

@keyframes sig-orb-ring {
    0% {
        opacity: .6;
        transform: scale(.95);
    }
    100% {
        opacity: 0;
        transform: scale(1.4);
    }
}

@keyframes sig-orb-pulse {
    0%, 100% {
        filter: drop-shadow(0 0 10px rgba(230, 0, 126, .7));
        transform: scale(1);
    }
    50% {
        filter: drop-shadow(0 0 20px rgba(106, 27, 154, .9));
        transform: scale(1.1);
    }
}

@keyframes sig-heading-breathe {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.02); }
}

@keyframes sig-button-shine {
    0%, 62% { transform: translateX(-150%) skewX(-12deg); }
    100% { transform: translateX(260%) skewX(-12deg); }
}

@keyframes sig-arrow-nudge {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(3px); }
}

@media (max-width: 991px) {
    .sig-login-shell {
        grid-template-columns: 1fr;
        gap: 28px;
        align-content: center;
        padding: 28px 18px;
    }

    .sig-login-hero {
        min-height: auto;
    }

    .sig-berh-mark {
        width: 150px;
        margin-bottom: 14px;
    }

    .sig-login-hero h1 {
        font-size: 32px;
    }
}

@media (max-width: 560px) {
    .sig-login-card {
        padding: 28px 20px;
    }

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

    .sig-card-logo {
        width: 68px;
        height: 68px;
    }

    .sig-login-hero h1 {
        font-size: 28px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .sig-login-bg-image,
    .sig-login-bg-radial,
    .sig-login-bg-gradient,
    .sig-login-bg-sweep,
    .sig-login-bg-shift,
    .sig-login-particles i,
    .sig-login-hero,
    .sig-login-panel,
    .sig-berh-mark,
    .sig-berh-logo,
    .sig-login-hero h1,
    .sig-login-card,
    .sig-login-card-shine,
    .sig-card-logo,
    .sig-card-logo::before,
    .sig-card-logo::after,
    .sig-card-logo img,
    .sig-login-title-row,
    .sig-submit-btn::after,
    .sig-submit-arrow {
        animation: none !important;
    }
}
