:root {
    --brand-primary: #2563eb;
    --brand-bg: #f8fafc;
    --card-bg: #ffffff;
    --text-color: #1e293b;
    --border-color: #e2e8f0;
}

.brokers-wrapper {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: var(--text-color);
    background-color: var(--brand-bg);
    min-height: 100vh;
    display: flex;
}

.brokers-sidebar {
    width: 260px;
    background: #0f172a;
    color: #fff;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.brokers-content {
    flex: 1;
    padding: 2rem;
}

.brokers-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    margin-bottom: 1.5rem;
}

.badge-status {
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}
.badge-disponible { background: #dcfce7; color: #15803d; }
.badge-apartado { background: #fef9c3; color: #a16207; }
.badge-vendido { background: #fee2e2; color: #b91c1c; }


#brokers-toast-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 99999;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.brokers-toast {
    min-width: 280px;
    padding: 14px 18px;
    border-radius: 8px;
    background: #0f172a;
    color: #fff;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: space-between;
    animation: slideIn 0.3s ease-out forwards;
}

.brokers-toast.success { border-left: 4px solid #22c55e; }
.brokers-toast.error { border-left: 4px solid #ef4444; }
.brokers-toast.info { border-left: 4px solid #3b82f6; }

@keyframes slideIn {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}