.auth-container {
    min-height: 100vh;
    background: #0e0f14;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    position: relative;
    overflow: hidden;
}

.auth-container::before {
    content: '';
    position: absolute;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(88, 101, 242, 0.14) 0%, transparent 65%);
    top: -250px;
    left: -200px;
    border-radius: 50%;
    animation: orb1 22s ease-in-out infinite alternate;
    pointer-events: none;
}

.auth-container::after {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(124, 77, 255, 0.10) 0%, transparent 65%);
    bottom: -200px;
    right: -150px;
    border-radius: 50%;
    animation: orb2 28s ease-in-out infinite alternate;
    pointer-events: none;
}

@keyframes orb1 {
    from { transform: translate(0, 0) scale(1); }
    to   { transform: translate(80px, 60px) scale(1.15); }
}

@keyframes orb2 {
    from { transform: translate(0, 0) scale(1); }
    to   { transform: translate(-70px, -50px) scale(1.1); }
}

.auth-card {
    width: 100%;
    max-width: 460px;
    padding: 40px 44px;
    background: rgba(22, 23, 30, 0.92) !important;
    border: 1px solid rgba(255, 255, 255, 0.07) !important;
    border-top: 3px solid #5865f2 !important;
    border-radius: 16px !important;
    box-shadow: 0 32px 64px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255,255,255,0.03) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    position: relative;
    z-index: 1;
    animation: card-enter 0.45s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes card-enter {
    from {
        opacity: 0;
        transform: translateY(24px) scale(0.97);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.auth-header {
    text-align: center;
    margin-bottom: 32px;
}

.auth-logo {
    display: flex;
    justify-content: center;
    margin-bottom: 16px;
}

.auth-logo svg {
    filter: drop-shadow(0 4px 16px rgba(88, 101, 242, 0.5));
}

.auth-title {
    color: #f2f3f5 !important;
    font-weight: 700 !important;
    margin-bottom: 6px !important;
    letter-spacing: -0.3px;
}

.auth-subtitle {
    color: #72767d !important;
    font-size: 14px !important;
}

.auth-divider {
    border: none;
    border-top: 1px solid rgba(255,255,255,0.07);
    margin: 0 0 24px;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.auth-input .mud-input-root-filled,
.auth-input .mud-input-slot,
.auth-input .mud-input-control {
    background-color: #1e2028 !important;
}

.auth-input .mud-input-control {
    border: 1px solid rgba(255,255,255,0.1) !important;
    border-radius: 8px !important;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.auth-input .mud-input-root-filled::before,
.auth-input .mud-input-root-filled::after {
    border-color: transparent !important;
}

.auth-input .mud-input-control:hover {
    border-color: rgba(88, 101, 242, 0.5) !important;
}

.auth-input .mud-input-control.mud-input-control-focused,
.auth-input:focus-within .mud-input-control {
    border-color: #5865f2 !important;
    box-shadow: 0 0 0 3px rgba(88, 101, 242, 0.18) !important;
}

.auth-input .mud-input,
.auth-input input,
.auth-input textarea {
    color: #f2f3f5 !important;
    caret-color: #f2f3f5;
}

.auth-input .mud-input-label {
    color: #72767d !important;
    font-size: 13px !important;
    font-weight: 500 !important;
}

.auth-input .mud-input-label.mud-input-label-inputcontrol {
    color: #b9bbbe !important;
}

.auth-button {
    height: 46px !important;
    margin-top: 4px;
    background: linear-gradient(135deg, #5865f2 0%, #4752c4 100%) !important;
    font-weight: 600 !important;
    font-size: 15px !important;
    letter-spacing: 0.2px;
    border-radius: 8px !important;
    box-shadow: 0 4px 16px rgba(88, 101, 242, 0.35) !important;
    transition: transform 0.15s, box-shadow 0.15s, background 0.2s !important;
}

.auth-button:hover:not(:disabled) {
    background: linear-gradient(135deg, #6872f3 0%, #5865f2 100%) !important;
    box-shadow: 0 6px 20px rgba(88, 101, 242, 0.5) !important;
    transform: translateY(-1px);
}

.auth-button:active:not(:disabled) {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(88, 101, 242, 0.3) !important;
}

.auth-footer {
    margin-top: 4px;
}

.auth-footer-text {
    color: #72767d;
    text-align: center;
    font-size: 14px;
}

.auth-link {
    color: #5865f2 !important;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.15s;
}

.auth-link:hover {
    color: #7289da !important;
    text-decoration: underline;
}

.auth-error {
    margin: 4px 0;
    border-radius: 8px !important;
}

.auth-success {
    text-align: center;
    background: rgba(22, 23, 30, 0.92);
    border: 1px solid rgba(255,255,255,0.07);
    border-top: 3px solid #00b894;
    padding: 48px 40px;
    border-radius: 16px;
    box-shadow: 0 32px 64px rgba(0, 0, 0, 0.5);
    animation: card-enter 0.45s cubic-bezier(0.16, 1, 0.3, 1) both;
    position: relative;
    z-index: 1;
}