:root {
    --app-bg: #f1f3f6;
    --app-nav: #1e293b;
    --app-accent: #4f46e5;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "Noto Sans", system-ui, sans-serif;
    background: var(--app-bg);
    color: #1f2937;
    min-height: 100vh;
}

.app-nav {
    background: linear-gradient(135deg, #1e293b, #312e81);
}

.login-card {
    margin-top: 4rem;
    border-radius: 1rem;
}

.login-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #eef2ff;
    color: var(--app-accent);
    font-size: 1.4rem;
}

.btn-primary {
    background: linear-gradient(135deg, #4f46e5, #2563eb);
    border: none;
}

.btn-primary:hover,
.btn-primary:focus {
    background: linear-gradient(135deg, #4338ca, #1d4ed8);
    border: none;
}

.toast-host {
    position: fixed;
    top: 1rem;
    right: 1rem;
    z-index: 2000;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.app-toast {
    min-width: 240px;
    max-width: 360px;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    color: #fff;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.18);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.app-toast.hide {
    opacity: 0;
    transform: translateY(-6px);
}

.app-toast-ok {
    background: linear-gradient(to right, #00b09b, #96c93d);
}

.app-toast-err {
    background: linear-gradient(to right, #f06548, #f06748);
}
