/* subset */
.grid {
    display: grid
}

.list-item {
    transition: background .15s
}

.list-item:hover {
    background: #fafafa
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin: 8px 0
}

.form-label {
    font-size: 13px;
    color: #374151
}

.form-input {
    padding: 8px 10px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 14px
}

.toast-container {
    position: fixed;
    right: 14px;
    bottom: 14px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    z-index: 10001
}

.toast {
    background: #111827;
    color: #fff;
    border-radius: 10px;
    padding: 10px 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .2)
}
/* Toasts */
#toast-container { position: fixed; right: 16px; bottom: 16px; display: flex; flex-direction: column; gap: 8px; z-index: 9999; }
.toast { background: rgba(0,0,0,0.85); color: #fff; padding: 10px 12px; border-radius: 6px; box-shadow: 0 6px 18px rgba(0,0,0,0.2); transition: opacity .2s ease, transform .2s ease; transform: translateY(0); }
.toast.hide { opacity: 0; transform: translateY(8px); }
.toast.success { background: #166534; }
.toast.error { background: #991b1b; }
.toast.warn { background: #92400e; }
.toast.info { background: #1e40af; }

/* Dropdown */
.dropdown-menu { position: absolute; top: 100%; right: 0; background: #fff; border: 1px solid var(--border-color, #e5e7eb); box-shadow: 0 10px 20px rgba(0,0,0,0.08); border-radius: 8px; padding: 6px; min-width: 180px; display: none; z-index: 1000; }
.dropdown-menu.open { display: block; }
.dropdown-item { width: 100%; display: block; text-align: left; padding: 8px 10px; border: none; background: transparent; color: inherit; cursor: pointer; text-decoration: none; border-radius: 6px; }
.dropdown-item:hover { background: #f3f4f6; }
