/* ── Nur was Tailwind nicht abdeckt ──────────────────────────────────────── */

/* Toast Animation */
@keyframes toast-in {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0); }
}

.toast-container {
    position: fixed;
    bottom: 16px;
    right: 16px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.toast {
    padding: 10px 16px;
    border-radius: 6px;
    font-size: 13px;
    min-width: 220px;
    max-width: 380px;
    animation: toast-in 0.2s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.toast-success { background: #dcfce7; border: 1px solid #16a34a; color: #15803d; }
.toast-error   { background: #fee2e2; border: 1px solid #dc2626; color: #dc2626; }
.toast-info    { background: #dbeafe; border: 1px solid #2563eb; color: #1d4ed8; }

/* Progress Bar (display:none default, JS steuert es) */
.progress-bar-wrapper {
    height: 6px;
    background: #e5e7eb;
    border-radius: 3px;
    margin-top: 6px;
    display: none;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: #2563eb;
    width: 0%;
    transition: width 0.2s;
    border-radius: 3px;
}

/* Drop-Zone */
.drop-zone {
    border: 2px dashed #d1d5db;
    background: #f9fafb;
    padding: 32px;
    text-align: center;
    cursor: pointer;
    border-radius: 8px;
    transition: border-color 0.15s, background 0.15s;
    margin-bottom: 12px;
}

.drop-zone:hover,
.drop-zone.drag-over {
    border-color: #2563eb;
    background: #eff6ff;
}

/* Sidebar active link */
.sidebar-link {
    display: flex;
    align-items: center;
    padding: 8px 16px 8px 20px;
    font-size: 13px;
    color: #374151;
    text-decoration: none;
    border-left: 3px solid transparent;
    transition: background 0.1s;
}

.sidebar-link:hover {
    background: #eff6ff;
    color: #2563eb;
    text-decoration: none;
}

.sidebar-link.active {
    border-left-color: #2563eb;
    background: #eff6ff;
    color: #2563eb;
    font-weight: 600;
}

/* Role checkboxes */
.role-checkbox {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    font-size: 13px;
    padding: 0;
    height: 32px;
    width: 105px;
    flex-shrink: 0;
    border: 1px solid #d1d5db;
    border-radius: 4px;
    background: #f9fafb;
    cursor: pointer;
    user-select: none;
    transition: background 0.1s, border-color 0.1s;
}

.role-checkbox:hover {
    background: #eff6ff;
    border-color: #2563eb;
}

.role-checkbox--disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.role-checkbox--disabled:hover {
    background: #f9fafb;
    border-color: #d1d5db;
}

/* Copy link */
.copy-link {
    cursor: pointer;
    color: #2563eb;
    font-size: 12px;
}

.copy-link:hover { text-decoration: underline; }

/* Token display */
.token-display {
    font-family: 'Courier New', monospace;
    font-size: 11px;
    background: #f3f4f6;
    border: 1px solid #d1d5db;
    border-radius: 4px;
    padding: 4px 8px;
    word-break: break-all;
}
