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

body {
    font-family: 'Inter', sans-serif;
    color: #0f172a;
}

.login-page {
    background: #fff;
}

.login-panel {
    z-index: 10;
    width: 100%;
    padding: 3rem 1.5rem;
}

.login-form-container {
    max-width: 24rem;
}

.company-logo {
    display: block;
    width: auto;
    height: 3rem;
    max-width: 100%;
    object-fit: contain;
}

.brand-mark {
    width: 2.5rem;
    height: 2.5rem;
    background: #4f46e5;
}

.brand-title {
    color: #0f172a;
    font-size: 1.5rem;
    letter-spacing: -.025em;
}

.login-title {
    color: #0f172a;
    font-size: 1.875rem;
    letter-spacing: -.025em;
}

.login-subtitle {
    color: #64748b;
    font-size: .875rem;
}

.form-label {
    margin-bottom: .5rem;
    color: #0f172a;
    font-size: .875rem;
}

.login-control {
    min-height: 3rem;
    padding: .75rem 1rem;
    border-color: #cbd5e1;
    border-radius: .75rem;
    color: #0f172a;
    font-size: .875rem;
    box-shadow: 0 1px 2px rgba(15, 23, 42, .05);
    transition: border-color .2s ease, box-shadow .2s ease;
}

.login-control::placeholder {
    color: #94a3b8;
}

.login-control:focus {
    border-color: #4f46e5;
    box-shadow: 0 0 0 .25rem rgba(79, 70, 229, .18);
}

.login-link {
    color: #4f46e5;
    transition: color .2s ease;
}

.login-link:hover,
.login-link:focus {
    color: #6366f1;
}

.login-submit {
    padding: .875rem .75rem;
    border: 1px solid #0f172a;
    border-radius: .75rem;
    background: #0f172a;
    color: #fff;
    font-size: .875rem;
    transition: background-color .2s ease, border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.login-submit:hover,
.login-submit:focus,
.login-submit:active {
    border-color: #1e293b !important;
    background: #1e293b !important;
    color: #fff !important;
    box-shadow: 0 .75rem 1.5rem rgba(15, 23, 42, .18) !important;
}

.login-submit:focus-visible {
    outline: 2px solid #0f172a;
    outline-offset: 2px;
}

.alert-icon {
    width: 1.25rem;
    height: 1.25rem;
    margin-top: .125rem;
}

.login-visual {
    flex: 1 1 0;
    min-width: 0;
    background: #0f172a;
}

.visual-gradient {
    z-index: 0;
    background: linear-gradient(135deg, #312e81 0%, #0f172a 55%, #000 100%);
    opacity: .9;
}

.bg-grid-pattern {
    z-index: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 0h40v40H0V0zm20 20h20v20H20V20zM0 20h20v20H0V20z' fill='%23ffffff' fill-opacity='0.03' fill-rule='evenodd'/%3E%3C/svg%3E");
}

.visual-orb {
    z-index: 0;
}

.visual-orb-primary {
    top: 20%;
    right: 10%;
    width: 25rem;
    height: 25rem;
    background: rgba(79, 70, 229, .2);
    filter: blur(100px);
}

.visual-orb-secondary {
    bottom: 20%;
    left: 10%;
    width: 18.75rem;
    height: 18.75rem;
    background: rgba(6, 182, 212, .1);
    filter: blur(80px);
}

.visual-content {
    z-index: 10;
}

.visual-logo-wrap {
    width: 14rem;
    height: 14rem;
}

.visual-logo-glow {
    background: rgba(59, 130, 246, .2);
    filter: blur(40px);
}

.visual-logo {
    z-index: 1;
    object-fit: contain;
    filter: drop-shadow(0 25px 25px rgba(0, 0, 0, .3));
}

.visual-title {
    font-size: 2.25rem;
    line-height: 1.2;
    letter-spacing: -.025em;
}

.visual-title span {
    color: #60a5fa;
}

.visual-copy {
    max-width: 28rem;
    color: #cbd5e1;
    font-size: 1.125rem;
    line-height: 1.625;
}

.visual-footer {
    bottom: 2rem;
    z-index: 10;
    color: #64748b;
}

@keyframes float {
    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-12px);
    }
}

.animate-float {
    animation: float 6s ease-in-out infinite;
}

@media (min-width: 992px) {
    .login-panel {
        flex: 0 0 50%;
        width: 50%;
        padding-right: 5rem;
        padding-left: 5rem;
    }
}

@media (min-width: 1200px) {
    .login-panel {
        padding-right: 8rem;
        padding-left: 8rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .animate-float {
        animation: none;
    }
}
